Searched refs:usage_flags (Results 1 – 8 of 8) sorted by relevance
/openthread-3.6.0/third_party/mbedtls/repo/tests/src/ |
D | psa_crypto_helpers.c | 118 psa_key_usage_t mbedtls_test_update_key_usage_flags( psa_key_usage_t usage_flags ) in mbedtls_test_update_key_usage_flags() argument 120 psa_key_usage_t updated_usage = usage_flags; in mbedtls_test_update_key_usage_flags() 122 if( usage_flags & PSA_KEY_USAGE_SIGN_HASH ) in mbedtls_test_update_key_usage_flags() 125 if( usage_flags & PSA_KEY_USAGE_VERIFY_HASH ) in mbedtls_test_update_key_usage_flags()
|
/openthread-3.6.0/third_party/mbedtls/repo/include/psa/ |
D | crypto_struct.h | 394 static inline void psa_extend_key_usage_flags( psa_key_usage_t *usage_flags ) in psa_extend_key_usage_flags() argument 396 if( *usage_flags & PSA_KEY_USAGE_SIGN_HASH ) in psa_extend_key_usage_flags() 397 *usage_flags |= PSA_KEY_USAGE_SIGN_MESSAGE; in psa_extend_key_usage_flags() 399 if( *usage_flags & PSA_KEY_USAGE_VERIFY_HASH ) in psa_extend_key_usage_flags() 400 *usage_flags |= PSA_KEY_USAGE_VERIFY_MESSAGE; in psa_extend_key_usage_flags() 404 psa_key_usage_t usage_flags) in psa_set_key_usage_flags() argument 406 psa_extend_key_usage_flags( &usage_flags ); in psa_set_key_usage_flags() 407 attributes->core.policy.usage = usage_flags; in psa_set_key_usage_flags()
|
D | crypto.h | 241 psa_key_usage_t usage_flags);
|
/openthread-3.6.0/third_party/mbedtls/repo/tests/suites/ |
D | test_suite_psa_crypto_attributes.function | 18 psa_key_usage_t usage_flags = usage_flags_arg; 35 psa_set_key_usage_flags( &attributes, usage_flags ); 43 TEST_EQUAL( psa_get_key_usage_flags( &attributes ), usage_flags );
|
D | test_suite_psa_crypto_slot_management.function | 120 psa_key_usage_t usage_flags = usage_arg; 138 psa_set_key_usage_flags( &attributes, usage_flags ); 205 psa_key_usage_t usage_flags = usage_arg; 229 psa_set_key_usage_flags( &attributes, usage_flags ); 246 mbedtls_test_update_key_usage_flags( usage_flags ) ); 266 mbedtls_test_update_key_usage_flags( usage_flags ) ); 299 mbedtls_test_update_key_usage_flags( usage_flags ) ); 309 if( usage_flags & PSA_KEY_USAGE_EXPORT )
|
D | test_suite_psa_crypto.function | 5406 psa_key_usage_t usage_flags = usage_flags_arg; 5415 if( usage_flags & PSA_KEY_USAGE_EXPORT ) 5424 psa_set_key_usage_flags( &attributes, usage_flags ); 5482 if( usage_flags & PSA_KEY_USAGE_EXPORT ) 5506 mbedtls_test_update_key_usage_flags( usage_flags ) ); 5510 if( usage_flags & PSA_KEY_USAGE_EXPORT ) 5520 if( ! mbedtls_test_psa_exercise_key( key, usage_flags, alg ) )
|
/openthread-3.6.0/third_party/mbedtls/repo/tests/scripts/ |
D | generate_psa_tests.py | 446 usage_flags: List[str], 451 usage = ' | '.join(usage_flags) if usage_flags else '0' 507 usage_flags = 'PSA_KEY_USAGE_EXPORT' 518 usage=usage_flags, alg=alg, alg2=alg2, 609 usage_flags = 'PSA_KEY_USAGE_EXPORT' 610 material_usage_flags = usage_flags + ' | ' + implyer_usage
|
/openthread-3.6.0/third_party/mbedtls/repo/tests/include/test/ |
D | psa_crypto_helpers.h | 194 psa_key_usage_t mbedtls_test_update_key_usage_flags( psa_key_usage_t usage_flags );
|