/third_party/mbedtls/library/ |
D | psa_crypto_driver_wrappers.c | 121 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 …]
|
D | psa_crypto_driver_wrappers.h | 39 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 …]
|
D | psa_crypto_core.h | 289 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 …]
|
D | psa_crypto_rsa.h | 71 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,
|
D | psa_crypto_ecp.h | 89 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,
|
D | psa_crypto_rsa.c | 135 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 …]
|
D | psa_crypto_ecp.c | 165 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 …]
|
D | psa_crypto_mac.c | 285 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()
|
D | psa_crypto_cipher.c | 167 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()
|
D | psa_crypto_cipher.h | 70 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,
|
D | psa_crypto_aead.h | 81 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,
|
D | psa_crypto_aead.c | 42 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()
|
D | psa_crypto_mac.h | 61 size_t key_buffer_size, 101 size_t key_buffer_size, 136 size_t key_buffer_size,
|
/third_party/mbedtls/tests/src/drivers/ |
D | test_driver_key_management.c | 113 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 …]
|
D | test_driver_signature.c | 57 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 …]
|
D | test_driver_mac.c | 37 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 …]
|
D | test_driver_aead.c | 37 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 …]
|
D | test_driver_key_agreement.c | 44 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()
|
D | test_driver_asymmetric_encryption.c | 38 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()
|
D | test_driver_cipher.c | 45 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/ |
D | psa_crypto_driver_wrappers.c.jinja | 128 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/ |
D | mac.h | 51 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,
|
D | aead.h | 61 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,
|
D | key_management.h | 108 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);
|
D | key_agreement.h | 54 size_t key_buffer_size, 65 size_t key_buffer_size,
|