Lines Matching refs:iv
215 const unsigned char *iv, size_t iv_len ) in mbedtls_cipher_set_iv() argument
219 if( NULL == ctx || NULL == ctx->cipher_info || NULL == iv ) in mbedtls_cipher_set_iv()
237 memcpy( ctx->iv, iv, actual_iv_size ); in mbedtls_cipher_set_iv()
263 ctx->iv, ctx->iv_size, ad, ad_len ); in mbedtls_cipher_update_ad()
351 ctx->operation, block_size, ctx->iv, in mbedtls_cipher_update()
392 ctx->operation, ilen, ctx->iv, input, output ) ) ) in mbedtls_cipher_update()
408 ctx->operation, ilen, &ctx->unprocessed_len, ctx->iv, in mbedtls_cipher_update()
424 ilen, &ctx->unprocessed_len, ctx->iv, in mbedtls_cipher_update()
683 ctx->operation, mbedtls_cipher_get_block_size( ctx ), ctx->iv, in mbedtls_cipher_finish()
813 const unsigned char *iv, size_t iv_len, in mbedtls_cipher_crypt() argument
820 if( ( ret = mbedtls_cipher_set_iv( ctx, iv, iv_len ) ) != 0 ) in mbedtls_cipher_crypt()
842 const unsigned char *iv, size_t iv_len, in mbedtls_cipher_auth_encrypt() argument
853 iv, iv_len, ad, ad_len, input, output, in mbedtls_cipher_auth_encrypt()
862 iv, iv_len, ad, ad_len, input, output, in mbedtls_cipher_auth_encrypt()
874 const unsigned char *iv, size_t iv_len, in mbedtls_cipher_auth_decrypt() argument
887 iv, iv_len, ad, ad_len, in mbedtls_cipher_auth_decrypt()
903 iv, iv_len, ad, ad_len, in mbedtls_cipher_auth_decrypt()