Searched refs:psa_get_key_bits (Results 1 – 18 of 18) sorted by relevance
/third_party/mbedtls/tests/suites/ |
D | test_suite_psa_crypto_attributes.function | 31 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 );
|
D | test_suite_psa_crypto_generate_key.function | 41 TEST_EQUAL( psa_get_key_bits( &attributes ), bits );
|
D | test_suite_psa_crypto_slot_management.function | 306 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 ),
|
D | test_suite_psa_crypto_storage_format.function | 93 TEST_EQUAL( psa_get_key_bits( expected_attributes ), 94 psa_get_key_bits( &actual_attributes ) );
|
D | test_suite_psa_crypto_persistent_key.function | 100 TEST_EQUAL( psa_get_key_bits( &attributes ), 294 TEST_EQUAL( psa_get_key_bits( &attributes ), (size_t) expected_bits );
|
D | test_suite_psa_crypto.function | 231 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 …]
|
D | test_suite_psa_crypto_se_driver_hal.function | 272 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 ) );
|
D | test_suite_psa_crypto_driver_wrappers.function | 1093 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 );
|
D | test_suite_pk.function | 998 TEST_EQUAL( psa_get_key_bits( &attributes ), expected_bits );
|
/third_party/mbedtls/tests/src/ |
D | psa_exercise_key.c | 56 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/ |
D | psa_crypto_mac.c | 165 ( 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()
|
D | pkwrite.c | 276 bits = psa_get_key_bits( &attributes ); in mbedtls_pk_write_pubkey_der()
|
D | psa_crypto.c | 1524 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()
|
D | pk_wrap.c | 919 bits = psa_get_key_bits( &attributes ); in pk_opaque_get_bitlen()
|
/third_party/mbedtls/tests/src/drivers/ |
D | test_driver_key_management.c | 432 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/ |
D | crypto_struct.h | 483 static inline size_t psa_get_key_bits( in psa_get_key_bits() function
|
D | crypto.h | 354 static size_t psa_get_key_bits(const psa_key_attributes_t *attributes);
|
/third_party/mbedtls/docs/proposed/ |
D | psa-driver-interface.md | 356 …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…
|