Lines Matching refs:gost_ctx
39 } 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,
53 void gost_dec_cfb(gost_ctx * ctx, const byte * iv, const byte * cipher,
57 void gostcrypt(gost_ctx * c, const byte * in, byte * out);
59 void gostdecrypt(gost_ctx * c, const byte * in, byte * out);
61 void gost_key(gost_ctx * ctx, const byte * key);
63 void gost_get_key(gost_ctx * ctx, byte * key);
65 void gost_init(gost_ctx * ctx, const gost_subst_block * subst_block);
67 void gost_destroy(gost_ctx * ctx);
69 void gost_enc_with_key(gost_ctx *, byte * key, byte * inblock,
72 int gost_mac(gost_ctx * ctx, int hmac_len, const unsigned char *data,
78 int gost_mac_iv(gost_ctx * ctx, int hmac_len, const unsigned char *iv,
82 void mac_block(gost_ctx * c, byte * buffer, const byte * block);
86 void cryptopro_key_meshing(gost_ctx * ctx, unsigned char *iv);