Lines Matching refs:known_digest_methods
864 static EVP_MD *known_digest_methods[OSSL_NELEM(digest_data)] = { NULL, }; variable
949 if ((known_digest_methods[i] = EVP_MD_meth_new(digest_data[i].nid, in prepare_digest_methods()
951 || !EVP_MD_meth_set_input_blocksize(known_digest_methods[i], in prepare_digest_methods()
953 || !EVP_MD_meth_set_result_size(known_digest_methods[i], in prepare_digest_methods()
955 || !EVP_MD_meth_set_init(known_digest_methods[i], digest_init) in prepare_digest_methods()
956 || !EVP_MD_meth_set_update(known_digest_methods[i], digest_update) in prepare_digest_methods()
957 || !EVP_MD_meth_set_final(known_digest_methods[i], digest_final) in prepare_digest_methods()
958 || !EVP_MD_meth_set_copy(known_digest_methods[i], digest_copy) in prepare_digest_methods()
959 || !EVP_MD_meth_set_cleanup(known_digest_methods[i], digest_cleanup) in prepare_digest_methods()
960 || !EVP_MD_meth_set_app_datasize(known_digest_methods[i], in prepare_digest_methods()
963 EVP_MD_meth_free(known_digest_methods[i]); in prepare_digest_methods()
964 known_digest_methods[i] = NULL; in prepare_digest_methods()
983 return known_digest_methods[i]; in get_digest_method()
996 EVP_MD_meth_free(known_digest_methods[i]); in destroy_digest_method()
997 known_digest_methods[i] = NULL; in destroy_digest_method()