/third_party/mbedtls/scripts/mbedtls_dev/ |
D | psa_storage.py | 110 usage: Exprable, alg: Exprable, alg2: Exprable, 120 self.alg2 = as_expr(alg2) #type: Expr 154 self.usage, self.alg, self.alg2) 180 usage=0x00000300, alg=0x05500200, alg2=0x04c01000, 191 usage=0, alg=0, alg2=0, 199 usage=0, alg=0, alg2=0,
|
/third_party/mbedtls/tests/scripts/ |
D | generate_psa_tests.py | 387 key.expected_usage, key.alg.string, key.alg2.string, 408 key.expected_usage, key.alg.string, key.alg2.string, 427 usage='PSA_KEY_USAGE_EXPORT', alg=0, alg2=0, 462 usage=usage, alg=0, alg2=0, 473 usage=usage, alg=0, alg2=0, 511 alg2 = 0 520 usage=usage_flags, alg=alg, alg2=alg2, 542 usage=usage, alg=alg, alg2=0, 549 usage=usage, alg=0, alg2=alg, 614 alg2 = 0 [all …]
|
/third_party/mbedtls/include/psa/ |
D | crypto_extra.h | 74 psa_algorithm_t alg2) in psa_set_key_enrollment_algorithm() argument 76 attributes->MBEDTLS_PRIVATE(core).MBEDTLS_PRIVATE(policy).MBEDTLS_PRIVATE(alg2) = alg2; in psa_set_key_enrollment_algorithm() 88 return( attributes->MBEDTLS_PRIVATE(core).MBEDTLS_PRIVATE(policy).MBEDTLS_PRIVATE(alg2) ); in psa_get_key_enrollment_algorithm()
|
D | crypto_struct.h | 275 psa_algorithm_t MBEDTLS_PRIVATE(alg2);
|
/third_party/openssl/crypto/dsa/ |
D | dsa_ameth.c | 470 X509_ALGOR *alg1, *alg2; in dsa_pkey_ctrl() local 471 PKCS7_SIGNER_INFO_get0_algs(arg2, NULL, &alg1, &alg2); in dsa_pkey_ctrl() 479 X509_ALGOR_set0(alg2, OBJ_nid2obj(snid), V_ASN1_UNDEF, 0); in dsa_pkey_ctrl() 486 X509_ALGOR *alg1, *alg2; in dsa_pkey_ctrl() local 487 CMS_SignerInfo_get0_algs(arg2, NULL, NULL, &alg1, &alg2); in dsa_pkey_ctrl() 495 X509_ALGOR_set0(alg2, OBJ_nid2obj(snid), V_ASN1_UNDEF, 0); in dsa_pkey_ctrl()
|
/third_party/openssl/crypto/ec/ |
D | ecx_meth.c | 528 X509_ALGOR *alg1, X509_ALGOR *alg2, in ecd_item_sign25519() argument 533 if (alg2) in ecd_item_sign25519() 534 X509_ALGOR_set0(alg2, OBJ_nid2obj(NID_ED25519), V_ASN1_UNDEF, NULL); in ecd_item_sign25519() 548 X509_ALGOR *alg1, X509_ALGOR *alg2, in ecd_item_sign448() argument 553 if (alg2 != NULL) in ecd_item_sign448() 554 X509_ALGOR_set0(alg2, OBJ_nid2obj(NID_ED448), V_ASN1_UNDEF, NULL); in ecd_item_sign448()
|
D | ec_ameth.c | 482 X509_ALGOR *alg1, *alg2; in ec_pkey_ctrl() local 483 PKCS7_SIGNER_INFO_get0_algs(arg2, NULL, &alg1, &alg2); in ec_pkey_ctrl() 491 X509_ALGOR_set0(alg2, OBJ_nid2obj(snid), V_ASN1_UNDEF, 0); in ec_pkey_ctrl() 498 X509_ALGOR *alg1, *alg2; in ec_pkey_ctrl() local 499 CMS_SignerInfo_get0_algs(arg2, NULL, NULL, &alg1, &alg2); in ec_pkey_ctrl() 507 X509_ALGOR_set0(alg2, OBJ_nid2obj(snid), V_ASN1_UNDEF, 0); in ec_pkey_ctrl()
|
/third_party/mbedtls/tests/suites/ |
D | test_suite_psa_crypto_storage_format.function | 165 psa_algorithm_t alg2 = alg2_arg; 179 psa_set_key_enrollment_algorithm( &attributes, alg2 ); 209 psa_algorithm_t alg2 = alg2_arg; 223 psa_set_key_enrollment_algorithm( &attributes, alg2 );
|
D | test_suite_psa_crypto_slot_management.function | 204 psa_algorithm_t alg2 = alg2_arg; 231 psa_set_key_enrollment_algorithm( &attributes, alg2 ); 248 TEST_EQUAL( psa_get_key_enrollment_algorithm( &attributes ), alg2 ); 268 TEST_EQUAL( psa_get_key_enrollment_algorithm( &attributes ), alg2 );
|
D | test_suite_psa_crypto.function | 1548 psa_algorithm_t alg2 = alg2_arg; 1554 psa_set_key_enrollment_algorithm( &attributes, alg2 ); 1564 TEST_EQUAL( psa_get_key_enrollment_algorithm( &got_attributes ), alg2 ); 1568 if( ! mbedtls_test_psa_exercise_key( key, usage, alg2 ) )
|
/third_party/mbedtls/library/ |
D | psa_crypto.c | 616 psa_algorithm_t alg2 ) in psa_key_policy_algorithm_intersection() argument 619 if( alg1 == alg2 ) in psa_key_policy_algorithm_intersection() 624 PSA_ALG_IS_SIGN_HASH( alg2 ) && in psa_key_policy_algorithm_intersection() 625 ( alg1 & ~PSA_ALG_HASH_MASK ) == ( alg2 & ~PSA_ALG_HASH_MASK ) ) in psa_key_policy_algorithm_intersection() 628 return( alg2 ); in psa_key_policy_algorithm_intersection() 629 if( PSA_ALG_SIGN_GET_HASH( alg2 ) == PSA_ALG_ANY_HASH ) in psa_key_policy_algorithm_intersection() 635 if( PSA_ALG_IS_AEAD( alg1 ) && PSA_ALG_IS_AEAD( alg2 ) && in psa_key_policy_algorithm_intersection() 637 PSA_ALG_AEAD_WITH_SHORTENED_TAG( alg2, 0 ) ) ) in psa_key_policy_algorithm_intersection() 640 size_t alg2_len = PSA_ALG_AEAD_GET_TAG_LENGTH( alg2 ); in psa_key_policy_algorithm_intersection() 645 ( ( alg2 & PSA_ALG_AEAD_AT_LEAST_THIS_LENGTH_FLAG ) != 0 ) ) in psa_key_policy_algorithm_intersection() [all …]
|
D | psa_crypto_storage.c | 265 MBEDTLS_PUT_UINT32_LE( attr->policy.alg2, storage_format->policy, 2 * sizeof( uint32_t ) ); in psa_format_key_data_for_storage() 322 attr->policy.alg2 = MBEDTLS_GET_UINT32_LE( storage_format->policy, 2 * sizeof( uint32_t ) ); in psa_parse_key_data_from_storage()
|
/third_party/openssl/include/crypto/ |
D | asn1.h | 53 X509_ALGOR *alg1, X509_ALGOR *alg2,
|
/third_party/openssl/crypto/rsa/ |
D | rsa_ameth.c | 827 X509_ALGOR *alg1, X509_ALGOR *alg2, in rsa_item_sign() argument 843 if (alg2) { in rsa_item_sign() 849 X509_ALGOR_set0(alg2, OBJ_nid2obj(EVP_PKEY_RSA_PSS), in rsa_item_sign()
|
/third_party/openssl/crypto/asn1/ |
D | ameth_lib.c | 387 X509_ALGOR *alg2, in EVP_PKEY_asn1_set_item() argument
|
/third_party/openssl/doc/man3/ |
D | EVP_PKEY_ASN1_METHOD.pod | 98 X509_ALGOR *alg2, 280 X509_ALGOR *alg1, X509_ALGOR *alg2,
|
/third_party/openssl/ssl/ |
D | s3_lib.c | 4544 long alg2; in ssl_get_algorithm2() local 4547 alg2 = s->s3->tmp.new_cipher->algorithm2; in ssl_get_algorithm2() 4549 if (alg2 == (SSL_HANDSHAKE_MAC_DEFAULT | TLS1_PRF)) in ssl_get_algorithm2() 4552 if (alg2 == (SSL_HANDSHAKE_MAC_SHA384 | TLS1_PRF_SHA384)) in ssl_get_algorithm2() 4555 return alg2; in ssl_get_algorithm2()
|
/third_party/openssl/include/openssl/ |
D | evp.h | 1218 X509_ALGOR *alg2,
|