/third_party/mbedtls/library/ |
D | psa_crypto_cipher.c | 202 operation->iv_length = PSA_CIPHER_IV_LENGTH( key_type, alg ); in psa_cipher_setup() 232 const uint8_t *iv, size_t iv_length ) in mbedtls_psa_cipher_set_iv() argument 234 if( iv_length != operation->iv_length ) in mbedtls_psa_cipher_set_iv() 239 iv, iv_length ) ) ); in mbedtls_psa_cipher_set_iv() 453 size_t iv_length, in mbedtls_psa_cipher_encrypt() argument 470 if( iv_length > 0 ) in mbedtls_psa_cipher_encrypt() 472 status = mbedtls_psa_cipher_set_iv( &operation, iv, iv_length ); in mbedtls_psa_cipher_encrypt() 522 if( operation.iv_length > 0 ) in mbedtls_psa_cipher_decrypt() 525 input, operation.iv_length ); in mbedtls_psa_cipher_decrypt() 530 status = mbedtls_psa_cipher_update( &operation, 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 | 877 size_t iv_length, in psa_driver_wrapper_cipher_encrypt() argument 900 iv_length, in psa_driver_wrapper_cipher_encrypt() 918 iv_length, in psa_driver_wrapper_cipher_encrypt() 937 iv_length, in psa_driver_wrapper_cipher_encrypt() 953 (void)iv_length; in psa_driver_wrapper_cipher_encrypt() 1193 size_t iv_length ) in psa_driver_wrapper_cipher_set_iv() argument 1201 iv_length ) ); in psa_driver_wrapper_cipher_set_iv() 1209 iv, iv_length ) ); in psa_driver_wrapper_cipher_set_iv() 1214 iv, iv_length ) ); in psa_driver_wrapper_cipher_set_iv() 1220 (void)iv_length; in psa_driver_wrapper_cipher_set_iv()
|
D | psa_crypto_driver_wrappers.h | 123 size_t iv_length, 156 size_t iv_length );
|
D | psa_crypto.c | 3356 size_t *iv_length ) in psa_cipher_generate_iv() argument 3398 *iv_length = default_iv_length; in psa_cipher_generate_iv() 3403 *iv_length = 0; in psa_cipher_generate_iv() 3412 size_t iv_length ) in psa_cipher_set_iv() argument 3428 if( iv_length > PSA_CIPHER_IV_MAX_SIZE ) in psa_cipher_set_iv() 3436 iv_length ); in psa_cipher_set_iv()
|
/third_party/mbedtls/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()
|
/third_party/mbedtls/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);
|
/third_party/mbedtls/include/psa/ |
D | crypto_builtin_primitives.h | 107 uint8_t MBEDTLS_PRIVATE(iv_length);
|
D | crypto.h | 1897 size_t *iv_length); 1938 size_t iv_length);
|
D | crypto_se_driver.h | 414 size_t iv_length);
|
/third_party/mbedtls/tests/src/ |
D | psa_exercise_key.c | 168 size_t iv_length = sizeof( iv ); in exercise_cipher_key() local 180 &iv_length ) ); in exercise_cipher_key() 202 iv_length = PSA_BLOCK_CIPHER_BLOCK_LENGTH( in exercise_cipher_key() 209 iv, iv_length ) ); in exercise_cipher_key()
|
/third_party/mbedtls/tests/suites/ |
D | test_suite_psa_crypto.function | 2868 data_t *input, int iv_length, 2890 iv_length ) ); 2912 size_t iv_length; 2935 &iv_length ), 3461 size_t iv_length = 0; 3489 &iv_length ) ); 3540 if( iv_length > 0 ) 3543 iv, iv_length ) );
|
D | test_suite_psa_crypto.data | 2210 CCM*-no-tag encrypt, iv_length = 14, bad 2214 CCM*-no-tag encrypt, iv_length = 13, good 2218 CCM*-no-tag encrypt, iv_length = 12, bad
|