Lines Matching refs:iv_length
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()
695 input_length - operation.iv_length, in mbedtls_psa_cipher_decrypt()