/openssh-portable/ |
H A D | xmss_hash.c | 41 int core_hash_SHA2(unsigned char *out, const unsigned int type, const unsigned char *key, unsigned … in core_hash_SHA2() 74 int prf(unsigned char *out, const unsigned char *in, const unsigned char *key, unsigned int keylen) in prf() 82 …d char *out, const unsigned char *in, unsigned long long inlen, const unsigned char *key, const un… in h_msg() 98 unsigned char key[n]; in hash_h() local 122 unsigned char key[n]; in hash_f() local
|
H A D | auth2-pubkey.c | 78 format_key(const struct sshkey *key) in format_key() 94 struct sshkey *key = NULL; in userauth_pubkey() local 438 const struct sshkey *key, struct sshauthopt **authoptsp) in match_principals_command() 575 check_authkey_line(struct ssh *ssh, struct passwd *pw, struct sshkey *key, in check_authkey_line() 715 char *file, struct sshkey *key, struct sshauthopt **authoptsp) in check_authkeys_file() 746 user_cert_trusted_ca(struct ssh *ssh, struct passwd *pw, struct sshkey *key, in user_cert_trusted_ca() 851 user_key_allowed2(struct ssh *ssh, struct passwd *pw, struct sshkey *key, in user_key_allowed2() 880 struct sshkey *key, struct sshauthopt **authoptsp) in user_key_command_allowed2() 1011 user_key_allowed(struct ssh *ssh, struct passwd *pw, struct sshkey *key, in user_key_allowed()
|
H A D | authfile.c | 68 sshkey_save_private(struct sshkey *key, const char *filename, in sshkey_save_private() 322 struct sshkey *key = NULL, *cert = NULL; in sshkey_load_private_cert() local 376 sshkey_in_file(struct sshkey *key, const char *filename, int strict_type, in sshkey_in_file() 443 sshkey_check_revoked(struct sshkey *key, const char *revoked_keys_file) in sshkey_check_revoked() 493 sshkey_save_public(const struct sshkey *key, const char *path, in sshkey_save_public()
|
H A D | auth2-hostbased.c | 64 struct sshkey *key = NULL; in userauth_hostbased() local 172 const char *cuser, char *chost, struct sshkey *key) in hostbased_key_allowed()
|
H A D | sshkey-xmss.c | 95 sshkey_xmss_init(struct sshkey *key, const char *name) in sshkey_xmss_init() 138 sshkey_xmss_free_state(struct sshkey *key) in sshkey_xmss_free_state() 164 sshkey_xmss_init_bds_state(struct sshkey *key) in sshkey_xmss_init_bds_state() 190 sshkey_xmss_free_bds(struct sshkey *key) in sshkey_xmss_free_bds() 213 sshkey_xmss_params(const struct sshkey *key) in sshkey_xmss_params() 223 sshkey_xmss_bds_state(const struct sshkey *key) in sshkey_xmss_bds_state() 233 sshkey_xmss_siglen(const struct sshkey *key, size_t *lenp) in sshkey_xmss_siglen() 248 sshkey_xmss_pklen(const struct sshkey *key) in sshkey_xmss_pklen() 258 sshkey_xmss_sklen(const struct sshkey *key) in sshkey_xmss_sklen() 897 u_char *cp, *key, *iv = NULL; in sshkey_xmss_encrypt_state() local [all …]
|
H A D | ssh-sk.c | 196 struct sshkey *key = NULL; in sshsk_ecdsa_assemble() local 251 struct sshkey *key = NULL; in sshsk_ed25519_assemble() local 284 struct sshkey *key = NULL; in sshsk_key_from_response() local 455 struct sshkey *key = NULL; in sshsk_enroll() local 623 sshsk_sign(const char *provider_path, struct sshkey *key, in sshsk_sign() 754 struct sshkey *key = NULL, **keys = NULL, **tmp; in sshsk_load_resident() local
|
H A D | ssh-ed25519.c | 36 ssh_ed25519_sign(const struct sshkey *key, u_char **sigp, size_t *lenp, in ssh_ed25519_sign() 93 ssh_ed25519_verify(const struct sshkey *key, in ssh_ed25519_verify()
|
H A D | ssh-ecdsa.c | 50 ssh_ecdsa_sign(const struct sshkey *key, u_char **sigp, size_t *lenp, in ssh_ecdsa_sign() 114 ssh_ecdsa_verify(const struct sshkey *key, in ssh_ecdsa_verify()
|
H A D | ssh-xmss.c | 39 ssh_xmss_sign(const struct sshkey *key, u_char **sigp, size_t *lenp, in ssh_xmss_sign() 113 ssh_xmss_verify(const struct sshkey *key, in ssh_xmss_verify()
|
H A D | authfd.c | 358 ssh_agent_has_key(int sock, const struct sshkey *key) in ssh_agent_has_key() 389 agent_encode_alg(const struct sshkey *key, const char *alg) in agent_encode_alg() 404 ssh_agent_sign(int sock, const struct sshkey *key, in ssh_agent_sign() 496 ssh_add_identity_constrained(int sock, struct sshkey *key, in ssh_add_identity_constrained() 555 ssh_remove_identity(int sock, const struct sshkey *key) in ssh_remove_identity()
|
H A D | sshkey.c | 911 sshkey_putb(const struct sshkey *key, struct sshbuf *b) in sshkey_putb() 933 sshkey_puts(const struct sshkey *key, struct sshbuf *b) in sshkey_puts() 1497 sshkey_to_base64(const struct sshkey *key, char **b64p) in sshkey_to_base64() 1543 sshkey_write(const struct sshkey *key, FILE *f) in sshkey_write() 2341 struct sshkey *key = NULL; in sshkey_from_blob_internal() local 2727 sshkey_sign(struct sshkey *key, in sshkey_sign() 2791 sshkey_verify(const struct sshkey *key, in sshkey_verify() 3799 sshkey_ec_validate_private(const EC_KEY *key) in sshkey_ec_validate_private() 3867 sshkey_dump_ec_key(const EC_KEY *key) in sshkey_dump_ec_key() 3887 u_char *cp, *key = NULL, *pubkeyblob = NULL; in sshkey_private_to_blob2() local [all …]
|
H A D | ssh-dss.c | 52 ssh_dss_sign(const struct sshkey *key, u_char **sigp, size_t *lenp, in ssh_dss_sign() 120 ssh_dss_verify(const struct sshkey *key, in ssh_dss_verify()
|
H A D | ssh-keysign.c | 69 struct sshkey *key = NULL; in valid_request() local 169 struct sshkey *keys[NUM_KEYTYPES], *key = NULL; in main() local
|
H A D | ssh-sk-client.c | 230 sshsk_sign(const char *provider, struct sshkey *key, in sshsk_sign() 308 struct sshkey *key = NULL; in sshsk_enroll() local 384 struct sshkey *key = NULL, **keys = NULL, **tmp; in sshsk_load_resident() local
|
H A D | krl.c | 367 plain_key_blob(const struct sshkey *key, u_char **blob, size_t *blen) in plain_key_blob() 404 ssh_krl_revoke_key_explicit(struct ssh_krl *krl, const struct sshkey *key) in ssh_krl_revoke_key_explicit() 452 ssh_krl_revoke_key(struct ssh_krl *krl, const struct sshkey *key) in ssh_krl_revoke_key() 988 struct sshkey *key = NULL, **ca_used = NULL, **tmp_ca_used; in ssh_krl_from_blob() local 1217 is_cert_revoked(const struct sshkey *key, struct revoked_certs *rc) in is_cert_revoked() 1251 is_key_revoked(struct ssh_krl *krl, const struct sshkey *key) in is_key_revoked() 1314 ssh_krl_check_key(struct ssh_krl *krl, const struct sshkey *key) in ssh_krl_check_key() 1331 ssh_krl_file_contains_key(const char *path, const struct sshkey *key) in ssh_krl_file_contains_key() 1358 struct sshkey *key = NULL; in krl_dump() local
|
H A D | ssh-ecdsa-sk.c | 55 ssh_ecdsa_sk_verify(const struct sshkey *key, in ssh_ecdsa_sk_verify() 142 ssh_ecdsa_sk_verify(const struct sshkey *key, in ssh_ecdsa_sk_verify()
|
H A D | ssh-rsa.c | 109 ssh_rsa_complete_crt_parameters(struct sshkey *key, const BIGNUM *iqmp) in ssh_rsa_complete_crt_parameters() 164 ssh_rsa_sign(const struct sshkey *key, u_char **sigp, size_t *lenp, in ssh_rsa_sign() 245 ssh_rsa_verify(const struct sshkey *key, in ssh_rsa_verify()
|
H A D | dns.c | 81 u_char **digest, size_t *digest_len, struct sshkey *key) in dns_read_key() 318 export_dns_rr(const char *hostname, struct sshkey *key, FILE *f, int generic) in export_dns_rr()
|
H A D | hmac.c | 66 ssh_hmac_init(struct ssh_hmac_ctx *ctx, const void *key, size_t klen) in ssh_hmac_init() 142 hmac_test(void *key, size_t klen, void *m, size_t mlen, u_char *e, size_t elen) in hmac_test()
|
H A D | mac.h | 35 u_char *key; member
|
H A D | ssh-sk-helper.c | 96 struct sshkey *key = NULL; in process_sign() local 157 struct sshkey *key; in process_enroll() local
|
H A D | ssh-ed25519-sk.c | 39 ssh_ed25519_sk_verify(const struct sshkey *key, in ssh_ed25519_sk_verify()
|
H A D | hostfile.h | 29 struct sshkey *key; member 101 struct sshkey *key; /* Key, if parsed ok and HKF_WANT_MATCH_HOST set */ member
|
H A D | sshsig.c | 153 sshsig_wrap_sign(struct sshkey *key, const char *hashalg, in sshsig_wrap_sign() 295 struct sshkey *key = NULL; in sshsig_wrap_verify() local 432 sshsig_signb(struct sshkey *key, const char *hashalg, in sshsig_signb() 559 sshsig_sign_fd(struct sshkey *key, const char *hashalg, in sshsig_sign_fd() 690 struct sshkey *key = NULL; in parse_principals_key_and_options() local
|
/openssh-portable/regress/misc/fuzz-harness/ |
H A D | ssh-sk-null.cc | 37 sshsk_sign(const char *provider_path, struct sshkey *key, in sshsk_sign()
|