Lines Matching defs:iv
371 void gost_enc_cfb(gost_ctx * ctx, const byte * iv, const byte * clear,
379 memcpy(cur_iv, iv, 8);
389 void gost_dec_cfb(gost_ctx * ctx, const byte * iv, const byte * cipher,
397 memcpy(cur_iv, iv, 8);
540 int gost_mac_iv(gost_ctx * ctx, int mac_len, const unsigned char *iv,
547 memcpy(buffer, iv, 8);
565 void cryptopro_key_meshing(gost_ctx * ctx, unsigned char *iv)
573 /* Encrypt iv with new key */
574 gostcrypt(ctx, iv, newiv);
575 memcpy(iv, newiv, 8);