Lines Matching defs:cipher
206 void gost_enc(gost_ctx *c,const byte *clear,byte *cipher, int blocks)
211 gostcrypt(c,clear,cipher);
213 cipher+=8;
217 void gost_dec(gost_ctx *c, const byte *cipher,byte *clear, int blocks)
222 gostdecrypt(c,cipher,clear);
224 cipher+=8;
229 void gost_enc_cfb(gost_ctx *ctx,const byte *iv,const byte *clear,byte *cipher, int blocks)
237 for(i=0,in=clear,out=cipher;i<blocks;i++,in+=8,out+=8)
247 void gost_dec_cfb(gost_ctx *ctx,const byte *iv,const byte *cipher,byte *clear, int blocks)
255 for(i=0,in=cipher,out=clear;i<blocks;i++,in+=8,out+=8)