/mbedtls-latest/tests/src/drivers/ |
D | test_driver_cipher.c | 36 size_t iv_length, in mbedtls_test_transparent_cipher_encrypt() argument 71 alg, iv, iv_length, input, input_length, in mbedtls_test_transparent_cipher_encrypt() 76 alg, iv, iv_length, input, input_length, in mbedtls_test_transparent_cipher_encrypt() 212 size_t iv_length) in mbedtls_test_transparent_cipher_set_iv() argument 227 operation, iv, iv_length); in mbedtls_test_transparent_cipher_set_iv() 229 return mbedtls_psa_cipher_set_iv(operation, iv, iv_length); in mbedtls_test_transparent_cipher_set_iv() 320 const uint8_t *iv, size_t iv_length, in mbedtls_test_opaque_cipher_encrypt() argument 329 (void) iv_length; in mbedtls_test_opaque_cipher_encrypt() 395 size_t iv_length) in mbedtls_test_opaque_cipher_set_iv() argument 399 (void) iv_length; in mbedtls_test_opaque_cipher_set_iv()
|
/mbedtls-latest/library/ |
D | psa_crypto_cipher.c | 354 operation->iv_length = PSA_CIPHER_IV_LENGTH(key_type, alg); in psa_cipher_setup() 384 const uint8_t *iv, size_t iv_length) in mbedtls_psa_cipher_set_iv() argument 386 if (iv_length != operation->iv_length) { in mbedtls_psa_cipher_set_iv() 392 iv, iv_length)); in mbedtls_psa_cipher_set_iv() 610 size_t iv_length, in mbedtls_psa_cipher_encrypt() argument 628 if (iv_length > 0) { in mbedtls_psa_cipher_encrypt() 629 status = mbedtls_psa_cipher_set_iv(&operation, iv, iv_length); in mbedtls_psa_cipher_encrypt() 684 if (operation.iv_length > 0) { in mbedtls_psa_cipher_decrypt() 686 input, operation.iv_length); in mbedtls_psa_cipher_decrypt() 694 mbedtls_buffer_offset_const(input, operation.iv_length), in mbedtls_psa_cipher_decrypt() [all …]
|
D | psa_crypto_cipher.h | 138 const uint8_t *iv, size_t iv_length); 260 size_t iv_length,
|
D | psa_crypto_driver_wrappers.h | 1199 size_t iv_length, in psa_driver_wrapper_cipher_encrypt() argument 1225 iv_length, in psa_driver_wrapper_cipher_encrypt() 1241 iv_length, in psa_driver_wrapper_cipher_encrypt() 1257 iv_length, in psa_driver_wrapper_cipher_encrypt() 1276 iv_length, in psa_driver_wrapper_cipher_encrypt() 1292 (void)iv_length; in psa_driver_wrapper_cipher_encrypt() 1574 size_t iv_length ) in psa_driver_wrapper_cipher_set_iv() argument 1582 iv_length ) ); in psa_driver_wrapper_cipher_set_iv() 1590 iv, iv_length ) ); in psa_driver_wrapper_cipher_set_iv() 1595 iv, iv_length ) ); in psa_driver_wrapper_cipher_set_iv() [all …]
|
D | psa_crypto.c | 4388 size_t *iv_length) argument 4428 *iv_length = default_iv_length; 4431 *iv_length = 0; 4444 size_t iv_length) argument 4460 if (iv_length > PSA_CIPHER_IV_MAX_SIZE) { 4465 LOCAL_INPUT_ALLOC(iv_external, iv_length, iv); 4469 iv_length);
|
/mbedtls-latest/tests/include/test/drivers/ |
D | cipher.h | 50 const uint8_t *iv, size_t iv_length, 78 const uint8_t *iv, size_t iv_length); 96 const uint8_t *iv, size_t iv_length, 124 const uint8_t *iv, size_t iv_length);
|
/mbedtls-latest/tests/src/ |
D | psa_exercise_key.c | 182 size_t iv_length; in exercise_cipher_key() local 194 iv_length = PSA_CIPHER_IV_LENGTH(key_type, alg); in exercise_cipher_key() 204 if (iv_length != 0) { in exercise_cipher_key() 207 &iv_length)); in exercise_cipher_key() 232 if (iv_length != 0) { in exercise_cipher_key() 234 iv, iv_length)); in exercise_cipher_key()
|
/mbedtls-latest/include/psa/ |
D | crypto_builtin_primitives.h | 104 uint8_t MBEDTLS_PRIVATE(iv_length);
|
D | crypto.h | 1879 size_t *iv_length); 1919 size_t iv_length);
|
D | crypto_se_driver.h | 402 size_t iv_length);
|
/mbedtls-latest/scripts/data_files/driver_templates/ |
D | psa_crypto_driver_wrappers.h.jinja | 1039 size_t iv_length, 1062 iv_length, 1080 iv_length, 1099 iv_length, 1115 (void)iv_length; 1356 size_t iv_length ) 1364 iv_length ) ); 1372 iv, iv_length ) ); 1377 iv, iv_length ) ); 1383 (void)iv_length;
|
/mbedtls-latest/tests/suites/ |
D | test_suite_psa_crypto.function | 4124 size_t iv_length = 0; 4159 &iv_length)); 4190 data_t *input, int iv_length, 4212 iv_length)); 4883 size_t iv_length = 0; 4910 &iv_length)); 4962 if (iv_length > 0) { 4964 iv, iv_length));
|
D | test_suite_psa_crypto.data | 2587 CCM*-no-tag encrypt, iv_length = 14, bad 2591 CCM*-no-tag encrypt, iv_length = 13, good 2595 CCM*-no-tag encrypt, iv_length = 12, bad
|