Go to the source code of this file.
Functions | |
void | gostcrypt (gost_ctx *c, const byte *in, byte *out) |
void | gostdecrypt (gost_ctx *c, const byte *in, byte *out) |
void | gost_enc (gost_ctx *c, const byte *clear, byte *cipher, int blocks) |
void | gost_dec (gost_ctx *c, const byte *cipher, byte *clear, int blocks) |
void | gost_enc_cfb (gost_ctx *ctx, const byte *iv, const byte *clear, byte *cipher, int blocks) |
void | gost_dec_cfb (gost_ctx *ctx, const byte *iv, const byte *cipher, byte *clear, int blocks) |
void | gost_enc_with_key (gost_ctx *c, byte *key, byte *inblock, byte *outblock) |
void | gost_key (gost_ctx *c, const byte *k) |
void | gost_get_key (gost_ctx *c, byte *k) |
void | gost_init (gost_ctx *c, const gost_subst_block *b) |
void | gost_destroy (gost_ctx *c) |
void | mac_block (gost_ctx *c, byte *buffer, const byte *block) |
void | get_mac (byte *buffer, int nbits, byte *out) |
int | gost_mac (gost_ctx *ctx, int mac_len, const unsigned char *data, unsigned int data_len, unsigned char *mac) |
int | gost_mac_iv (gost_ctx *ctx, int mac_len, const unsigned char *iv, const unsigned char *data, unsigned int data_len, unsigned char *mac) |
void | cryptopro_key_meshing (gost_ctx *ctx, unsigned char *iv) |
void gost_init | ( | gost_ctx * | c, |
const gost_subst_block * | b | ||
) |
int gost_mac | ( | gost_ctx * | ctx, |
int | mac_len, | ||
const unsigned char * | data, | ||
unsigned int | data_len, | ||
unsigned char * | mac | ||
) |
int gost_mac_iv | ( | gost_ctx * | ctx, |
int | mac_len, | ||
const unsigned char * | iv, | ||
const unsigned char * | data, | ||
unsigned int | data_len, | ||
unsigned char * | mac | ||
) |
const byte CryptoProKeyMeshingKey[] |
gost_subst_block Gost28147_CryptoProParamSetA |
gost_subst_block Gost28147_CryptoProParamSetB |
gost_subst_block Gost28147_CryptoProParamSetC |
gost_subst_block Gost28147_CryptoProParamSetD |
gost_subst_block Gost28147_TestParamSet |
gost_subst_block GostR3411_94_CryptoProParamSet |
gost_subst_block GostR3411_94_TestParamSet |