Home
last modified time | relevance | path

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

/mbedtls-development/tests/suites/
A 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 );
A Dtest_suite_psa_crypto_generate_key.function41 TEST_EQUAL( psa_get_key_bits( &attributes ), bits );
A 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 ),
A Dtest_suite_psa_crypto_storage_format.function93 TEST_EQUAL( psa_get_key_bits( expected_attributes ),
94 psa_get_key_bits( &actual_attributes ) );
A 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 );
A Dtest_suite_psa_crypto.function371 key_bits = psa_get_key_bits( &attributes );
950 bits = psa_get_key_bits( &attributes );
1099 TEST_EQUAL( psa_get_key_bits( &func ), 0 );
1100 TEST_EQUAL( psa_get_key_bits( &init ), 0 );
1101 TEST_EQUAL( psa_get_key_bits( &zero ), 0 );
1325 key_bits = psa_get_key_bits( &attributes );
3611 key_bits = psa_get_key_bits( &attributes );
3706 key_bits = psa_get_key_bits( &attributes );
3774 key_bits = psa_get_key_bits( &attributes );
4550 key_bits = psa_get_key_bits( &attributes );
[all …]
A 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 ) );
A Dtest_suite_psa_crypto_driver_wrappers.function1047 key_bits = psa_get_key_bits( &attributes );
1116 key_bits = psa_get_key_bits( &attributes );
1418 TEST_EQUAL( psa_get_key_bits( &attributes ), builtin_key_bits );
1471 TEST_EQUAL( psa_get_key_bits( &attributes ), builtin_key_bits );
A Dtest_suite_pk.function998 TEST_EQUAL( psa_get_key_bits( &attributes ), expected_bits );
/mbedtls-development/tests/src/
A Dpsa_exercise_key.c55 bits = psa_get_key_bits( &attributes ); in check_key_attributes_sanity()
519 key_bits = psa_get_key_bits( &attributes ); in mbedtls_test_psa_key_agreement_with_self()
561 key_bits = psa_get_key_bits( &attributes ); in mbedtls_test_psa_raw_key_agreement_with_self()
807 psa_get_key_bits( &attributes ) ); in exercise_export_key()
824 psa_get_key_type( &attributes ), psa_get_key_bits( &attributes ), in exercise_export_key()
852 psa_get_key_bits( &attributes ) ); in exercise_export_public_key()
865 psa_get_key_bits( &attributes ) ); in exercise_export_public_key()
872 public_type, psa_get_key_bits( &attributes ), in exercise_export_public_key()
/mbedtls-development/library/
A Dpsa_crypto_mac.c176 ( psa_get_key_bits( attributes ) == 64 || in cmac_setup()
177 psa_get_key_bits( attributes ) == 128 ) ) in cmac_setup()
185 psa_get_key_bits( attributes ), in cmac_setup()
197 psa_get_key_bits( attributes ) ); in cmac_setup()
A Dpkwrite.c276 bits = psa_get_key_bits( &attributes ); in mbedtls_pk_write_pubkey_der()
A Dpsa_crypto.c1528 if( psa_get_key_bits( attributes ) > PSA_MAX_KEY_BITS ) in psa_validate_key_attributes()
1982 if( psa_get_key_bits( attributes ) == 0 ) in mbedtls_psa_register_se_key()
2301 size_t key_bits = psa_get_key_bits( attributes ); in psa_mac_finalize_alg_and_key_validation()
4763 if( psa_get_key_bits( attributes ) == 0 ) in psa_key_derivation_output_key()
5717 if( psa_get_key_bits( attributes ) == 0 ) in psa_generate_key()
A Dpk_wrap.c919 bits = psa_get_key_bits( &attributes ); in pk_opaque_get_bitlen()
/mbedtls-development/tests/src/drivers/
A Dtest_driver_key_management.c360 if( psa_get_key_bits( attributes ) != 256 ) in mbedtls_test_opaque_export_key()
382 if( psa_get_key_bits( attributes ) != 128 ) in mbedtls_test_opaque_export_key()
539 if( psa_get_key_bits( attributes ) != 256 ) in mbedtls_test_opaque_export_public_key()
/mbedtls-development/include/psa/
A Dcrypto_struct.h483 static inline size_t psa_get_key_bits( in psa_get_key_bits() function
A Dcrypto.h354 static size_t psa_get_key_bits(const psa_key_attributes_t *attributes);
/mbedtls-development/docs/proposed/
A 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…

Completed in 45 milliseconds