Home
last modified time | relevance | path

Searched refs:def_nid (Results 1 – 5 of 5) sorted by relevance

/third_party/openssl/crypto/evp/
Dm_sigver.c36 int def_nid; in do_sigver_init() local
37 if (EVP_PKEY_get_default_digest_nid(pkey, &def_nid) > 0) in do_sigver_init()
38 type = EVP_get_digestbynid(def_nid); in do_sigver_init()
/third_party/openssl/crypto/pkcs7/
Dpk7_lib.c355 int def_nid; in PKCS7_add_signature() local
356 if (EVP_PKEY_get_default_digest_nid(pkey, &def_nid) <= 0) in PKCS7_add_signature()
358 dgst = EVP_get_digestbynid(def_nid); in PKCS7_add_signature()
/third_party/openssl/crypto/cms/
Dcms_sd.c290 int def_nid; in CMS_add1_signer() local
291 if (EVP_PKEY_get_default_digest_nid(pk, &def_nid) <= 0) in CMS_add1_signer()
293 md = EVP_get_digestbynid(def_nid); in CMS_add1_signer()
/third_party/openssl/apps/
Dreq.c1618 int i, def_nid; in do_sign_init() local
1626 if (EVP_PKEY_get_default_digest_nid(pkey, &def_nid) == 2 in do_sign_init()
1627 && def_nid == NID_undef) { in do_sign_init()
Dca.c258 int rand_ser = 0, i, j, selfsign = 0, def_nid, def_ret; in ca_main() local
731 def_ret = EVP_PKEY_get_default_digest_nid(pkey, &def_nid); in ca_main()
736 if (def_ret == 2 && def_nid == NID_undef) { in ca_main()
748 md = (char *)OBJ_nid2sn(def_nid); in ca_main()