Searched refs:ssh_digest_bytes (Results 1 – 18 of 18) sorted by relevance
| /freebsd/crypto/openssh/ |
| H A D | kexgex.c | 65 if (*hashlen < ssh_digest_bytes(SSH_DIGEST_SHA1)) in kexgex_hash() 98 *hashlen = ssh_digest_bytes(hash_alg); in kexgex_hash()
|
| H A D | hmac.c | 40 return ssh_digest_bytes(alg); in ssh_hmac_bytes() 110 len = ssh_digest_bytes(ctx->alg); in ssh_hmac_final()
|
| H A D | kexsntrup761x25519.c | 146 ssh_digest_bytes(kex->hash_alg))) != 0) in kex_kem_sntrup761x25519_enc() 210 ssh_digest_bytes(kex->hash_alg))) != 0) in kex_kem_sntrup761x25519_dec()
|
| H A D | digest.h | 42 size_t ssh_digest_bytes(int alg);
|
| H A D | kexmlkem768x25519.c | 165 ssh_digest_bytes(kex->hash_alg))) != 0) in kex_kem_mlkem768x25519_enc() 241 ssh_digest_bytes(kex->hash_alg))) != 0) in kex_kem_mlkem768x25519_dec()
|
| H A D | kexgen.c | 63 if (*hashlen < ssh_digest_bytes(hash_alg)) in kex_gen_hash() 91 *hashlen = ssh_digest_bytes(hash_alg); in kex_gen_hash()
|
| H A D | sshsig.c | 425 if ((hex = tohex(hash, ssh_digest_bytes(alg))) != NULL) { in hash_buffer() 433 if ((r = sshbuf_put(b, hash, ssh_digest_bytes(alg))) != 0) { in hash_buffer() 550 if ((hex = tohex(hash, ssh_digest_bytes(alg))) != NULL) { in hash_file() 558 if ((r = sshbuf_put(b, hash, ssh_digest_bytes(alg))) != 0) { in hash_file()
|
| H A D | digest-openssl.c | 100 ssh_digest_bytes(int alg) in ssh_digest_bytes() function
|
| H A D | digest-libc.c | 157 ssh_digest_bytes(int alg) in ssh_digest_bytes() function
|
| H A D | misc-agent.c | 58 l = ssh_digest_bytes(SSH_DIGEST_SHA512); in hostname_hash()
|
| H A D | sshkey.c | 989 if (ssh_digest_bytes(dgst_alg) == 0) { in sshkey_fingerprint_raw() 1009 *lenp = ssh_digest_bytes(dgst_alg); in sshkey_fingerprint_raw() 1651 ssh_digest_bytes(SSHKEY_SHIELD_PREKEY_HASH)) { in sshkey_shield_private() 1666 sshbuf_dump_data(keyiv, ssh_digest_bytes(SSHKEY_SHIELD_PREKEY_HASH), in sshkey_shield_private() 1787 ssh_digest_bytes(SSHKEY_SHIELD_PREKEY_HASH)) { in sshkey_unshield_private() 1808 sshbuf_dump_data(keyiv, ssh_digest_bytes(SSHKEY_SHIELD_PREKEY_HASH), in sshkey_unshield_private()
|
| H A D | auth2.c | 230 size_t len = ssh_digest_bytes(SSH_DIGEST_SHA512); in user_specific_delay()
|
| H A D | hostfile.c | 124 len = ssh_digest_bytes(SSH_DIGEST_SHA1); in host_hash()
|
| H A D | ssh-pkcs11.c | 586 if ((dgst_len = ssh_digest_bytes(hashalg)) == 0) in pkcs11_sign_rsa() 667 if ((dgst_len = ssh_digest_bytes(hashalg)) == 0) in pkcs11_sign_ecdsa()
|
| H A D | ssh_namespace.h | 581 #define ssh_digest_bytes Fssh_ssh_digest_bytes macro
|
| H A D | kex.c | 1075 if ((mdsz = ssh_digest_bytes(kex->hash_alg)) == 0) in derive_key()
|
| H A D | sshd.c | 1306 len = ssh_digest_bytes(SSH_DIGEST_SHA512); in accumulate_host_timing_secret()
|
| H A D | readconf.c | 360 return tohex(conn_hash, ssh_digest_bytes(SSH_DIGEST_SHA1)); in ssh_connection_hash()
|