Lines Matching refs:byte
20 typedef unsigned char byte;
24 byte k8[16];
25 byte k7[16];
26 byte k6[16];
27 byte k5[16];
28 byte k4[16];
29 byte k3[16];
30 byte k2[16];
31 byte k1[16];
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);
49 /* Encrypts several full blocks in CFB mode using 8byte IV */
50 void gost_enc_cfb(gost_ctx * ctx, const byte * iv, const byte * clear,
51 byte * cipher, int blocks);
52 /* Decrypts several full blocks in CFB mode using 8byte IV */
53 void gost_dec_cfb(gost_ctx * ctx, const byte * iv, const byte * cipher,
54 byte * clear, int blocks);
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);
69 void gost_enc_with_key(gost_ctx *, byte * key, byte * inblock,
70 byte * outblock);
75 * Compute MAC of given length in bits from data, using non-zero 8-byte IV
82 void mac_block(gost_ctx * c, byte * buffer, const byte * block);
84 void get_mac(byte * buffer, int nbits, byte * out);
85 /* Implements cryptopro key meshing algorithm. Expect IV to be 8-byte size*/
95 extern const byte CryptoProKeyMeshingKey[];