Searched refs:hash_ctx (Results 1 – 2 of 2) sorted by relevance
/openssl/crypto/ec/ |
H A D | curve25519.c | 5485 EVP_MD_CTX *hash_ctx = EVP_MD_CTX_new(); in ossl_ed25519_sign() local 5500 if (sha512 == NULL || hash_ctx == NULL) in ossl_ed25519_sign() 5503 if (!EVP_DigestInit_ex(hash_ctx, sha512, NULL) in ossl_ed25519_sign() 5505 || !EVP_DigestFinal_ex(hash_ctx, az, &sz)) in ossl_ed25519_sign() 5537 EVP_MD_CTX_free(hash_ctx); in ossl_ed25519_sign() 5569 EVP_MD_CTX *hash_ctx = NULL; in ossl_ed25519_verify() local 5632 hash_ctx = EVP_MD_CTX_new(); in ossl_ed25519_verify() 5633 if (hash_ctx == NULL) in ossl_ed25519_verify() 5637 || !EVP_DigestUpdate(hash_ctx, r, 32) in ossl_ed25519_verify() 5640 || !EVP_DigestFinal_ex(hash_ctx, h, &sz)) in ossl_ed25519_verify() [all …]
|
/openssl/providers/implementations/signature/ |
H A D | eddsa_sig.c | 466 EVP_MD_CTX *hash_ctx = EVP_MD_CTX_new(); in ed448_shake256() local 469 if (hash_ctx == NULL || shake256 == NULL) in ed448_shake256() 472 if (!EVP_DigestInit_ex(hash_ctx, shake256, NULL) in ed448_shake256() 473 || !EVP_DigestUpdate(hash_ctx, in, inlen) in ed448_shake256() 474 || !EVP_DigestFinalXOF(hash_ctx, out, outlen)) in ed448_shake256() 480 EVP_MD_CTX_free(hash_ctx); in ed448_shake256()
|
Completed in 20 milliseconds