Lines Matching defs:gost_ctx
40 } gost_ctx;
46 void gost_enc(gost_ctx *ctx, const byte *clear,byte *cipher, int blocks);
48 void gost_dec(gost_ctx *ctx, const byte *cipher,byte *clear, int blocks);
50 void gost_enc_cfb(gost_ctx *ctx,const byte *iv,const byte *clear,byte *cipher,int blocks);
52 void gost_dec_cfb(gost_ctx *ctx,const byte *iv,const byte *cipher,byte *clear,int blocks);
55 void gostcrypt(gost_ctx *c, const byte *in, byte *out);
57 void gostdecrypt(gost_ctx *c, const byte *in,byte *out);
59 void gost_key(gost_ctx *ctx, const byte *key);
61 void gost_get_key(gost_ctx *ctx, byte *key);
63 void gost_init(gost_ctx *ctx, const gost_subst_block *subst_block);
65 void gost_destroy(gost_ctx *ctx);
67 void gost_enc_with_key(gost_ctx *,byte *key,byte *inblock,byte *outblock);
69 int gost_mac(gost_ctx *ctx,int hmac_len,const unsigned char *data,
73 int gost_mac_iv(gost_ctx *ctx,int hmac_len,const unsigned char *iv,const unsigned char *data,
76 void mac_block(gost_ctx *c,byte *buffer,const byte *block);
80 void cryptopro_key_meshing(gost_ctx *ctx, unsigned char *iv);