/third_party/mbedtls/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 | 1163 size_t iv_length, in psa_driver_wrapper_cipher_encrypt() argument 1186 iv_length, in psa_driver_wrapper_cipher_encrypt() 1204 iv_length, in psa_driver_wrapper_cipher_encrypt() 1223 iv_length, in psa_driver_wrapper_cipher_encrypt() 1239 (void)iv_length; in psa_driver_wrapper_cipher_encrypt() 1480 size_t iv_length ) in psa_driver_wrapper_cipher_set_iv() argument 1488 iv_length ) ); in psa_driver_wrapper_cipher_set_iv() 1496 iv, iv_length ) ); in psa_driver_wrapper_cipher_set_iv() 1501 iv, iv_length ) ); in psa_driver_wrapper_cipher_set_iv() 1507 (void)iv_length; in psa_driver_wrapper_cipher_set_iv()
|
D | psa_crypto_driver_wrappers.h | 159 size_t iv_length, 192 size_t iv_length);
|
D | psa_crypto.c | 4003 size_t *iv_length) in psa_cipher_generate_iv() argument 4041 *iv_length = default_iv_length; in psa_cipher_generate_iv() 4044 *iv_length = 0; in psa_cipher_generate_iv() 4053 size_t iv_length) in psa_cipher_set_iv() argument 4067 if (iv_length > PSA_CIPHER_IV_MAX_SIZE) { in psa_cipher_set_iv() 4074 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 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()
|
/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/rust/crates/rust-openssl/openssl/src/ |
D | cipher_ctx.rs | 167 let iv_len = type_.map_or_else(|| self.iv_length(), |c| c.iv_length()); in cipher_init() 210 let iv_len = type_.map_or_else(|| self.iv_length(), |c| c.iv_length()); in seal_init() 266 let iv_len = type_.map_or_else(|| self.iv_length(), |c| c.iv_length()); in open_init() 371 pub fn iv_length(&self) -> usize { in iv_length() method 740 let mut iv = vec![0; cipher.iv_length()]; in seal_open() 815 let mut iv = vec![0; cipher.iv_length()]; in test_stream_cipher() 927 let mut iv = vec![0; cipher.iv_length()]; in output_buffer_too_small()
|
D | cipher.rs | 523 pub fn iv_length(&self) -> usize { in iv_length() method
|
/third_party/mbedtls/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()
|
/third_party/mbedtls/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);
|
/third_party/node/src/crypto/ |
D | crypto_cipher.cc | 75 int iv_length = EVP_CIPHER_iv_length(cipher); in GetCipherInfo() local 136 if (check_len != iv_length) in GetCipherInfo() 139 iv_length = check_len; in GetCipherInfo() 179 if (iv_length != 0 && in GetCipherInfo() 183 Int32::New(env->isolate(), iv_length)).IsNothing()) { in GetCipherInfo()
|
/third_party/mbedtls/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;
|
/third_party/mbedtls/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
|