Gost2814789_encrypt
Gost2814789_encrypt(in, out, key);
Gost2814789_encrypt(iv, iv, key);
Gost2814789_encrypt(iv, iv, key);
Gost2814789_encrypt(ivec, ivec, key);
Gost2814789_encrypt(ivec, ivec, key);
Gost2814789_encrypt(ivec, out, key);
Gost2814789_encrypt(sessionKey + 0, wrappedKey + 8 + 0, &ctx);
Gost2814789_encrypt(sessionKey + 8, wrappedKey + 8 + 8, &ctx);
Gost2814789_encrypt(sessionKey + 16, wrappedKey + 8 + 16, &ctx);
Gost2814789_encrypt(sessionKey + 24, wrappedKey + 8 + 24, &ctx);
extern void Gost2814789_encrypt(const unsigned char *in, unsigned char *out,
Gost2814789_encrypt(H, S, &c->cipher);
Gost2814789_encrypt(H+8, S+8, &c->cipher);
Gost2814789_encrypt(H+16, S+16, &c->cipher);
Gost2814789_encrypt(H+24, S+24, &c->cipher);