Searched refs:alg2 (Results 1 – 9 of 9) sorted by relevance
/mbedtls-development/scripts/mbedtls_dev/ |
A 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,
|
/mbedtls-development/tests/scripts/ |
A 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 …]
|
/mbedtls-development/include/psa/ |
A D | crypto_extra.h | 73 psa_algorithm_t alg2) in psa_set_key_enrollment_algorithm() argument 75 attributes->MBEDTLS_PRIVATE(core).MBEDTLS_PRIVATE(policy).MBEDTLS_PRIVATE(alg2) = alg2; in psa_set_key_enrollment_algorithm() 87 return( attributes->MBEDTLS_PRIVATE(core).MBEDTLS_PRIVATE(policy).MBEDTLS_PRIVATE(alg2) ); in psa_get_key_enrollment_algorithm()
|
A D | crypto_struct.h | 275 psa_algorithm_t MBEDTLS_PRIVATE(alg2);
|
/mbedtls-development/tests/suites/ |
A 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 );
|
A 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 );
|
A 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 ) )
|
/mbedtls-development/library/ |
A D | psa_crypto.c | 619 psa_algorithm_t alg2 ) in psa_key_policy_algorithm_intersection() argument 622 if( alg1 == alg2 ) in psa_key_policy_algorithm_intersection() 627 PSA_ALG_IS_SIGN_HASH( alg2 ) && in psa_key_policy_algorithm_intersection() 631 return( alg2 ); in psa_key_policy_algorithm_intersection() 640 PSA_ALG_AEAD_WITH_SHORTENED_TAG( alg2, 0 ) ) ) in psa_key_policy_algorithm_intersection() 657 return( alg2 ); in psa_key_policy_algorithm_intersection() 668 if( PSA_ALG_IS_MAC( alg1 ) && PSA_ALG_IS_MAC( alg2 ) && in psa_key_policy_algorithm_intersection() 670 PSA_ALG_FULL_LENGTH_MAC( alg2 ) ) ) in psa_key_policy_algorithm_intersection() 701 return( ( alg1_len <= alg2_len ) ? alg2 : 0 ); in psa_key_policy_algorithm_intersection() 870 if( intersection_alg2 == 0 && policy->alg2 != 0 && constraint->alg2 != 0 ) in psa_restrict_key_policy() [all …]
|
A 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()
|
Completed in 28 milliseconds