Home
last modified time | relevance | path

Searched refs:alg1 (Results 1 – 21 of 21) sorted by relevance

/third_party/mbedtls/programs/ssl/
Dssl_test_lib.c195 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 …]
Dssl_test_lib.h222 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/
Dcms_ec.c403 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/
Dcms_ec.c403 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/
Dpk7_lib.c310 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/
Dpk7_lib.c310 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/
Dpsa_crypto.c671 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/
Drsa_ameth.c632 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/
Drsa_ameth.c629 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/
Dasn1.h53 X509_ALGOR *alg1, X509_ALGOR *alg2,
/third_party/node/deps/openssl/openssl/crypto/ec/
Decx_meth.c566 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/
Decx_meth.c566 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/
Dasn1.h63 X509_ALGOR *alg1, X509_ALGOR *alg2,
/third_party/openssl/include/crypto/
Dasn1.h63 X509_ALGOR *alg1, X509_ALGOR *alg2,
/third_party/mbedtls/tests/scripts/
Dgenerate_psa_tests.py682 alg1 = 0 #type: psa_storage.Exprable
685 alg1 = alg.expression
694 usage=usage_flags, alg=alg1, alg2=alg2,
/third_party/openssl/crypto/asn1/
Dameth_lib.c372 X509_ALGOR *alg1, in EVP_PKEY_asn1_set_item() argument
/third_party/node/deps/openssl/openssl/crypto/asn1/
Dameth_lib.c372 X509_ALGOR *alg1, in EVP_PKEY_asn1_set_item() argument
/third_party/openssl/doc/man3/
DEVP_PKEY_ASN1_METHOD.pod97 X509_ALGOR *alg1,
280 X509_ALGOR *alg1, X509_ALGOR *alg2,
/third_party/openssl/ohos_lite/include/openssl/
Devp.h1217 X509_ALGOR *alg1,
/third_party/node/deps/openssl/openssl/include/openssl/
Devp.h1633 X509_ALGOR *alg1,
/third_party/openssl/include/openssl/
Devp.h1631 X509_ALGOR *alg1,