/third_party/mbedtls/programs/ssl/ |
D | ssl_test_lib.c | 195 int key_opaque_alg_parse(const char *arg, const char **alg1, const char **alg2) in key_opaque_alg_parse() argument 203 *alg1 = arg; in key_opaque_alg_parse() 206 if (strcmp(*alg1, "rsa-sign-pkcs1") != 0 && in key_opaque_alg_parse() 207 strcmp(*alg1, "rsa-sign-pss") != 0 && in key_opaque_alg_parse() 208 strcmp(*alg1, "rsa-sign-pss-sha256") != 0 && in key_opaque_alg_parse() 209 strcmp(*alg1, "rsa-sign-pss-sha384") != 0 && in key_opaque_alg_parse() 210 strcmp(*alg1, "rsa-sign-pss-sha512") != 0 && in key_opaque_alg_parse() 211 strcmp(*alg1, "rsa-decrypt") != 0 && in key_opaque_alg_parse() 212 strcmp(*alg1, "ecdsa-sign") != 0 && in key_opaque_alg_parse() 213 strcmp(*alg1, "ecdh") != 0) { in key_opaque_alg_parse() [all …]
|
D | ssl_test_lib.h | 222 int key_opaque_alg_parse(const char *arg, const char **alg1, const char **alg2); 240 int key_opaque_set_alg_usage(const char *alg1, const char *alg2,
|
/third_party/openssl/crypto/cms/ |
D | cms_ec.c | 403 X509_ALGOR *alg1, *alg2; in ossl_cms_ecdsa_dsa_sign() local 406 CMS_SignerInfo_get0_algs(si, NULL, NULL, &alg1, &alg2); in ossl_cms_ecdsa_dsa_sign() 407 if (alg1 == NULL || alg1->algorithm == NULL) in ossl_cms_ecdsa_dsa_sign() 409 hnid = OBJ_obj2nid(alg1->algorithm); in ossl_cms_ecdsa_dsa_sign()
|
/third_party/node/deps/openssl/openssl/crypto/cms/ |
D | cms_ec.c | 403 X509_ALGOR *alg1, *alg2; in ossl_cms_ecdsa_dsa_sign() local 406 CMS_SignerInfo_get0_algs(si, NULL, NULL, &alg1, &alg2); in ossl_cms_ecdsa_dsa_sign() 407 if (alg1 == NULL || alg1->algorithm == NULL) in ossl_cms_ecdsa_dsa_sign() 409 hnid = OBJ_obj2nid(alg1->algorithm); in ossl_cms_ecdsa_dsa_sign()
|
/third_party/node/deps/openssl/openssl/crypto/pkcs7/ |
D | pk7_lib.c | 310 X509_ALGOR *alg1, *alg2; in pkcs7_ecdsa_or_dsa_sign_verify_setup() local 313 PKCS7_SIGNER_INFO_get0_algs(si, NULL, &alg1, &alg2); in pkcs7_ecdsa_or_dsa_sign_verify_setup() 314 if (alg1 == NULL || alg1->algorithm == NULL) in pkcs7_ecdsa_or_dsa_sign_verify_setup() 316 hnid = OBJ_obj2nid(alg1->algorithm); in pkcs7_ecdsa_or_dsa_sign_verify_setup()
|
/third_party/openssl/crypto/pkcs7/ |
D | pk7_lib.c | 310 X509_ALGOR *alg1, *alg2; in pkcs7_ecdsa_or_dsa_sign_verify_setup() local 313 PKCS7_SIGNER_INFO_get0_algs(si, NULL, &alg1, &alg2); in pkcs7_ecdsa_or_dsa_sign_verify_setup() 314 if (alg1 == NULL || alg1->algorithm == NULL) in pkcs7_ecdsa_or_dsa_sign_verify_setup() 316 hnid = OBJ_obj2nid(alg1->algorithm); in pkcs7_ecdsa_or_dsa_sign_verify_setup()
|
/third_party/mbedtls/library/ |
D | psa_crypto.c | 671 psa_algorithm_t alg1, in psa_key_policy_algorithm_intersection() argument 675 if (alg1 == alg2) { in psa_key_policy_algorithm_intersection() 676 return alg1; in psa_key_policy_algorithm_intersection() 680 if (PSA_ALG_IS_SIGN_HASH(alg1) && in psa_key_policy_algorithm_intersection() 682 (alg1 & ~PSA_ALG_HASH_MASK) == (alg2 & ~PSA_ALG_HASH_MASK)) { in psa_key_policy_algorithm_intersection() 683 if (PSA_ALG_SIGN_GET_HASH(alg1) == PSA_ALG_ANY_HASH) { in psa_key_policy_algorithm_intersection() 687 return alg1; in psa_key_policy_algorithm_intersection() 693 if (PSA_ALG_IS_AEAD(alg1) && PSA_ALG_IS_AEAD(alg2) && in psa_key_policy_algorithm_intersection() 694 (PSA_ALG_AEAD_WITH_SHORTENED_TAG(alg1, 0) == in psa_key_policy_algorithm_intersection() 696 size_t alg1_len = PSA_ALG_AEAD_GET_TAG_LENGTH(alg1); in psa_key_policy_algorithm_intersection() [all …]
|
/third_party/node/deps/openssl/openssl/crypto/rsa/ |
D | rsa_ameth.c | 632 X509_ALGOR *alg1, X509_ALGOR *alg2, in rsa_item_sign() argument 669 if (!X509_ALGOR_set0(alg1, OBJ_nid2obj(EVP_PKEY_RSA_PSS), in rsa_item_sign() 686 if (alg1 != NULL) { in rsa_item_sign() 689 if (d2i_X509_ALGOR(&alg1, &pp, aid_len) == NULL) in rsa_item_sign()
|
/third_party/openssl/crypto/rsa/ |
D | rsa_ameth.c | 629 X509_ALGOR *alg1, X509_ALGOR *alg2, in rsa_item_sign() argument 653 if (alg1 != NULL) { in rsa_item_sign() 655 if (d2i_X509_ALGOR(&alg1, &pp, aid_len) == NULL) in rsa_item_sign()
|
/third_party/openssl/ohos_lite/include/crypto/ |
D | asn1.h | 53 X509_ALGOR *alg1, X509_ALGOR *alg2,
|
/third_party/node/deps/openssl/openssl/crypto/ec/ |
D | ecx_meth.c | 566 X509_ALGOR *alg1, X509_ALGOR *alg2, in ecd_item_sign25519() argument 570 X509_ALGOR_set0(alg1, OBJ_nid2obj(NID_ED25519), V_ASN1_UNDEF, NULL); in ecd_item_sign25519() 587 X509_ALGOR *alg1, X509_ALGOR *alg2, in ecd_item_sign448() argument 591 X509_ALGOR_set0(alg1, OBJ_nid2obj(NID_ED448), V_ASN1_UNDEF, NULL); in ecd_item_sign448()
|
/third_party/openssl/crypto/ec/ |
D | ecx_meth.c | 566 X509_ALGOR *alg1, X509_ALGOR *alg2, in ecd_item_sign25519() argument 570 X509_ALGOR_set0(alg1, OBJ_nid2obj(NID_ED25519), V_ASN1_UNDEF, NULL); in ecd_item_sign25519() 587 X509_ALGOR *alg1, X509_ALGOR *alg2, in ecd_item_sign448() argument 591 X509_ALGOR_set0(alg1, OBJ_nid2obj(NID_ED448), V_ASN1_UNDEF, NULL); in ecd_item_sign448()
|
/third_party/node/deps/openssl/openssl/include/crypto/ |
D | asn1.h | 63 X509_ALGOR *alg1, X509_ALGOR *alg2,
|
/third_party/openssl/include/crypto/ |
D | asn1.h | 63 X509_ALGOR *alg1, X509_ALGOR *alg2,
|
/third_party/mbedtls/tests/scripts/ |
D | generate_psa_tests.py | 682 alg1 = 0 #type: psa_storage.Exprable 685 alg1 = alg.expression 694 usage=usage_flags, alg=alg1, alg2=alg2,
|
/third_party/openssl/crypto/asn1/ |
D | ameth_lib.c | 372 X509_ALGOR *alg1, in EVP_PKEY_asn1_set_item() argument
|
/third_party/node/deps/openssl/openssl/crypto/asn1/ |
D | ameth_lib.c | 372 X509_ALGOR *alg1, in EVP_PKEY_asn1_set_item() argument
|
/third_party/openssl/doc/man3/ |
D | EVP_PKEY_ASN1_METHOD.pod | 97 X509_ALGOR *alg1, 280 X509_ALGOR *alg1, X509_ALGOR *alg2,
|
/third_party/openssl/ohos_lite/include/openssl/ |
D | evp.h | 1217 X509_ALGOR *alg1,
|
/third_party/node/deps/openssl/openssl/include/openssl/ |
D | evp.h | 1633 X509_ALGOR *alg1,
|
/third_party/openssl/include/openssl/ |
D | evp.h | 1631 X509_ALGOR *alg1,
|