Home
last modified time | relevance | path

Searched refs:psa_get_key_bits (Results 1 – 18 of 18) sorted by relevance

/third_party/mbedtls/tests/suites/
Dtest_suite_psa_crypto_attributes.function31 TEST_EQUAL( psa_get_key_bits( &attributes ), 0 );
46 TEST_EQUAL( psa_get_key_bits( &attributes ), bits );
58 TEST_EQUAL( psa_get_key_bits( &attributes ), 0 );
Dtest_suite_psa_crypto_generate_key.function41 TEST_EQUAL( psa_get_key_bits( &attributes ), bits );
Dtest_suite_psa_crypto_slot_management.function306 TEST_EQUAL( psa_get_key_bits( &attributes ),
307 psa_get_key_bits( &read_attributes ) );
401 TEST_EQUAL( psa_get_key_bits( &attributes ), bits1 );
578 TEST_EQUAL( psa_get_key_bits( &source_attributes ),
579 psa_get_key_bits( &target_attributes ) );
699 TEST_EQUAL( psa_get_key_bits( &attributes1 ),
700 psa_get_key_bits( &attributes2 ) );
805 TEST_EQUAL( psa_get_key_bits( &attributes ),
Dtest_suite_psa_crypto_storage_format.function93 TEST_EQUAL( psa_get_key_bits( expected_attributes ),
94 psa_get_key_bits( &actual_attributes ) );
Dtest_suite_psa_crypto_persistent_key.function100 TEST_EQUAL( psa_get_key_bits( &attributes ),
294 TEST_EQUAL( psa_get_key_bits( &attributes ), (size_t) expected_bits );
Dtest_suite_psa_crypto.function231 TEST_EQUAL( psa_get_key_bits( &attributes ), 0 );
371 key_bits = psa_get_key_bits( &attributes );
687 TEST_EQUAL( attr_bits, psa_get_key_bits( &got_attributes ) );
737 TEST_EQUAL( psa_get_key_bits( &attributes ),
840 TEST_EQUAL( psa_get_key_bits( &got_attributes ), (size_t) expected_bits );
888 psa_get_key_bits( &got_attributes ) ) );
950 bits = psa_get_key_bits( &attributes );
999 TEST_EQUAL( psa_get_key_bits( &got_attributes ), bits );
1050 TEST_EQUAL( psa_get_key_bits( &attributes ), expected_bits );
1099 TEST_EQUAL( psa_get_key_bits( &func ), 0 );
[all …]
Dtest_suite_psa_crypto_se_driver_hal.function272 ram_slots[slot_number].bits = psa_get_key_bits( attributes );
296 psa_get_key_bits( attributes ) );
546 if( psa_get_key_bits( reference_attributes ) != 0 )
548 TEST_EQUAL( psa_get_key_bits( &actual_attributes ),
549 psa_get_key_bits( reference_attributes ) );
Dtest_suite_psa_crypto_driver_wrappers.function1093 key_bits = psa_get_key_bits( &attributes );
1162 key_bits = psa_get_key_bits( &attributes );
1464 TEST_EQUAL( psa_get_key_bits( &attributes ), builtin_key_bits );
1517 TEST_EQUAL( psa_get_key_bits( &attributes ), builtin_key_bits );
Dtest_suite_pk.function998 TEST_EQUAL( psa_get_key_bits( &attributes ), expected_bits );
/third_party/mbedtls/tests/src/
Dpsa_exercise_key.c56 bits = psa_get_key_bits( &attributes ); in check_key_attributes_sanity()
520 key_bits = psa_get_key_bits( &attributes ); in mbedtls_test_psa_key_agreement_with_self()
562 key_bits = psa_get_key_bits( &attributes ); in mbedtls_test_psa_raw_key_agreement_with_self()
808 psa_get_key_bits( &attributes ) ); in exercise_export_key()
825 psa_get_key_type( &attributes ), psa_get_key_bits( &attributes ), in exercise_export_key()
853 psa_get_key_bits( &attributes ) ); in exercise_export_public_key()
866 psa_get_key_bits( &attributes ) ); in exercise_export_public_key()
873 public_type, psa_get_key_bits( &attributes ), in exercise_export_public_key()
/third_party/mbedtls/library/
Dpsa_crypto_mac.c165 ( psa_get_key_bits( attributes ) == 64 || in cmac_setup()
166 psa_get_key_bits( attributes ) == 128 ) ) in cmac_setup()
174 psa_get_key_bits( attributes ), in cmac_setup()
186 psa_get_key_bits( attributes ) ); in cmac_setup()
Dpkwrite.c276 bits = psa_get_key_bits( &attributes ); in mbedtls_pk_write_pubkey_der()
Dpsa_crypto.c1524 if( psa_get_key_bits( attributes ) > PSA_MAX_KEY_BITS ) in psa_validate_key_attributes()
1978 if( psa_get_key_bits( attributes ) == 0 ) in mbedtls_psa_register_se_key()
2304 size_t key_bits = psa_get_key_bits( attributes ); in psa_mac_finalize_alg_and_key_validation()
4832 if( psa_get_key_bits( attributes ) == 0 ) in psa_key_derivation_output_key()
5791 if( psa_get_key_bits( attributes ) == 0 ) in psa_generate_key()
Dpk_wrap.c919 bits = psa_get_key_bits( &attributes ); in pk_opaque_get_bitlen()
/third_party/mbedtls/tests/src/drivers/
Dtest_driver_key_management.c432 if( psa_get_key_bits( attributes ) != 256 ) in mbedtls_test_opaque_export_key()
454 if( psa_get_key_bits( attributes ) != 128 ) in mbedtls_test_opaque_export_key()
641 if( psa_get_key_bits( attributes ) != 256 ) in mbedtls_test_opaque_export_public_key()
/third_party/mbedtls/include/psa/
Dcrypto_struct.h483 static inline size_t psa_get_key_bits( in psa_get_key_bits() function
Dcrypto.h354 static size_t psa_get_key_bits(const psa_key_attributes_t *attributes);
/third_party/mbedtls/docs/proposed/
Dpsa-driver-interface.md356 …to `psa_import_key`, it passes an `attributes` structure such that `psa_get_key_bits(attributes)` …
358 * The core sets `*bits` to `psa_get_key_bits(attributes)` before calling the `"import_key"` entry p…