Searched refs:PSA_BITS_TO_BYTES (Results 1 – 9 of 9) sorted by relevance
/mbedtls-development/include/psa/ |
A D | crypto_sizes.h | 47 #define PSA_BITS_TO_BYTES(bits) (((bits) + 7) / 8) macro 557 (PSA_BITS_TO_BYTES(curve_bits) * 2) 601 PSA_BITS_TO_BYTES(PSA_VENDOR_RSA_MAX_KEY_BITS) : \ 631 ((void)alg, PSA_BITS_TO_BYTES(key_bits)) : \ 641 (PSA_BITS_TO_BYTES(PSA_VENDOR_RSA_MAX_KEY_BITS)) 670 PSA_BITS_TO_BYTES(key_bits) - PSA_RSA_MINIMUM_PADDING_SIZE(alg) : \ 681 (PSA_BITS_TO_BYTES(PSA_VENDOR_RSA_MAX_KEY_BITS)) 784 (2 * PSA_BITS_TO_BYTES(key_bits) + 1) 791 (PSA_BITS_TO_BYTES(key_bits)) 947 PSA_BITS_TO_BYTES(key_bits) : \ [all …]
|
A D | crypto_extra.h | 566 (4 + (PSA_BITS_TO_BYTES(key_bits) + 5) * 3 /*without optional parts*/) 568 (4 + (PSA_BITS_TO_BYTES(key_bits) + 5) * 2 /*p, g*/ + 34 /*q*/)
|
/mbedtls-development/library/ |
A D | psa_crypto_ecp.c | 108 if( curve_bytes != PSA_BITS_TO_BYTES( curve_bits ) ) in mbedtls_psa_ecp_load_representation() 268 if( data_size < PSA_BITS_TO_BYTES( ecp->grp.nbits ) ) in mbedtls_psa_ecp_export_key() 274 PSA_BITS_TO_BYTES( ecp->grp.nbits ) ) ); in mbedtls_psa_ecp_export_key() 276 *data_length = PSA_BITS_TO_BYTES( ecp->grp.nbits ); in mbedtls_psa_ecp_export_key() 382 curve_bytes = PSA_BITS_TO_BYTES( ecp->grp.pbits ); in ecdsa_sign_hash() 458 curve_bytes = PSA_BITS_TO_BYTES( ecp->grp.pbits ); in ecdsa_verify_hash()
|
A D | psa_crypto_storage.h | 38 #define PSA_CRYPTO_MAX_STORAGE_SIZE ( PSA_BITS_TO_BYTES( PSA_MAX_KEY_BITS ) )
|
A D | psa_crypto.c | 4702 size_t bytes = PSA_BITS_TO_BYTES( bits ); in psa_generate_derived_key_internal() 5269 if( PSA_BITS_TO_BYTES( bits ) != *shared_secret_length ) in psa_key_agreement_ecdh()
|
/mbedtls-development/tests/src/ |
A D | psa_exercise_key.c | 642 TEST_EQUAL( exported_length, PSA_BITS_TO_BYTES( bits ) ); in mbedtls_test_psa_exported_key_sanity_check() 698 TEST_EQUAL( exported_length, PSA_BITS_TO_BYTES( bits ) ); in mbedtls_test_psa_exported_key_sanity_check() 748 TEST_EQUAL( PSA_BITS_TO_BYTES( bits ), exported_length ); in mbedtls_test_psa_exported_key_sanity_check() 758 TEST_EQUAL( 1 + 2 * PSA_BITS_TO_BYTES( bits ), exported_length ); in mbedtls_test_psa_exported_key_sanity_check()
|
/mbedtls-development/tests/suites/ |
A D | test_suite_psa_crypto_se_driver_hal.function | 355 actual_size = PSA_BITS_TO_BYTES( ram_slots[slot_number].bits ); 381 PSA_BITS_TO_BYTES( ram_slots[slot_number].bits ), 465 PSA_BITS_TO_BYTES( slot->bits ), 498 PSA_BITS_TO_BYTES( slot->bits ), 1341 TEST_EQUAL( key_material->len, PSA_BITS_TO_BYTES( bits ) );
|
A D | test_suite_psa_crypto.function | 6102 TEST_ASSERT( PSA_BITS_TO_BYTES( psa_get_key_bits( &attributes ) ) <= 6245 size_t capacity = PSA_BITS_TO_BYTES( derived_bits );
|
/mbedtls-development/docs/ |
A D | getting_started.md | 594 size_t capacity = PSA_BITS_TO_BYTES(derived_bits);
|
Completed in 32 milliseconds