/mbedtls-3.4.0/library/ |
D | psa_crypto_cipher.c | 234 operation->iv_length = PSA_CIPHER_IV_LENGTH( key_type, alg ); in psa_cipher_setup() 264 const uint8_t *iv, size_t iv_length ) in mbedtls_psa_cipher_set_iv() argument 266 if( iv_length != operation->iv_length ) in mbedtls_psa_cipher_set_iv() 271 iv, iv_length ) ) ); in mbedtls_psa_cipher_set_iv() 489 size_t iv_length, in mbedtls_psa_cipher_encrypt() argument 506 if( iv_length > 0 ) in mbedtls_psa_cipher_encrypt() 508 status = mbedtls_psa_cipher_set_iv( &operation, iv, iv_length ); in mbedtls_psa_cipher_encrypt() 558 if( operation.iv_length > 0 ) in mbedtls_psa_cipher_decrypt() 561 input, operation.iv_length ); in mbedtls_psa_cipher_decrypt() 568 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 | 1078 size_t iv_length, in psa_driver_wrapper_cipher_encrypt() argument 1104 iv_length, in psa_driver_wrapper_cipher_encrypt() 1120 iv_length, in psa_driver_wrapper_cipher_encrypt() 1136 iv_length, in psa_driver_wrapper_cipher_encrypt() 1155 iv_length, in psa_driver_wrapper_cipher_encrypt() 1171 (void)iv_length; in psa_driver_wrapper_cipher_encrypt() 1452 size_t iv_length ) in psa_driver_wrapper_cipher_set_iv() argument 1460 iv_length ) ); in psa_driver_wrapper_cipher_set_iv() 1468 iv, iv_length ) ); in psa_driver_wrapper_cipher_set_iv() 1473 iv, iv_length ) ); in psa_driver_wrapper_cipher_set_iv() [all …]
|
D | psa_crypto_driver_wrappers.h | 122 size_t iv_length, 155 size_t iv_length );
|
D | psa_crypto.c | 3233 size_t *iv_length ) in psa_cipher_generate_iv() argument 3275 *iv_length = default_iv_length; in psa_cipher_generate_iv() 3280 *iv_length = 0; in psa_cipher_generate_iv() 3289 size_t iv_length ) in psa_cipher_set_iv() argument 3305 if( iv_length > PSA_CIPHER_IV_MAX_SIZE ) in psa_cipher_set_iv() 3313 iv_length ); in psa_cipher_set_iv()
|
/mbedtls-3.4.0/tests/src/drivers/ |
D | test_driver_cipher.c | 48 size_t iv_length, in mbedtls_test_transparent_cipher_encrypt() argument 78 alg, iv, iv_length, input, input_length, in mbedtls_test_transparent_cipher_encrypt() 83 alg, iv, iv_length, input, input_length, in mbedtls_test_transparent_cipher_encrypt() 216 size_t iv_length) in mbedtls_test_transparent_cipher_set_iv() argument 226 operation, iv, iv_length ) ); in mbedtls_test_transparent_cipher_set_iv() 228 return( mbedtls_psa_cipher_set_iv( operation, iv, iv_length ) ); in mbedtls_test_transparent_cipher_set_iv() 317 const uint8_t *iv, size_t iv_length, in mbedtls_test_opaque_cipher_encrypt() argument 326 (void) iv_length; in mbedtls_test_opaque_cipher_encrypt() 392 size_t iv_length) in mbedtls_test_opaque_cipher_set_iv() argument 396 (void) iv_length; in mbedtls_test_opaque_cipher_set_iv()
|
/mbedtls-3.4.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.4.0/tests/src/ |
D | psa_exercise_key.c | 168 size_t iv_length; in exercise_cipher_key() local 179 iv_length = PSA_CIPHER_IV_LENGTH( key_type, alg ); in exercise_cipher_key() 184 if( iv_length != 0 ) in exercise_cipher_key() 188 &iv_length ) ); in exercise_cipher_key() 210 if( iv_length != 0 ) in exercise_cipher_key() 213 iv, iv_length ) ); in exercise_cipher_key()
|
/mbedtls-3.4.0/include/psa/ |
D | crypto_builtin_primitives.h | 106 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.4.0/scripts/data_files/driver_templates/ |
D | psa_crypto_driver_wrappers.c.jinja | 902 size_t iv_length, 925 iv_length, 943 iv_length, 962 iv_length, 978 (void)iv_length; 1218 size_t iv_length ) 1226 iv_length ) ); 1234 iv, iv_length ) ); 1239 iv, iv_length ) ); 1245 (void)iv_length;
|
/mbedtls-3.4.0/tests/suites/ |
D | test_suite_psa_crypto.function | 3832 size_t iv_length = 0; 3870 &iv_length ) ); 3906 data_t *input, int iv_length, 3928 iv_length ) ); 4617 size_t iv_length = 0; 4645 &iv_length ) ); 4696 if( iv_length > 0 ) 4699 iv, iv_length ) );
|
D | test_suite_psa_crypto.data | 2418 CCM*-no-tag encrypt, iv_length = 14, bad 2422 CCM*-no-tag encrypt, iv_length = 13, good 2426 CCM*-no-tag encrypt, iv_length = 12, bad
|