diff options
author | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 2016-12-02 06:26:55 +0300 |
---|---|---|
committer | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 2019-11-07 18:41:28 +0300 |
commit | 7f93e7f5c649d50e15f8ac3d253cb5926e5757d6 (patch) | |
tree | 6d3e1d3269294645315eb31474ef78689f3de518 /lib/crypto-backend.h | |
parent | cdc4fc288d87f91f974aa23b6e8595a53970ce00 (diff) | |
download | gnutls-7f93e7f5c649d50e15f8ac3d253cb5926e5757d6.tar.gz |
Add GOST key transport support
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Diffstat (limited to 'lib/crypto-backend.h')
-rw-r--r-- | lib/crypto-backend.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/crypto-backend.h b/lib/crypto-backend.h index a3c52d4da8..c083b16498 100644 --- a/lib/crypto-backend.h +++ b/lib/crypto-backend.h @@ -434,4 +434,18 @@ _gnutls_prf_raw(gnutls_mac_algorithm_t mac, size_t seed_size, const uint8_t *seed, size_t outsize, char *out); +int _gnutls_gost_key_wrap(gnutls_gost_paramset_t gost_params, + const gnutls_datum_t *kek, + const gnutls_datum_t *ukm, + const gnutls_datum_t *cek, + gnutls_datum_t *enc, + gnutls_datum_t *imit); + +int _gnutls_gost_key_unwrap(gnutls_gost_paramset_t gost_params, + const gnutls_datum_t *kek, + const gnutls_datum_t *ukm, + const gnutls_datum_t *enc, + const gnutls_datum_t *imit, + gnutls_datum_t *cek); + #endif /* GNUTLS_LIB_CRYPTO_BACKEND_H */ |