2015-01-22 03:29:12 +00:00
|
|
|
GOST_KEY_TRANSPORT *make_rfc4490_keytransport_2001(EVP_PKEY *pubk,
|
|
|
|
BIGNUM *eph_key,
|
|
|
|
const unsigned char *key,
|
|
|
|
size_t keylen,
|
|
|
|
unsigned char *ukm,
|
|
|
|
size_t ukm_len);
|
2006-11-08 09:45:12 +00:00
|
|
|
|
|
|
|
int decrypt_rfc4490_shared_key_2001(EVP_PKEY *priv,
|
2015-01-22 03:29:12 +00:00
|
|
|
GOST_KEY_TRANSPORT * gkt,
|
|
|
|
unsigned char *key_buf, int key_buf_len);
|