Lines Matching refs:iv_length
351 operation->iv_length = PSA_CIPHER_IV_LENGTH(key_type, alg); in psa_cipher_setup()
381 const uint8_t *iv, size_t iv_length) in mbedtls_psa_cipher_set_iv() argument
383 if (iv_length != operation->iv_length) { in mbedtls_psa_cipher_set_iv()
389 iv, iv_length)); in mbedtls_psa_cipher_set_iv()
607 size_t iv_length, in mbedtls_psa_cipher_encrypt() argument
625 if (iv_length > 0) { in mbedtls_psa_cipher_encrypt()
626 status = mbedtls_psa_cipher_set_iv(&operation, iv, iv_length); in mbedtls_psa_cipher_encrypt()
681 if (operation.iv_length > 0) { in mbedtls_psa_cipher_decrypt()
683 input, operation.iv_length); in mbedtls_psa_cipher_decrypt()
691 mbedtls_buffer_offset_const(input, operation.iv_length), in mbedtls_psa_cipher_decrypt()
692 input_length - operation.iv_length, in mbedtls_psa_cipher_decrypt()