Home
last modified time | relevance | path

Searched refs:key_buffer_size (Results 1 – 24 of 24) sorted by relevance

/mbedtls-development/library/
A Dpsa_crypto_driver_wrappers.c74 size_t key_buffer_size, in psa_driver_wrapper_sign_message() argument
149 size_t key_buffer_size, in psa_driver_wrapper_verify_message() argument
399 size_t *key_buffer_size ) in psa_driver_wrapper_get_key_buffer_size_from_key_data() argument
405 *key_buffer_size = 0; in psa_driver_wrapper_get_key_buffer_size_from_key_data()
447 *key_buffer_size = 0; in psa_driver_wrapper_get_key_buffer_size()
552 size_t key_buffer_size, in psa_driver_wrapper_import_key() argument
836 size_t key_buffer_size, in psa_driver_wrapper_cipher_encrypt() argument
918 size_t key_buffer_size, in psa_driver_wrapper_cipher_decrypt() argument
1950 size_t key_buffer_size, in psa_driver_wrapper_mac_compute() argument
2019 size_t key_buffer_size, in psa_driver_wrapper_mac_sign_setup() argument
[all …]
A Dpsa_crypto_ecp.c196 uint8_t *key_buffer, size_t key_buffer_size, in ecp_import_key() argument
286 const uint8_t *key_buffer, size_t key_buffer_size, in ecp_export_public_key() argument
294 key_buffer, key_buffer_size, &ecp ); in ecp_export_public_key()
350 *key_buffer_length = key_buffer_size; in ecp_generate_key()
364 const uint8_t *key_buffer, size_t key_buffer_size, in ecdsa_sign_hash() argument
438 const uint8_t *key_buffer, size_t key_buffer_size, in ecdsa_verify_hash() argument
504 uint8_t *key_buffer, size_t key_buffer_size, in mbedtls_psa_ecp_import_key() argument
514 const uint8_t *key_buffer, size_t key_buffer_size, in mbedtls_psa_ecp_export_public_key() argument
578 uint8_t *key_buffer, size_t key_buffer_size, in mbedtls_test_driver_ecp_import_key() argument
628 (void)key_buffer_size; in mbedtls_transparent_test_driver_ecdsa_sign_hash()
[all …]
A Dpsa_crypto_driver_wrappers.h34 size_t key_buffer_size,
45 size_t key_buffer_size,
54 const uint8_t *key_buffer, size_t key_buffer_size,
71 uint8_t *key_buffer, size_t key_buffer_size,
86 size_t *key_buffer_size );
92 size_t *key_buffer_size );
114 size_t key_buffer_size,
125 size_t key_buffer_size,
283 size_t key_buffer_size,
295 size_t key_buffer_size,
[all …]
A Dpsa_crypto_rsa.c162 uint8_t *key_buffer, size_t key_buffer_size, in rsa_import_key() argument
253 const uint8_t *key_buffer, size_t key_buffer_size, in rsa_export_public_key() argument
378 const uint8_t *key_buffer, size_t key_buffer_size, in rsa_sign_hash() argument
567 uint8_t *key_buffer, size_t key_buffer_size, in mbedtls_psa_rsa_import_key() argument
609 key_buffer, key_buffer_size, in mbedtls_psa_rsa_sign_hash()
622 key_buffer, key_buffer_size, in mbedtls_psa_rsa_verify_hash()
641 uint8_t *key_buffer, size_t key_buffer_size, in mbedtls_test_driver_rsa_import_key() argument
683 key_buffer, key_buffer_size, in mbedtls_transparent_test_driver_rsa_sign_hash()
689 (void)key_buffer_size; in mbedtls_transparent_test_driver_rsa_sign_hash()
710 key_buffer, key_buffer_size, in mbedtls_transparent_test_driver_rsa_verify_hash()
[all …]
A Dpsa_crypto_ecp.h80 uint8_t *key_buffer, size_t key_buffer_size,
123 const uint8_t *key_buffer, size_t key_buffer_size,
147 uint8_t *key_buffer, size_t key_buffer_size, size_t *key_buffer_length );
183 const uint8_t *key_buffer, size_t key_buffer_size,
218 const uint8_t *key_buffer, size_t key_buffer_size,
230 uint8_t *key_buffer, size_t key_buffer_size,
235 const uint8_t *key_buffer, size_t key_buffer_size,
240 uint8_t *key_buffer, size_t key_buffer_size, size_t *key_buffer_length );
244 const uint8_t *key_buffer, size_t key_buffer_size,
250 const uint8_t *key_buffer, size_t key_buffer_size,
A Dpsa_crypto_rsa.h71 uint8_t *key_buffer, size_t key_buffer_size,
114 const uint8_t *key_buffer, size_t key_buffer_size,
138 uint8_t *key_buffer, size_t key_buffer_size, size_t *key_buffer_length );
175 const uint8_t *key_buffer, size_t key_buffer_size,
211 const uint8_t *key_buffer, size_t key_buffer_size,
224 uint8_t *key_buffer, size_t key_buffer_size,
229 const uint8_t *key_buffer, size_t key_buffer_size,
238 const uint8_t *key_buffer, size_t key_buffer_size,
244 const uint8_t *key_buffer, size_t key_buffer_size,
A Dpsa_crypto_mac.h61 size_t key_buffer_size,
101 size_t key_buffer_size,
136 size_t key_buffer_size,
285 size_t key_buffer_size,
297 size_t key_buffer_size,
304 size_t key_buffer_size,
329 size_t key_buffer_size,
341 size_t key_buffer_size,
348 size_t key_buffer_size,
A Dpsa_crypto_cipher.c158 const uint8_t *key_buffer, size_t key_buffer_size, in cipher_setup() argument
167 (void)key_buffer_size; in cipher_setup()
234 const uint8_t *key_buffer, size_t key_buffer_size, in cipher_encrypt_setup() argument
238 key_buffer, key_buffer_size, in cipher_encrypt_setup()
245 const uint8_t *key_buffer, size_t key_buffer_size, in cipher_decrypt_setup() argument
249 key_buffer, key_buffer_size, in cipher_decrypt_setup()
578 const uint8_t *key_buffer, size_t key_buffer_size, in mbedtls_psa_cipher_encrypt_setup() argument
588 const uint8_t *key_buffer, size_t key_buffer_size, in mbedtls_psa_cipher_decrypt_setup() argument
665 const uint8_t *key_buffer, size_t key_buffer_size, in mbedtls_transparent_test_driver_cipher_encrypt_setup() argument
714 size_t key_buffer_size, in mbedtls_transparent_test_driver_cipher_encrypt() argument
[all …]
A Dpsa_crypto_mac.c453 size_t key_buffer_size, in mac_compute() argument
493 size_t key_buffer_size, in mbedtls_psa_mac_compute() argument
510 size_t key_buffer_size, in mbedtls_psa_mac_sign_setup() argument
521 size_t key_buffer_size, in mbedtls_psa_mac_verify_setup() argument
586 size_t key_buffer_size, in mbedtls_transparent_test_driver_mac_compute() argument
606 size_t key_buffer_size, in mbedtls_transparent_test_driver_mac_sign_setup() argument
620 size_t key_buffer_size, in mbedtls_transparent_test_driver_mac_verify_setup() argument
673 size_t key_buffer_size, in mbedtls_opaque_test_driver_mac_compute() argument
684 (void) key_buffer_size; in mbedtls_opaque_test_driver_mac_compute()
698 size_t key_buffer_size, in mbedtls_opaque_test_driver_mac_sign_setup() argument
[all …]
A Dpsa_crypto_cipher.h70 const uint8_t *key_buffer, size_t key_buffer_size,
100 const uint8_t *key_buffer, size_t key_buffer_size,
250 size_t key_buffer_size,
299 size_t key_buffer_size,
315 const uint8_t *key_buffer, size_t key_buffer_size,
321 const uint8_t *key_buffer, size_t key_buffer_size,
343 size_t key_buffer_size,
354 size_t key_buffer_size,
A Dpsa_crypto_core.h294 uint8_t *key_buffer, size_t key_buffer_size,
321 const uint8_t *key_buffer, size_t key_buffer_size,
349 const uint8_t *key_buffer, size_t key_buffer_size,
374 size_t key_buffer_size,
416 const uint8_t *key_buffer, size_t key_buffer_size,
453 const uint8_t *key_buffer, size_t key_buffer_size,
492 const uint8_t *key_buffer, size_t key_buffer_size,
527 const uint8_t *key_buffer, size_t key_buffer_size,
A Dpsa_crypto_aead.h81 const uint8_t *key_buffer, size_t key_buffer_size,
144 const uint8_t *key_buffer, size_t key_buffer_size,
191 size_t key_buffer_size,
234 size_t key_buffer_size,
A Dpsa_crypto_aead.c45 size_t key_buffer_size, in psa_aead_setup() argument
54 ( void ) key_buffer_size; in psa_aead_setup()
141 const uint8_t *key_buffer, size_t key_buffer_size, in mbedtls_psa_aead_encrypt() argument
153 key_buffer_size, alg ); in mbedtls_psa_aead_encrypt()
252 const uint8_t *key_buffer, size_t key_buffer_size, in mbedtls_psa_aead_decrypt() argument
264 key_buffer_size, alg ); in mbedtls_psa_aead_decrypt()
344 size_t key_buffer_size, in mbedtls_psa_aead_encrypt_setup() argument
357 key_buffer_size, alg ); in mbedtls_psa_aead_encrypt_setup()
371 size_t key_buffer_size, in mbedtls_psa_aead_decrypt_setup() argument
384 key_buffer_size, alg ); in mbedtls_psa_aead_decrypt_setup()
A Dpsa_crypto.c577 (void)key_buffer_size; in psa_import_key_into_slot()
1266 if( key_buffer_size > data_size ) in psa_export_key_buffer_internal()
1269 memset( data + key_buffer_size, 0, in psa_export_key_buffer_internal()
1270 data_size - key_buffer_size ); in psa_export_key_buffer_internal()
1271 *data_length = key_buffer_size; in psa_export_key_buffer_internal()
1344 size_t key_buffer_size, in psa_export_public_key_internal() argument
2795 size_t key_buffer_size, in psa_sign_message_builtin() argument
2843 size_t key_buffer_size, in psa_verify_message_builtin() argument
2934 (void)key_buffer_size; in psa_sign_hash_builtin()
3005 (void)key_buffer_size; in psa_verify_hash_builtin()
[all …]
A Dpsa_crypto_slot_management.c285 size_t key_buffer_size = 0; in psa_load_builtin_key_into_slot() local
321 &key_buffer_size ); in psa_load_builtin_key_into_slot()
327 status = psa_allocate_buffer_to_slot( slot, key_buffer_size ); in psa_load_builtin_key_into_slot()
/mbedtls-development/tests/src/drivers/
A Dtest_driver_key_management.c74 size_t key_buffer_size = 0; in mbedtls_test_opaque_size_function() local
77 if( key_buffer_size == 0 ) in mbedtls_test_opaque_size_function()
82 return( key_buffer_size ); in mbedtls_test_opaque_size_function()
134 size_t key_buffer_size, in mbedtls_test_opaque_unwrap_key() argument
147 if( clear_key_size > key_buffer_size ) in mbedtls_test_opaque_unwrap_key()
215 size_t key_buffer_size, in mbedtls_test_transparent_import_key() argument
256 (void)key_buffer_size; in mbedtls_test_transparent_import_key()
271 size_t key_buffer_size, in mbedtls_test_opaque_import_key() argument
309 key_buffer_size, in mbedtls_test_opaque_import_key()
324 key_buffer_size, in mbedtls_test_opaque_import_key()
[all …]
A Dtest_driver_signature.c49 size_t key_buffer_size, in sign_hash() argument
63 key_buffer, key_buffer_size, in sign_hash()
85 key_buffer, key_buffer_size, in sign_hash()
100 (void)key_buffer_size; in sign_hash()
114 size_t key_buffer_size, in verify_hash() argument
127 key_buffer, key_buffer_size, in verify_hash()
143 key_buffer, key_buffer_size, in verify_hash()
158 (void)key_buffer_size; in verify_hash()
172 size_t key_buffer_size, in mbedtls_test_transparent_signature_sign_message() argument
240 size_t key_buffer_size, in mbedtls_test_transparent_signature_verify_message() argument
[all …]
A Dtest_driver_mac.c33 size_t key_buffer_size, in mbedtls_test_transparent_mac_compute() argument
52 attributes, key_buffer, key_buffer_size, alg, in mbedtls_test_transparent_mac_compute()
64 size_t key_buffer_size, in mbedtls_test_transparent_mac_sign_setup() argument
78 operation, attributes, key_buffer, key_buffer_size, alg ); in mbedtls_test_transparent_mac_sign_setup()
88 size_t key_buffer_size, in mbedtls_test_transparent_mac_verify_setup() argument
102 operation, attributes, key_buffer, key_buffer_size, alg ); in mbedtls_test_transparent_mac_verify_setup()
197 size_t key_buffer_size, in mbedtls_test_opaque_mac_compute() argument
216 attributes, key_buffer, key_buffer_size, alg, in mbedtls_test_opaque_mac_compute()
228 size_t key_buffer_size, in mbedtls_test_opaque_mac_sign_setup() argument
242 operation, attributes, key_buffer, key_buffer_size, alg ); in mbedtls_test_opaque_mac_sign_setup()
[all …]
A Dtest_driver_aead.c33 const uint8_t *key_buffer, size_t key_buffer_size, in mbedtls_test_transparent_aead_encrypt() argument
51 attributes, key_buffer, key_buffer_size, in mbedtls_test_transparent_aead_encrypt()
64 const uint8_t *key_buffer, size_t key_buffer_size, in mbedtls_test_transparent_aead_decrypt() argument
82 attributes, key_buffer, key_buffer_size, in mbedtls_test_transparent_aead_decrypt()
96 const uint8_t *key_buffer, size_t key_buffer_size, in mbedtls_test_transparent_aead_encrypt_setup() argument
110 key_buffer_size, alg ); in mbedtls_test_transparent_aead_encrypt_setup()
119 const uint8_t *key_buffer, size_t key_buffer_size, in mbedtls_test_transparent_aead_decrypt_setup() argument
133 key_buffer_size, alg ); in mbedtls_test_transparent_aead_decrypt_setup()
A Dtest_driver_cipher.c41 size_t key_buffer_size, in mbedtls_test_transparent_cipher_encrypt() argument
70 attributes, key_buffer, key_buffer_size, in mbedtls_test_transparent_cipher_encrypt()
78 size_t key_buffer_size, in mbedtls_test_transparent_cipher_decrypt() argument
105 attributes, key_buffer, key_buffer_size, in mbedtls_test_transparent_cipher_decrypt()
/mbedtls-development/tests/include/test/drivers/
A Dmac.h51 size_t key_buffer_size,
63 size_t key_buffer_size,
70 size_t key_buffer_size,
95 size_t key_buffer_size,
107 size_t key_buffer_size,
114 size_t key_buffer_size,
A Daead.h61 const uint8_t *key_buffer, size_t key_buffer_size,
70 const uint8_t *key_buffer, size_t key_buffer_size,
80 const uint8_t *key_buffer, size_t key_buffer_size,
86 const uint8_t *key_buffer, size_t key_buffer_size,
A Dkey_management.h97 size_t key_buffer_size,
106 size_t key_buffer_size,
113 uint8_t *key_buffer, size_t key_buffer_size, size_t *key_buffer_length );
/mbedtls-development/docs/proposed/
A Dpsa-driver-interface.md184 3. `size_t key_buffer_size`: the size of the key buffer in bytes.
331 size_t key_buffer_size,
336 size_t key_buffer_size,
465 size_t key_buffer_size,
699 size_t key_buffer_size);
702 size_t key_buffer_size);
740 size_t key_buffer_size,
745 size_t key_buffer_size,
760 size_t key_buffer_size,
766 size_t key_buffer_size,
[all …]

Completed in 41 milliseconds