Home
last modified time | relevance | path

Searched refs:key_buffer (Results 1 – 23 of 23) sorted by relevance

/openthread-3.6.0/third_party/mbedtls/repo/library/
Dpsa_crypto_driver_wrappers.c110 const uint8_t *key_buffer, in psa_driver_wrapper_sign_message() argument
132 key_buffer, in psa_driver_wrapper_sign_message()
153 key_buffer, in psa_driver_wrapper_sign_message()
173 key_buffer, in psa_driver_wrapper_sign_message()
185 const uint8_t *key_buffer, in psa_driver_wrapper_verify_message() argument
206 key_buffer, in psa_driver_wrapper_verify_message()
226 key_buffer, in psa_driver_wrapper_verify_message()
245 key_buffer, in psa_driver_wrapper_verify_message()
256 const uint8_t *key_buffer, size_t key_buffer_size, in psa_driver_wrapper_sign_hash() argument
274 drv_context, *( (psa_key_slot_number_t *)key_buffer ), in psa_driver_wrapper_sign_hash()
[all …]
Dpsa_crypto_driver_wrappers.h39 const uint8_t *key_buffer,
50 const uint8_t *key_buffer,
60 const uint8_t *key_buffer, size_t key_buffer_size,
66 const uint8_t *key_buffer, size_t key_buffer_size,
77 uint8_t *key_buffer, size_t key_buffer_size,
82 const uint8_t *key_buffer, size_t key_buffer_size,
87 const uint8_t *key_buffer, size_t key_buffer_size,
96 uint8_t *key_buffer, size_t key_buffer_size, size_t *key_buffer_length );
101 uint8_t *key_buffer, size_t key_buffer_size, size_t *key_buffer_length );
108 const uint8_t *key_buffer,
[all …]
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,
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,
Dpsa_crypto_core.h298 uint8_t *key_buffer, size_t key_buffer_size,
325 const uint8_t *key_buffer, size_t key_buffer_size,
353 const uint8_t *key_buffer, size_t key_buffer_size,
377 uint8_t *key_buffer,
420 const uint8_t *key_buffer, size_t key_buffer_size,
457 const uint8_t *key_buffer, size_t key_buffer_size,
496 const uint8_t *key_buffer, size_t key_buffer_size,
531 const uint8_t *key_buffer, size_t key_buffer_size,
Dpsa_crypto_mac.c157 const uint8_t *key_buffer ) in cmac_setup() argument
185 key_buffer, in cmac_setup()
277 const uint8_t *key_buffer, in psa_mac_setup() argument
297 status = cmac_setup( operation, attributes, key_buffer ); in psa_mac_setup()
305 key_buffer, in psa_mac_setup()
313 (void) key_buffer; in psa_mac_setup()
327 const uint8_t *key_buffer, in mbedtls_psa_mac_sign_setup() argument
332 key_buffer, key_buffer_size, alg ) ); in mbedtls_psa_mac_sign_setup()
338 const uint8_t *key_buffer, in mbedtls_psa_mac_verify_setup() argument
343 key_buffer, key_buffer_size, alg ) ); in mbedtls_psa_mac_verify_setup()
[all …]
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,
245 const uint8_t *key_buffer,
296 const uint8_t *key_buffer,
Dpsa_crypto_cipher.c134 const uint8_t *key_buffer, size_t key_buffer_size, in psa_cipher_setup() argument
163 memcpy( keys, key_buffer, 16 ); in psa_cipher_setup()
164 memcpy( keys + 16, key_buffer, 8 ); in psa_cipher_setup()
172 ret = mbedtls_cipher_setkey( &operation->ctx.cipher, key_buffer, in psa_cipher_setup()
211 const uint8_t *key_buffer, size_t key_buffer_size, in mbedtls_psa_cipher_encrypt_setup() argument
215 key_buffer, key_buffer_size, in mbedtls_psa_cipher_encrypt_setup()
222 const uint8_t *key_buffer, size_t key_buffer_size, in mbedtls_psa_cipher_decrypt_setup() argument
226 key_buffer, key_buffer_size, in mbedtls_psa_cipher_decrypt_setup()
448 const uint8_t *key_buffer, in mbedtls_psa_cipher_encrypt() argument
464 key_buffer, key_buffer_size, in mbedtls_psa_cipher_encrypt()
[all …]
Dpsa_crypto_aead.c79 const uint8_t *key_buffer, in psa_aead_setup() argument
111 key_buffer, (unsigned int) key_bits ) ); in psa_aead_setup()
130 key_buffer, (unsigned int) key_bits ) ); in psa_aead_setup()
147 key_buffer ) ); in psa_aead_setup()
155 (void) key_buffer; in psa_aead_setup()
173 const uint8_t *key_buffer, size_t key_buffer_size, in mbedtls_psa_aead_encrypt() argument
185 status = psa_aead_setup( &operation, attributes, key_buffer, alg ); in mbedtls_psa_aead_encrypt()
297 const uint8_t *key_buffer, size_t key_buffer_size, in mbedtls_psa_aead_decrypt() argument
309 status = psa_aead_setup( &operation, attributes, key_buffer, alg ); in mbedtls_psa_aead_decrypt()
Dpsa_crypto_mac.h60 const uint8_t *key_buffer,
100 const uint8_t *key_buffer,
135 const uint8_t *key_buffer,
Dpsa_crypto_ecp.c170 uint8_t *key_buffer, size_t key_buffer_size, in mbedtls_psa_ecp_import_key() argument
196 key_buffer, in mbedtls_psa_ecp_import_key()
260 const uint8_t *key_buffer, size_t key_buffer_size, in mbedtls_psa_ecp_export_public_key() argument
268 key_buffer, key_buffer_size, &ecp ); in mbedtls_psa_ecp_export_public_key()
288 uint8_t *key_buffer, size_t key_buffer_size, size_t *key_buffer_length ) in mbedtls_psa_ecp_generate_key() argument
319 mbedtls_ecp_write_key( &ecp, key_buffer, key_buffer_size ) ); in mbedtls_psa_ecp_generate_key()
338 const uint8_t *key_buffer, size_t key_buffer_size, in mbedtls_psa_ecdsa_sign_hash() argument
350 key_buffer, in mbedtls_psa_ecdsa_sign_hash()
412 const uint8_t *key_buffer, size_t key_buffer_size, in mbedtls_psa_ecdsa_verify_hash() argument
426 key_buffer, in mbedtls_psa_ecdsa_verify_hash()
Dpsa_crypto_rsa.c135 uint8_t *key_buffer, size_t key_buffer_size, in mbedtls_psa_rsa_import_key() argument
157 key_buffer, in mbedtls_psa_rsa_import_key()
226 const uint8_t *key_buffer, size_t key_buffer_size, in mbedtls_psa_rsa_export_public_key() argument
233 attributes->core.type, key_buffer, key_buffer_size, &rsa ); in mbedtls_psa_rsa_export_public_key()
281 uint8_t *key_buffer, size_t key_buffer_size, size_t *key_buffer_length ) in mbedtls_psa_rsa_generate_key() argument
304 &rsa, key_buffer, key_buffer_size, in mbedtls_psa_rsa_generate_key()
352 const uint8_t *key_buffer, size_t key_buffer_size, in mbedtls_psa_rsa_sign_hash() argument
362 key_buffer, in mbedtls_psa_rsa_sign_hash()
448 const uint8_t *key_buffer, size_t key_buffer_size, in mbedtls_psa_rsa_verify_hash() argument
458 key_buffer, in mbedtls_psa_rsa_verify_hash()
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,
Dpsa_crypto.c619 uint8_t *key_buffer, size_t key_buffer_size, in psa_import_key_into_slot() argument
647 memcpy( key_buffer, data, data_length ); in psa_import_key_into_slot()
661 key_buffer, key_buffer_size, in psa_import_key_into_slot()
673 key_buffer, key_buffer_size, in psa_import_key_into_slot()
1333 static psa_status_t psa_export_key_buffer_internal( const uint8_t *key_buffer, in psa_export_key_buffer_internal() argument
1341 memcpy( data, key_buffer, key_buffer_size ); in psa_export_key_buffer_internal()
1350 const uint8_t *key_buffer, size_t key_buffer_size, in psa_export_key_internal() argument
1360 key_buffer, key_buffer_size, in psa_export_key_internal()
1416 const uint8_t *key_buffer, in psa_export_public_key_internal() argument
1430 key_buffer, key_buffer_size, in psa_export_public_key_internal()
[all …]
/openthread-3.6.0/third_party/mbedtls/repo/tests/src/drivers/
Dtest_driver_signature.c60 const uint8_t *key_buffer, in sign_hash() argument
79 key_buffer, key_buffer_size, in sign_hash()
86 key_buffer, key_buffer_size, in sign_hash()
105 key_buffer, key_buffer_size, in sign_hash()
112 key_buffer, key_buffer_size, in sign_hash()
124 (void)key_buffer; in sign_hash()
137 const uint8_t *key_buffer, in verify_hash() argument
155 key_buffer, key_buffer_size, in verify_hash()
162 key_buffer, key_buffer_size, in verify_hash()
181 key_buffer, key_buffer_size, in verify_hash()
[all …]
Dtest_driver_mac.c40 const uint8_t *key_buffer, in mbedtls_test_transparent_mac_compute() argument
63 key_buffer, key_buffer_size, alg, in mbedtls_test_transparent_mac_compute()
69 attributes, key_buffer, key_buffer_size, alg, in mbedtls_test_transparent_mac_compute()
74 (void) key_buffer; in mbedtls_test_transparent_mac_compute()
92 const uint8_t *key_buffer, in mbedtls_test_transparent_mac_sign_setup() argument
111 key_buffer, key_buffer_size, alg ); in mbedtls_test_transparent_mac_sign_setup()
115 operation, attributes, key_buffer, key_buffer_size, alg ); in mbedtls_test_transparent_mac_sign_setup()
119 (void) key_buffer; in mbedtls_test_transparent_mac_sign_setup()
132 const uint8_t *key_buffer, in mbedtls_test_transparent_mac_verify_setup() argument
151 key_buffer, key_buffer_size, alg ); in mbedtls_test_transparent_mac_verify_setup()
[all …]
Dtest_driver_key_management.c165 uint8_t *key_buffer, in mbedtls_test_transparent_import_key() argument
185 key_buffer, key_buffer_size, in mbedtls_test_transparent_import_key()
192 key_buffer, key_buffer_size, in mbedtls_test_transparent_import_key()
204 key_buffer, key_buffer_size, in mbedtls_test_transparent_import_key()
211 key_buffer, key_buffer_size, in mbedtls_test_transparent_import_key()
218 (void)key_buffer; in mbedtls_test_transparent_import_key()
294 const uint8_t *key_buffer, size_t key_buffer_size, in mbedtls_test_transparent_export_public_key() argument
322 key_buffer, key_buffer_size, in mbedtls_test_transparent_export_public_key()
328 key_buffer, key_buffer_size, in mbedtls_test_transparent_export_public_key()
339 key_buffer, key_buffer_size, in mbedtls_test_transparent_export_public_key()
[all …]
Dtest_driver_aead.c36 const uint8_t *key_buffer, size_t key_buffer_size, in mbedtls_test_transparent_aead_encrypt() argument
54 attributes, key_buffer, key_buffer_size, in mbedtls_test_transparent_aead_encrypt()
67 const uint8_t *key_buffer, size_t key_buffer_size, in mbedtls_test_transparent_aead_decrypt() argument
85 attributes, key_buffer, key_buffer_size, in mbedtls_test_transparent_aead_decrypt()
Dtest_driver_cipher.c48 const uint8_t *key_buffer, in mbedtls_test_transparent_cipher_encrypt() argument
81 key_buffer, key_buffer_size, in mbedtls_test_transparent_cipher_encrypt()
86 attributes, key_buffer, key_buffer_size, in mbedtls_test_transparent_cipher_encrypt()
96 const uint8_t *key_buffer, in mbedtls_test_transparent_cipher_decrypt() argument
127 key_buffer, key_buffer_size, in mbedtls_test_transparent_cipher_decrypt()
132 attributes, key_buffer, key_buffer_size, in mbedtls_test_transparent_cipher_decrypt()
/openthread-3.6.0/third_party/mbedtls/repo/tests/include/test/drivers/
Dmac.h54 const uint8_t *key_buffer,
66 const uint8_t *key_buffer,
73 const uint8_t *key_buffer,
98 const uint8_t *key_buffer,
110 const uint8_t *key_buffer,
117 const uint8_t *key_buffer,
Daead.h54 const uint8_t *key_buffer, size_t key_buffer_size,
63 const uint8_t *key_buffer, size_t key_buffer_size,
Dkey_management.h91 uint8_t *key_buffer,
99 uint8_t *key_buffer, size_t key_buffer_size, size_t *key_buffer_length );
/openthread-3.6.0/third_party/mbedtls/repo/docs/proposed/
Dpsa-driver-interface.md183 2. `const uint8_t *key_buffer`: a key material or key context buffer.
191 1. `uint8_t *key_buffer`: a buffer for the key material or key context.
327 uint8_t *key_buffer,
332 uint8_t *key_buffer,
341 * The size of the key data buffer `key_buffer` is sufficient for the internal representation of the…
461 uint8_t *key_buffer,
472 4. Copy the validated key data from `data` to `key_buffer`. The output must be in the canonical for…
695 uint8_t *key_buffer,
698 const uint8_t *key_buffer,
736 uint8_t *key_buffer,
[all …]