Home
last modified time | relevance | path

Searched refs:key_buffer_length (Results 1 – 25 of 25) sorted by relevance

/external/mbedtls/tests/src/drivers/
Dtest_driver_key_management.c173 size_t *key_buffer_length) in mbedtls_test_opaque_unwrap_key() argument
188 *key_buffer_length = clear_key_size; in mbedtls_test_opaque_unwrap_key()
261 size_t *key_buffer_length, in mbedtls_test_transparent_import_key() argument
281 key_buffer_length, bits ) ); in mbedtls_test_transparent_import_key()
288 key_buffer_length, bits ) ); in mbedtls_test_transparent_import_key()
300 key_buffer_length, bits ) ); in mbedtls_test_transparent_import_key()
307 key_buffer_length, bits ) ); in mbedtls_test_transparent_import_key()
315 (void)key_buffer_length; in mbedtls_test_transparent_import_key()
329 size_t *key_buffer_length, in mbedtls_test_opaque_import_key() argument
362 *key_buffer_length = data_length; in mbedtls_test_opaque_import_key()
[all …]
/external/openthread/third_party/mbedtls/repo/tests/src/drivers/
Dtest_driver_key_management.c167 size_t *key_buffer_length, in mbedtls_test_transparent_import_key() argument
186 key_buffer_length, bits ) ); in mbedtls_test_transparent_import_key()
193 key_buffer_length, bits ) ); in mbedtls_test_transparent_import_key()
205 key_buffer_length, bits ) ); in mbedtls_test_transparent_import_key()
212 key_buffer_length, bits ) ); in mbedtls_test_transparent_import_key()
220 (void)key_buffer_length; in mbedtls_test_transparent_import_key()
410 uint8_t *key_buffer, size_t key_buffer_size, size_t *key_buffer_length ) in mbedtls_test_opaque_get_builtin_key() argument
429 *key_buffer_length = sizeof( psa_drv_slot_number_t ); in mbedtls_test_opaque_get_builtin_key()
449 *key_buffer_length = sizeof( psa_drv_slot_number_t ); in mbedtls_test_opaque_get_builtin_key()
/external/mbedtls/tests/include/test/drivers/
Dkey_management.h109 size_t *key_buffer_length,
118 size_t *key_buffer_length,
124 uint8_t *key_buffer, size_t key_buffer_size, size_t *key_buffer_length );
/external/openthread/third_party/mbedtls/repo/library/
Dpsa_crypto_rsa.h72 size_t *key_buffer_length, size_t *bits );
138 uint8_t *key_buffer, size_t key_buffer_size, size_t *key_buffer_length );
Dpsa_crypto_ecp.h81 size_t *key_buffer_length, size_t *bits );
147 uint8_t *key_buffer, size_t key_buffer_size, size_t *key_buffer_length );
Dpsa_crypto_rsa.c136 size_t *key_buffer_length, size_t *bits ) in mbedtls_psa_rsa_import_key() argument
159 key_buffer_length ); in mbedtls_psa_rsa_import_key()
281 uint8_t *key_buffer, size_t key_buffer_size, size_t *key_buffer_length ) in mbedtls_psa_rsa_generate_key() argument
305 key_buffer_length ); in mbedtls_psa_rsa_generate_key()
Dpsa_crypto_ecp.c171 size_t *key_buffer_length, size_t *bits ) in mbedtls_psa_ecp_import_key() argument
198 key_buffer_length ); in mbedtls_psa_ecp_import_key()
288 uint8_t *key_buffer, size_t key_buffer_size, size_t *key_buffer_length ) in mbedtls_psa_ecp_generate_key() argument
324 *key_buffer_length = key_buffer_size; in mbedtls_psa_ecp_generate_key()
Dpsa_crypto_driver_wrappers.c472 uint8_t *key_buffer, size_t key_buffer_size, size_t *key_buffer_length ) in psa_driver_wrapper_generate_key() argument
510 key_buffer_length ); in psa_driver_wrapper_generate_key()
520 attributes, key_buffer, key_buffer_size, key_buffer_length ); in psa_driver_wrapper_generate_key()
528 attributes, key_buffer, key_buffer_size, key_buffer_length ); in psa_driver_wrapper_generate_key()
548 size_t *key_buffer_length, in psa_driver_wrapper_import_key() argument
595 key_buffer_length, bits ); in psa_driver_wrapper_import_key()
605 key_buffer_length, bits ) ); in psa_driver_wrapper_import_key()
752 uint8_t *key_buffer, size_t key_buffer_size, size_t *key_buffer_length ) in psa_driver_wrapper_get_builtin_key() argument
762 key_buffer, key_buffer_size, key_buffer_length ) ); in psa_driver_wrapper_get_builtin_key()
768 (void) key_buffer_length; in psa_driver_wrapper_get_builtin_key()
Dpsa_crypto_driver_wrappers.h78 size_t *key_buffer_length, size_t *bits );
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 );
Dpsa_crypto_core.h299 size_t *key_buffer_length, size_t *bits );
379 size_t *key_buffer_length );
Dpsa_crypto_slot_management.c286 size_t key_buffer_length = 0; in psa_load_builtin_key_into_slot() local
333 slot->key.data, slot->key.bytes, &key_buffer_length ); in psa_load_builtin_key_into_slot()
338 slot->key.bytes = key_buffer_length; in psa_load_builtin_key_into_slot()
Dpsa_crypto.c620 size_t *key_buffer_length, size_t *bits ) in psa_import_key_into_slot() argument
648 *key_buffer_length = data_length; in psa_import_key_into_slot()
662 key_buffer_length, in psa_import_key_into_slot()
674 key_buffer_length, in psa_import_key_into_slot()
5209 uint8_t *key_buffer, size_t key_buffer_size, size_t *key_buffer_length ) in psa_generate_key_internal() argument
5238 key_buffer_length ) ); in psa_generate_key_internal()
5250 key_buffer_length ) ); in psa_generate_key_internal()
5255 (void)key_buffer_length; in psa_generate_key_internal()
/external/openthread/third_party/mbedtls/repo/tests/include/test/drivers/
Dkey_management.h93 size_t *key_buffer_length,
99 uint8_t *key_buffer, size_t key_buffer_size, size_t *key_buffer_length );
/external/mbedtls/library/
Dpsa_crypto_ecp.h81 size_t *key_buffer_length, size_t *bits );
147 uint8_t *key_buffer, size_t key_buffer_size, size_t *key_buffer_length );
Dpsa_crypto_rsa.h72 size_t *key_buffer_length, size_t *bits );
138 uint8_t *key_buffer, size_t key_buffer_size, size_t *key_buffer_length );
Dpsa_crypto_ecp.c168 size_t *key_buffer_length, size_t *bits ) in mbedtls_psa_ecp_import_key() argument
195 key_buffer_length ); in mbedtls_psa_ecp_import_key()
285 uint8_t *key_buffer, size_t key_buffer_size, size_t *key_buffer_length ) in mbedtls_psa_ecp_generate_key() argument
321 *key_buffer_length = key_buffer_size; in mbedtls_psa_ecp_generate_key()
Dpsa_crypto_driver_wrappers.c523 uint8_t *key_buffer, size_t key_buffer_size, size_t *key_buffer_length ) in psa_driver_wrapper_generate_key() argument
561 key_buffer_length ); in psa_driver_wrapper_generate_key()
571 attributes, key_buffer, key_buffer_size, key_buffer_length ); in psa_driver_wrapper_generate_key()
579 attributes, key_buffer, key_buffer_size, key_buffer_length ); in psa_driver_wrapper_generate_key()
599 size_t *key_buffer_length, in psa_driver_wrapper_import_key() argument
650 key_buffer_length, in psa_driver_wrapper_import_key()
665 key_buffer_length, bits ) ); in psa_driver_wrapper_import_key()
677 key_buffer_length, in psa_driver_wrapper_import_key()
845 uint8_t *key_buffer, size_t key_buffer_size, size_t *key_buffer_length ) in psa_driver_wrapper_get_builtin_key() argument
860 key_buffer_length in psa_driver_wrapper_get_builtin_key()
[all …]
Dpsa_crypto_core.h297 size_t *key_buffer_length, size_t *bits );
377 size_t *key_buffer_length );
Dpsa_crypto_rsa.c135 size_t *key_buffer_length, size_t *bits ) in mbedtls_psa_rsa_import_key() argument
158 key_buffer_length ); in mbedtls_psa_rsa_import_key()
280 uint8_t *key_buffer, size_t key_buffer_size, size_t *key_buffer_length ) in mbedtls_psa_rsa_generate_key() argument
304 key_buffer_length ); in mbedtls_psa_rsa_generate_key()
Dpsa_crypto_slot_management.c281 size_t key_buffer_length = 0; in psa_load_builtin_key_into_slot() local
328 slot->key.data, slot->key.bytes, &key_buffer_length ); in psa_load_builtin_key_into_slot()
333 slot->key.bytes = key_buffer_length; in psa_load_builtin_key_into_slot()
Dpsa_crypto_driver_wrappers.h77 size_t *key_buffer_length, size_t *bits );
101 uint8_t *key_buffer, size_t key_buffer_size, size_t *key_buffer_length );
106 uint8_t *key_buffer, size_t key_buffer_size, size_t *key_buffer_length );
Dpsa_crypto.c558 size_t *key_buffer_length, size_t *bits ) in psa_import_key_into_slot() argument
578 *key_buffer_length = data_length; in psa_import_key_into_slot()
592 key_buffer_length, in psa_import_key_into_slot()
604 key_buffer_length, in psa_import_key_into_slot()
6131 uint8_t *key_buffer, size_t key_buffer_size, size_t *key_buffer_length ) in psa_generate_key_internal() argument
6160 key_buffer_length ) ); in psa_generate_key_internal()
6172 key_buffer_length ) ); in psa_generate_key_internal()
6177 (void)key_buffer_length; in psa_generate_key_internal()
/external/mbedtls/scripts/data_files/driver_templates/
Dpsa_crypto_driver_wrappers.c.jinja530 uint8_t *key_buffer, size_t key_buffer_size, size_t *key_buffer_length )
568 key_buffer_length );
578 attributes, key_buffer, key_buffer_size, key_buffer_length );
586 attributes, key_buffer, key_buffer_size, key_buffer_length );
606 size_t *key_buffer_length,
616 key_buffer_length,
667 key_buffer_length, bits ) );
816 uint8_t *key_buffer, size_t key_buffer_size, size_t *key_buffer_length )
824 key_buffer_length
838 (void) key_buffer_length;
/external/openthread/third_party/mbedtls/repo/docs/proposed/
Dpsa-driver-interface.md193 2. `size_t *key_buffer_length`: the length of the data written to the key buffer in bytes.
329 size_t *key_buffer_length,
334 size_t *key_buffer_length);
463 size_t *key_buffer_length,
738 size_t *key_buffer_length,
743 size_t *key_buffer_length);
808 size_t *key_buffer_length);
821 …uffer` contain the key metadata and key context respectively, and `*key_buffer_length` contains th…
/external/mbedtls/docs/proposed/
Dpsa-driver-interface.md197 2. `size_t *key_buffer_length`: the length of the data written to the key buffer in bytes.
336 size_t *key_buffer_length,
341 size_t *key_buffer_length);
470 size_t *key_buffer_length,
745 size_t *key_buffer_length,
750 size_t *key_buffer_length);
815 size_t *key_buffer_length);
828 …uffer` contain the key metadata and key context respectively, and `*key_buffer_length` contains th…