Home
last modified time | relevance | path

Searched refs:ssh_digest_bytes (Results 1 – 17 of 17) sorted by relevance

/external/openssh/
Dkexgex.c65 if (*hashlen < ssh_digest_bytes(SSH_DIGEST_SHA1)) in kexgex_hash()
98 *hashlen = ssh_digest_bytes(hash_alg); in kexgex_hash()
Dssh-ecdsa.c71 (dlen = ssh_digest_bytes(hash_alg)) == 0) in ssh_ecdsa_sign()
133 (dlen = ssh_digest_bytes(hash_alg)) == 0) in ssh_ecdsa_verify()
Dssh-dss.c58 size_t rlen, slen, len, dlen = ssh_digest_bytes(SSH_DIGEST_SHA1); in ssh_dss_sign()
127 size_t len, dlen = ssh_digest_bytes(SSH_DIGEST_SHA1); in ssh_dss_verify()
Dkexsntrup4591761x25519.c140 ssh_digest_bytes(kex->hash_alg))) != 0) in kex_kem_sntrup4591761x25519_enc()
204 ssh_digest_bytes(kex->hash_alg))) != 0) in kex_kem_sntrup4591761x25519_dec()
Dhmac.c41 return ssh_digest_bytes(alg); in ssh_hmac_bytes()
111 len = ssh_digest_bytes(ctx->alg); in ssh_hmac_final()
Dssh-rsa.c197 if ((dlen = ssh_digest_bytes(hash_alg)) == 0) in ssh_rsa_sign()
315 if ((dlen = ssh_digest_bytes(hash_alg)) == 0) { in ssh_rsa_verify()
416 hlen = ssh_digest_bytes(hash_alg); in openssh_RSA_verify()
Ddigest.h42 size_t ssh_digest_bytes(int alg);
Dkexgen.c63 if (*hashlen < ssh_digest_bytes(hash_alg)) in kex_gen_hash()
91 *hashlen = ssh_digest_bytes(hash_alg); in kex_gen_hash()
Dsshsig.c410 if ((hex = tohex(hash, ssh_digest_bytes(alg))) != NULL) { in hash_buffer()
418 if ((r = sshbuf_put(b, hash, ssh_digest_bytes(alg))) != 0) { in hash_buffer()
537 if ((hex = tohex(hash, ssh_digest_bytes(alg))) != NULL) { in hash_file()
545 if ((r = sshbuf_put(b, hash, ssh_digest_bytes(alg))) != 0) { in hash_file()
Ddigest-openssl.c100 ssh_digest_bytes(int alg) in ssh_digest_bytes() function
Ddigest-libc.c148 ssh_digest_bytes(int alg) in ssh_digest_bytes() function
Dsshkey.c998 if (ssh_digest_bytes(dgst_alg) == 0) { in sshkey_fingerprint_raw()
1018 *lenp = ssh_digest_bytes(dgst_alg); in sshkey_fingerprint_raw()
2004 ssh_digest_bytes(SSHKEY_SHIELD_PREKEY_HASH)) { in sshkey_shield_private()
2021 sshbuf_dump_data(keyiv, ssh_digest_bytes(SSHKEY_SHIELD_PREKEY_HASH), in sshkey_shield_private()
2119 ssh_digest_bytes(SSHKEY_SHIELD_PREKEY_HASH)) { in sshkey_unshield_private()
2140 sshbuf_dump_data(keyiv, ssh_digest_bytes(SSHKEY_SHIELD_PREKEY_HASH), in sshkey_unshield_private()
Dauth2.c228 size_t len = ssh_digest_bytes(SSH_DIGEST_SHA512); in user_specific_delay()
Dhostfile.c127 len = ssh_digest_bytes(SSH_DIGEST_SHA1); in host_hash()
Dkex.c1005 if ((mdsz = ssh_digest_bytes(kex->hash_alg)) == 0) in derive_key()
Dsshd.c1452 len = ssh_digest_bytes(SSH_DIGEST_SHA512);
Dreadconf.c342 return tohex(conn_hash, ssh_digest_bytes(SSH_DIGEST_SHA1)); in ssh_connection_hash()