Home
last modified time | relevance | path

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

12

/third_party/mbedtls/library/
Dpsa_crypto_driver_wrappers.c121 size_t key_buffer_size, in psa_driver_wrapper_sign_message() argument
143 key_buffer_size, in psa_driver_wrapper_sign_message()
164 key_buffer_size, in psa_driver_wrapper_sign_message()
184 key_buffer_size, in psa_driver_wrapper_sign_message()
196 size_t key_buffer_size, in psa_driver_wrapper_verify_message() argument
217 key_buffer_size, in psa_driver_wrapper_verify_message()
237 key_buffer_size, in psa_driver_wrapper_verify_message()
256 key_buffer_size, in psa_driver_wrapper_verify_message()
266 const uint8_t *key_buffer, size_t key_buffer_size, in psa_driver_wrapper_sign_hash() argument
303 key_buffer_size, in psa_driver_wrapper_sign_hash()
[all …]
Dpsa_crypto_driver_wrappers.h39 size_t key_buffer_size,
50 size_t key_buffer_size,
59 const uint8_t *key_buffer, size_t key_buffer_size,
65 const uint8_t *key_buffer, size_t key_buffer_size,
82 size_t key_buffer_size, psa_algorithm_t alg,
96 size_t key_buffer_size, psa_algorithm_t alg,
113 uint8_t *key_buffer, size_t key_buffer_size,
118 const uint8_t *key_buffer, size_t key_buffer_size,
123 const uint8_t *key_buffer, size_t key_buffer_size,
128 size_t *key_buffer_size);
[all …]
Dpsa_crypto_core.h289 uint8_t *key_buffer, size_t key_buffer_size,
316 const uint8_t *key_buffer, size_t key_buffer_size,
344 const uint8_t *key_buffer, size_t key_buffer_size,
369 size_t key_buffer_size,
411 const uint8_t *key_buffer, size_t key_buffer_size,
448 const uint8_t *key_buffer, size_t key_buffer_size,
487 const uint8_t *key_buffer, size_t key_buffer_size,
522 const uint8_t *key_buffer, size_t key_buffer_size,
595 size_t key_buffer_size,
711 size_t key_buffer_size, psa_algorithm_t alg,
[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,
261 size_t key_buffer_size,
319 size_t key_buffer_size,
Dpsa_crypto_ecp.h89 uint8_t *key_buffer, size_t key_buffer_size,
132 const uint8_t *key_buffer, size_t key_buffer_size,
156 uint8_t *key_buffer, size_t key_buffer_size, size_t *key_buffer_length);
192 const uint8_t *key_buffer, size_t key_buffer_size,
227 const uint8_t *key_buffer, size_t key_buffer_size,
275 const uint8_t *key_buffer, size_t key_buffer_size,
Dpsa_crypto_rsa.c135 uint8_t *key_buffer, size_t key_buffer_size, in mbedtls_psa_rsa_import_key() argument
159 key_buffer_size, in mbedtls_psa_rsa_import_key()
215 const uint8_t *key_buffer, size_t key_buffer_size, in mbedtls_psa_rsa_export_public_key() argument
222 attributes->core.type, key_buffer, key_buffer_size, &rsa); in mbedtls_psa_rsa_export_public_key()
273 uint8_t *key_buffer, size_t key_buffer_size, size_t *key_buffer_length) in mbedtls_psa_rsa_generate_key() argument
298 &rsa, key_buffer, key_buffer_size, in mbedtls_psa_rsa_generate_key()
345 const uint8_t *key_buffer, size_t key_buffer_size, in mbedtls_psa_rsa_sign_hash() argument
356 key_buffer_size, in mbedtls_psa_rsa_sign_hash()
444 const uint8_t *key_buffer, size_t key_buffer_size, in mbedtls_psa_rsa_verify_hash() argument
455 key_buffer_size, in mbedtls_psa_rsa_verify_hash()
[all …]
Dpsa_crypto_ecp.c165 uint8_t *key_buffer, size_t key_buffer_size, in mbedtls_psa_ecp_import_key() argument
194 key_buffer_size, in mbedtls_psa_ecp_import_key()
257 const uint8_t *key_buffer, size_t key_buffer_size, in mbedtls_psa_ecp_export_public_key() argument
265 key_buffer, key_buffer_size, &ecp); in mbedtls_psa_ecp_export_public_key()
286 uint8_t *key_buffer, size_t key_buffer_size, size_t *key_buffer_length) in mbedtls_psa_ecp_generate_key() argument
318 mbedtls_ecp_write_key(&ecp, key_buffer, key_buffer_size)); in mbedtls_psa_ecp_generate_key()
323 *key_buffer_length = 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
351 key_buffer_size, in mbedtls_psa_ecdsa_sign_hash()
424 const uint8_t *key_buffer, size_t key_buffer_size, in mbedtls_psa_ecdsa_verify_hash() argument
[all …]
Dpsa_crypto_mac.c285 size_t key_buffer_size, in psa_mac_setup() argument
304 (void) key_buffer_size; in psa_mac_setup()
312 key_buffer_size, in psa_mac_setup()
319 (void) key_buffer_size; in psa_mac_setup()
334 size_t key_buffer_size, in mbedtls_psa_mac_sign_setup() argument
338 key_buffer, key_buffer_size, alg); in mbedtls_psa_mac_sign_setup()
345 size_t key_buffer_size, in mbedtls_psa_mac_verify_setup() argument
349 key_buffer, key_buffer_size, alg); in mbedtls_psa_mac_verify_setup()
469 size_t key_buffer_size, in mbedtls_psa_mac_compute() argument
481 attributes, key_buffer, key_buffer_size, in mbedtls_psa_mac_compute()
Dpsa_crypto_cipher.c167 const uint8_t *key_buffer, size_t key_buffer_size, in psa_cipher_setup() argument
176 (void) key_buffer_size; in psa_cipher_setup()
245 const uint8_t *key_buffer, size_t key_buffer_size, in mbedtls_psa_cipher_encrypt_setup() argument
249 key_buffer, key_buffer_size, in mbedtls_psa_cipher_encrypt_setup()
256 const uint8_t *key_buffer, size_t key_buffer_size, in mbedtls_psa_cipher_decrypt_setup() argument
260 key_buffer, key_buffer_size, in mbedtls_psa_cipher_decrypt_setup()
485 size_t key_buffer_size, in mbedtls_psa_cipher_encrypt() argument
500 key_buffer, key_buffer_size, in mbedtls_psa_cipher_encrypt()
543 size_t key_buffer_size, in mbedtls_psa_cipher_decrypt() argument
556 key_buffer, key_buffer_size, in mbedtls_psa_cipher_decrypt()
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,
246 size_t key_buffer_size,
297 size_t key_buffer_size,
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,
Dpsa_crypto_aead.c42 size_t key_buffer_size, in psa_aead_setup() argument
50 (void) key_buffer_size; in psa_aead_setup()
135 const uint8_t *key_buffer, size_t key_buffer_size, in mbedtls_psa_aead_encrypt() argument
147 key_buffer_size, alg); in mbedtls_psa_aead_encrypt()
247 const uint8_t *key_buffer, size_t key_buffer_size, in mbedtls_psa_aead_decrypt() argument
259 key_buffer_size, alg); in mbedtls_psa_aead_decrypt()
341 size_t key_buffer_size, in mbedtls_psa_aead_encrypt_setup() argument
347 key_buffer_size, alg); in mbedtls_psa_aead_encrypt_setup()
362 size_t key_buffer_size, in mbedtls_psa_aead_decrypt_setup() argument
368 key_buffer_size, alg); in mbedtls_psa_aead_decrypt_setup()
Dpsa_crypto_mac.h61 size_t key_buffer_size,
101 size_t key_buffer_size,
136 size_t key_buffer_size,
/third_party/mbedtls/tests/src/drivers/
Dtest_driver_key_management.c113 size_t key_buffer_size = 0; in mbedtls_test_opaque_size_function() local
115 key_buffer_size = PSA_EXPORT_KEY_OUTPUT_SIZE(key_type, key_bits); in mbedtls_test_opaque_size_function()
116 if (key_buffer_size == 0) { in mbedtls_test_opaque_size_function()
121 key_buffer_size += TEST_DRIVER_KEY_CONTEXT_BASE_SIZE; in mbedtls_test_opaque_size_function()
122 return key_buffer_size; in mbedtls_test_opaque_size_function()
176 size_t key_buffer_size, in mbedtls_test_opaque_unwrap_key() argument
190 if (clear_key_size > key_buffer_size) { in mbedtls_test_opaque_unwrap_key()
265 size_t key_buffer_size, in mbedtls_test_transparent_import_key() argument
285 key_buffer, key_buffer_size, in mbedtls_test_transparent_import_key()
292 key_buffer, key_buffer_size, in mbedtls_test_transparent_import_key()
[all …]
Dtest_driver_signature.c57 size_t key_buffer_size, in sign_hash() argument
73 key_buffer, key_buffer_size, in sign_hash()
80 key_buffer, key_buffer_size, in sign_hash()
94 key_buffer, key_buffer_size, in sign_hash()
101 key_buffer, key_buffer_size, in sign_hash()
112 (void) key_buffer_size; in sign_hash()
125 size_t key_buffer_size, in verify_hash() argument
140 key_buffer, key_buffer_size, in verify_hash()
147 key_buffer, key_buffer_size, in verify_hash()
161 key_buffer, key_buffer_size, in verify_hash()
[all …]
Dtest_driver_mac.c37 size_t key_buffer_size, in mbedtls_test_transparent_mac_compute() argument
56 key_buffer, key_buffer_size, alg, in mbedtls_test_transparent_mac_compute()
62 attributes, key_buffer, key_buffer_size, alg, in mbedtls_test_transparent_mac_compute()
68 (void) key_buffer_size; in mbedtls_test_transparent_mac_compute()
86 size_t key_buffer_size, in mbedtls_test_transparent_mac_sign_setup() argument
101 key_buffer, key_buffer_size, alg); in mbedtls_test_transparent_mac_sign_setup()
105 operation, attributes, key_buffer, key_buffer_size, alg); in mbedtls_test_transparent_mac_sign_setup()
110 (void) key_buffer_size; in mbedtls_test_transparent_mac_sign_setup()
123 size_t key_buffer_size, in mbedtls_test_transparent_mac_verify_setup() argument
138 key_buffer, key_buffer_size, alg); in mbedtls_test_transparent_mac_verify_setup()
[all …]
Dtest_driver_aead.c37 const uint8_t *key_buffer, size_t key_buffer_size, in mbedtls_test_transparent_aead_encrypt() argument
55 key_buffer, key_buffer_size, in mbedtls_test_transparent_aead_encrypt()
64 attributes, key_buffer, key_buffer_size, in mbedtls_test_transparent_aead_encrypt()
73 (void) key_buffer_size; in mbedtls_test_transparent_aead_encrypt()
93 const uint8_t *key_buffer, size_t key_buffer_size, in mbedtls_test_transparent_aead_decrypt() argument
111 key_buffer, key_buffer_size, in mbedtls_test_transparent_aead_decrypt()
120 attributes, key_buffer, key_buffer_size, in mbedtls_test_transparent_aead_decrypt()
129 (void) key_buffer_size; in mbedtls_test_transparent_aead_decrypt()
150 const uint8_t *key_buffer, size_t key_buffer_size, in mbedtls_test_transparent_aead_encrypt_setup() argument
166 key_buffer_size, alg); in mbedtls_test_transparent_aead_encrypt_setup()
[all …]
Dtest_driver_key_agreement.c44 size_t key_buffer_size, in mbedtls_test_transparent_key_agreement() argument
75 key_buffer, key_buffer_size, in mbedtls_test_transparent_key_agreement()
82 key_buffer, key_buffer_size, in mbedtls_test_transparent_key_agreement()
89 (void) key_buffer_size; in mbedtls_test_transparent_key_agreement()
106 size_t key_buffer_size, in mbedtls_test_opaque_key_agreement() argument
116 (void) key_buffer_size; in mbedtls_test_opaque_key_agreement()
Dtest_driver_asymmetric_encryption.c38 size_t key_buffer_size, psa_algorithm_t alg, const uint8_t *input, in mbedtls_test_transparent_asymmetric_encrypt() argument
65 key_buffer, key_buffer_size, in mbedtls_test_transparent_asymmetric_encrypt()
70 attributes, key_buffer, key_buffer_size, in mbedtls_test_transparent_asymmetric_encrypt()
80 size_t key_buffer_size, psa_algorithm_t alg, const uint8_t *input, in mbedtls_test_transparent_asymmetric_decrypt() argument
107 key_buffer, key_buffer_size, in mbedtls_test_transparent_asymmetric_decrypt()
112 attributes, key_buffer, key_buffer_size, in mbedtls_test_transparent_asymmetric_decrypt()
Dtest_driver_cipher.c45 size_t key_buffer_size, in mbedtls_test_transparent_cipher_encrypt() argument
78 key_buffer, key_buffer_size, in mbedtls_test_transparent_cipher_encrypt()
83 attributes, key_buffer, key_buffer_size, in mbedtls_test_transparent_cipher_encrypt()
94 size_t key_buffer_size, in mbedtls_test_transparent_cipher_decrypt() argument
125 key_buffer, key_buffer_size, in mbedtls_test_transparent_cipher_decrypt()
130 attributes, key_buffer, key_buffer_size, in mbedtls_test_transparent_cipher_decrypt()
/third_party/mbedtls/scripts/data_files/driver_templates/
Dpsa_crypto_driver_wrappers.c.jinja128 size_t key_buffer_size,
150 key_buffer_size,
171 key_buffer_size,
191 key_buffer_size,
203 size_t key_buffer_size,
224 key_buffer_size,
244 key_buffer_size,
263 key_buffer_size,
273 const uint8_t *key_buffer, size_t key_buffer_size,
310 key_buffer_size,
[all …]
/third_party/mbedtls/tests/include/test/drivers/
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,
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,
Dkey_management.h108 size_t key_buffer_size,
117 size_t key_buffer_size,
124 uint8_t *key_buffer, size_t key_buffer_size, size_t *key_buffer_length);
Dkey_agreement.h54 size_t key_buffer_size,
65 size_t key_buffer_size,

12