Home
last modified time | relevance | path

Searched refs:hashctx (Results 1 – 2 of 2) sorted by relevance

/freebsd-12.1/crypto/openssl/crypto/ec/curve448/
H A Deddsa.c25 EVP_MD_CTX *hashctx = EVP_MD_CTX_new(); in oneshot_hash() local
27 if (hashctx == NULL) in oneshot_hash()
33 EVP_MD_CTX_free(hashctx); in oneshot_hash()
37 EVP_MD_CTX_free(hashctx); in oneshot_hash()
134 EVP_MD_CTX *hashctx = EVP_MD_CTX_new(); in c448_ed448_sign() local
141 if (hashctx == NULL) in c448_ed448_sign()
160 || !EVP_DigestUpdate(hashctx, in c448_ed448_sign()
226 EVP_MD_CTX_free(hashctx); in c448_ed448_sign()
293 if (hashctx == NULL in c448_ed448_verify()
300 EVP_MD_CTX_free(hashctx); in c448_ed448_verify()
[all …]
/freebsd-12.1/crypto/openssh/
H A Dkex.c932 struct ssh_digest_ctx *hashctx = NULL; in derive_key() local
949 ssh_digest_update(hashctx, hash, hashlen) != 0 || in derive_key()
950 ssh_digest_update(hashctx, &c, 1) != 0 || in derive_key()
951 ssh_digest_update(hashctx, kex->session_id, in derive_key()
953 ssh_digest_final(hashctx, digest, mdsz) != 0) { in derive_key()
957 ssh_digest_free(hashctx); in derive_key()
958 hashctx = NULL; in derive_key()
969 ssh_digest_update(hashctx, digest, have) != 0 || in derive_key()
974 ssh_digest_free(hashctx); in derive_key()
975 hashctx = NULL; in derive_key()
[all …]