/mbedtls-3.5.0/library/ |
D | psa_crypto_cipher.c | 236 operation->iv_length = PSA_CIPHER_IV_LENGTH(key_type, alg); in psa_cipher_setup() 266 const uint8_t *iv, size_t iv_length) in mbedtls_psa_cipher_set_iv() argument 268 if (iv_length != operation->iv_length) { in mbedtls_psa_cipher_set_iv() 274 iv, iv_length)); in mbedtls_psa_cipher_set_iv() 488 size_t iv_length, in mbedtls_psa_cipher_encrypt() argument 506 if (iv_length > 0) { in mbedtls_psa_cipher_encrypt() 507 status = mbedtls_psa_cipher_set_iv(&operation, iv, iv_length); in mbedtls_psa_cipher_encrypt() 562 if (operation.iv_length > 0) { in mbedtls_psa_cipher_decrypt() 564 input, operation.iv_length); in mbedtls_psa_cipher_decrypt() 572 mbedtls_buffer_offset_const(input, operation.iv_length), in mbedtls_psa_cipher_decrypt() [all …]
|
D | psa_crypto_cipher.h | 127 const uint8_t *iv, size_t iv_length); 249 size_t iv_length,
|
D | psa_crypto_driver_wrappers.c | 1330 size_t iv_length, in psa_driver_wrapper_cipher_encrypt() argument 1356 iv_length, in psa_driver_wrapper_cipher_encrypt() 1372 iv_length, in psa_driver_wrapper_cipher_encrypt() 1388 iv_length, in psa_driver_wrapper_cipher_encrypt() 1407 iv_length, in psa_driver_wrapper_cipher_encrypt() 1423 (void)iv_length; in psa_driver_wrapper_cipher_encrypt() 1705 size_t iv_length ) in psa_driver_wrapper_cipher_set_iv() argument 1713 iv_length ) ); in psa_driver_wrapper_cipher_set_iv() 1721 iv, iv_length ) ); in psa_driver_wrapper_cipher_set_iv() 1726 iv, iv_length ) ); in psa_driver_wrapper_cipher_set_iv() [all …]
|
D | psa_crypto_driver_wrappers.h | 159 size_t iv_length, 192 size_t iv_length);
|
D | psa_crypto.c | 4032 size_t *iv_length) argument 4070 *iv_length = default_iv_length; 4073 *iv_length = 0; 4082 size_t iv_length) argument 4096 if (iv_length > PSA_CIPHER_IV_MAX_SIZE) { 4103 iv_length);
|
/mbedtls-3.5.0/tests/src/drivers/ |
D | test_driver_cipher.c | 48 size_t iv_length, in mbedtls_test_transparent_cipher_encrypt() argument 79 alg, iv, iv_length, input, input_length, in mbedtls_test_transparent_cipher_encrypt() 84 alg, iv, iv_length, input, input_length, in mbedtls_test_transparent_cipher_encrypt() 220 size_t iv_length) in mbedtls_test_transparent_cipher_set_iv() argument 231 operation, iv, iv_length); in mbedtls_test_transparent_cipher_set_iv() 233 return mbedtls_psa_cipher_set_iv(operation, iv, iv_length); in mbedtls_test_transparent_cipher_set_iv() 324 const uint8_t *iv, size_t iv_length, in mbedtls_test_opaque_cipher_encrypt() argument 333 (void) iv_length; in mbedtls_test_opaque_cipher_encrypt() 399 size_t iv_length) in mbedtls_test_opaque_cipher_set_iv() argument 403 (void) iv_length; in mbedtls_test_opaque_cipher_set_iv()
|
/mbedtls-3.5.0/tests/include/test/drivers/ |
D | cipher.h | 56 const uint8_t *iv, size_t iv_length, 84 const uint8_t *iv, size_t iv_length); 102 const uint8_t *iv, size_t iv_length, 130 const uint8_t *iv, size_t iv_length);
|
/mbedtls-3.5.0/tests/src/ |
D | psa_exercise_key.c | 161 size_t iv_length; in exercise_cipher_key() local 172 iv_length = PSA_CIPHER_IV_LENGTH(key_type, alg); in exercise_cipher_key() 176 if (iv_length != 0) { in exercise_cipher_key() 179 &iv_length)); in exercise_cipher_key() 199 if (iv_length != 0) { in exercise_cipher_key() 201 iv, iv_length)); in exercise_cipher_key()
|
/mbedtls-3.5.0/include/psa/ |
D | crypto_builtin_primitives.h | 104 uint8_t MBEDTLS_PRIVATE(iv_length);
|
D | crypto.h | 1881 size_t *iv_length); 1921 size_t iv_length);
|
D | crypto_se_driver.h | 414 size_t iv_length);
|
/mbedtls-3.5.0/scripts/data_files/driver_templates/ |
D | psa_crypto_driver_wrappers.c.jinja | 1148 size_t iv_length, 1171 iv_length, 1189 iv_length, 1208 iv_length, 1224 (void)iv_length; 1465 size_t iv_length ) 1473 iv_length ) ); 1481 iv, iv_length ) ); 1486 iv, iv_length ) ); 1492 (void)iv_length;
|
/mbedtls-3.5.0/tests/suites/ |
D | test_suite_psa_crypto.function | 3776 size_t iv_length = 0; 3811 &iv_length)); 3842 data_t *input, int iv_length, 3864 iv_length)); 4535 size_t iv_length = 0; 4562 &iv_length)); 4613 if (iv_length > 0) { 4615 iv, iv_length));
|
D | test_suite_psa_crypto.data | 2421 CCM*-no-tag encrypt, iv_length = 14, bad 2425 CCM*-no-tag encrypt, iv_length = 13, good 2429 CCM*-no-tag encrypt, iv_length = 12, bad
|