Home
last modified time | relevance | path

Searched refs:alg2 (Results 1 – 11 of 11) sorted by relevance

/openthread-3.4.0/third_party/mbedtls/repo/tests/suites/
Dtest_suite_psa_crypto_storage_format.current.data475 PSA storage save: alg2: AEAD_WITH_AT_LEAST_THIS_LENGTH_TAG(CCM, 1)
483 PSA storage save: alg2: AEAD_WITH_AT_LEAST_THIS_LENGTH_TAG(CHACHA20_POLY1305, 1)
491 PSA storage save: alg2: AEAD_WITH_AT_LEAST_THIS_LENGTH_TAG(GCM, 1)
499 PSA storage save: alg2: AEAD_WITH_AT_LEAST_THIS_LENGTH_TAG(CCM, 63)
507 PSA storage save: alg2: AEAD_WITH_SHORTENED_TAG(CCM, 1)
515 PSA storage save: alg2: AEAD_WITH_SHORTENED_TAG(CHACHA20_POLY1305, 1)
523 PSA storage save: alg2: AEAD_WITH_SHORTENED_TAG(GCM, 1)
531 PSA storage save: alg2: AEAD_WITH_SHORTENED_TAG(CCM, 63)
539 PSA storage save: alg2: ANY_HASH
547 PSA storage save: alg2: AT_LEAST_THIS_LENGTH_MAC(CBC_MAC, 1)
[all …]
Dtest_suite_psa_crypto_storage_format.v0.data555 PSA storage read: alg2: AEAD_WITH_AT_LEAST_THIS_LENGTH_TAG(CCM, 1)
563 PSA storage read: alg2: AEAD_WITH_AT_LEAST_THIS_LENGTH_TAG(CHACHA20_POLY1305, 1)
571 PSA storage read: alg2: AEAD_WITH_AT_LEAST_THIS_LENGTH_TAG(GCM, 1)
579 PSA storage read: alg2: AEAD_WITH_AT_LEAST_THIS_LENGTH_TAG(CCM, 63)
587 PSA storage read: alg2: AEAD_WITH_SHORTENED_TAG(CCM, 1)
595 PSA storage read: alg2: AEAD_WITH_SHORTENED_TAG(CHACHA20_POLY1305, 1)
603 PSA storage read: alg2: AEAD_WITH_SHORTENED_TAG(GCM, 1)
611 PSA storage read: alg2: AEAD_WITH_SHORTENED_TAG(CCM, 63)
619 PSA storage read: alg2: ANY_HASH
627 PSA storage read: alg2: AT_LEAST_THIS_LENGTH_MAC(CBC_MAC, 1)
[all …]
Dtest_suite_psa_crypto_storage_format.function165 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 );
Dtest_suite_psa_crypto_slot_management.function204 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 );
Dtest_suite_psa_crypto.function1285 psa_algorithm_t alg2 = alg2_arg;
1291 psa_set_key_enrollment_algorithm( &attributes, alg2 );
1301 TEST_EQUAL( psa_get_key_enrollment_algorithm( &got_attributes ), alg2 );
1305 if( ! mbedtls_test_psa_exercise_key( key, usage, alg2 ) )
/openthread-3.4.0/third_party/mbedtls/repo/scripts/mbedtls_dev/
Dpsa_storage.py110 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,
/openthread-3.4.0/third_party/mbedtls/repo/include/psa/
Dcrypto_extra.h73 psa_algorithm_t alg2) in psa_set_key_enrollment_algorithm() argument
75 attributes->core.policy.alg2 = alg2; in psa_set_key_enrollment_algorithm()
87 return( attributes->core.policy.alg2 ); in psa_get_key_enrollment_algorithm()
Dcrypto_struct.h263 psa_algorithm_t alg2; member
/openthread-3.4.0/third_party/mbedtls/repo/tests/scripts/
Dgenerate_psa_tests.py385 key.expected_usage, key.alg.string, key.alg2.string,
406 key.expected_usage, key.alg.string, key.alg2.string,
425 usage='PSA_KEY_USAGE_EXPORT', alg=0, alg2=0,
460 usage=usage, alg=0, alg2=0,
471 usage=usage, alg=0, alg2=0,
509 alg2 = 0
518 usage=usage_flags, alg=alg, alg2=alg2,
540 usage=usage, alg=alg, alg2=0,
547 usage=usage, alg=0, alg2=alg,
612 alg2 = 0
[all …]
/openthread-3.4.0/third_party/mbedtls/repo/library/
Dpsa_crypto.c691 psa_algorithm_t alg2 ) in psa_key_policy_algorithm_intersection() argument
694 if( alg1 == alg2 ) in psa_key_policy_algorithm_intersection()
699 PSA_ALG_IS_SIGN_HASH( alg2 ) && in psa_key_policy_algorithm_intersection()
700 ( alg1 & ~PSA_ALG_HASH_MASK ) == ( alg2 & ~PSA_ALG_HASH_MASK ) ) in psa_key_policy_algorithm_intersection()
703 return( alg2 ); in psa_key_policy_algorithm_intersection()
704 if( PSA_ALG_SIGN_GET_HASH( alg2 ) == PSA_ALG_ANY_HASH ) in psa_key_policy_algorithm_intersection()
710 if( PSA_ALG_IS_AEAD( alg1 ) && PSA_ALG_IS_AEAD( alg2 ) && in psa_key_policy_algorithm_intersection()
712 PSA_ALG_AEAD_WITH_SHORTENED_TAG( alg2, 0 ) ) ) in psa_key_policy_algorithm_intersection()
715 size_t alg2_len = PSA_ALG_AEAD_GET_TAG_LENGTH( alg2 ); in psa_key_policy_algorithm_intersection()
720 ( ( alg2 & PSA_ALG_AEAD_AT_LEAST_THIS_LENGTH_FLAG ) != 0 ) ) in psa_key_policy_algorithm_intersection()
[all …]
Dpsa_crypto_storage.c263 MBEDTLS_PUT_UINT32_LE( attr->policy.alg2, storage_format->policy, 2 * sizeof( uint32_t ) ); in psa_format_key_data_for_storage()
320 attr->policy.alg2 = MBEDTLS_GET_UINT32_LE( storage_format->policy, 2 * sizeof( uint32_t ) ); in psa_parse_key_data_from_storage()