Lines Matching defs:cipher
349 void gost_enc(gost_ctx * c, const byte * clear, byte * cipher, int blocks)
353 gostcrypt(c, clear, cipher);
355 cipher += 8;
360 void gost_dec(gost_ctx * c, const byte * cipher, byte * clear, int blocks)
364 gostdecrypt(c, cipher, clear);
366 cipher += 8;
372 byte * cipher, int blocks)
380 for (i = 0, in = clear, out = cipher; i < blocks; i++, in += 8, out += 8) {
389 void gost_dec_cfb(gost_ctx * ctx, const byte * iv, const byte * cipher,
398 for (i = 0, in = cipher, out = clear; i < blocks; i++, in += 8, out += 8) {