Searched refs:mdctx (Results 1 – 3 of 3) sorted by relevance
| /crypto/ml_kem/ |
| A D | ml_kem.c | 1398 if (!matrix_expand(mdctx, key) in genkey() 1820 EVP_MD_CTX *mdctx = NULL; in ossl_ml_kem_parse_public_key() local 1840 EVP_MD_CTX_free(mdctx); in ossl_ml_kem_parse_public_key() 1848 EVP_MD_CTX *mdctx = NULL; in ossl_ml_kem_parse_private_key() local 1869 EVP_MD_CTX_free(mdctx); in ossl_ml_kem_parse_private_key() 1880 EVP_MD_CTX *mdctx = NULL; in ossl_ml_kem_genkey() local 1919 EVP_MD_CTX_free(mdctx); in ossl_ml_kem_genkey() 1941 EVP_MD_CTX *mdctx; in ossl_ml_kem_encap_seed() local 1985 EVP_MD_CTX_free(mdctx); in ossl_ml_kem_encap_seed() 2011 EVP_MD_CTX *mdctx; in ossl_ml_kem_decap() local [all …]
|
| /crypto/bn/ |
| A D | bn_rand.c | 299 EVP_MD_CTX *mdctx = EVP_MD_CTX_new(); in ossl_bn_gen_dsa_nonce_fixed_top() local 317 if (mdctx == NULL) in ossl_bn_gen_dsa_nonce_fixed_top() 350 if (!EVP_DigestInit_ex(mdctx, md, NULL) in ossl_bn_gen_dsa_nonce_fixed_top() 351 || !EVP_DigestUpdate(mdctx, &i, sizeof(i)) in ossl_bn_gen_dsa_nonce_fixed_top() 352 || !EVP_DigestUpdate(mdctx, private_bytes, in ossl_bn_gen_dsa_nonce_fixed_top() 354 || !EVP_DigestUpdate(mdctx, message, message_len) in ossl_bn_gen_dsa_nonce_fixed_top() 355 || !EVP_DigestUpdate(mdctx, random_bytes, in ossl_bn_gen_dsa_nonce_fixed_top() 357 || !EVP_DigestFinal_ex(mdctx, digest, NULL)) in ossl_bn_gen_dsa_nonce_fixed_top() 388 EVP_MD_CTX_free(mdctx); in ossl_bn_gen_dsa_nonce_fixed_top()
|
| /crypto/cms/ |
| A D | cms_lib.c | 442 EVP_MD_CTX *mdctx; in ossl_cms_DigestAlgorithm_init_bio() local 445 if (BIO_get_md_ctx(mdbio, &mdctx) <= 0 || mdctx == NULL) in ossl_cms_DigestAlgorithm_init_bio() 450 if (!EVP_MD_CTX_set_params(mdctx, params)) in ossl_cms_DigestAlgorithm_init_bio()
|
Completed in 17 milliseconds