diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2019-03-20 11:40:15 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2019-03-20 11:40:38 +0100 |
commit | d9e1e50131d725cf8c8dd5e7d30b8eab5892bd63 (patch) | |
tree | 1bba6cf1f6b9e4caee6386829b12af1d71840432 /lib | |
parent | f82ffe2b3031072ad1bfdf589e945263a1696e3f (diff) | |
download | gnutls-d9e1e50131d725cf8c8dd5e7d30b8eab5892bd63.tar.gz |
_x509_en/decode_provable_seed: clarified purpose of functions [ci skip]
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/x509/prov-seed.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/x509/prov-seed.c b/lib/x509/prov-seed.c index 96aaa977aa..5ce17a7dfa 100644 --- a/lib/x509/prov-seed.c +++ b/lib/x509/prov-seed.c @@ -30,6 +30,9 @@ #include <mpi.h> #include "prov-seed.h" +/* This function encodes a seed value and a hash algorithm OID to the format + * described in RFC8479. The output is the DER encoded form. + */ int _x509_encode_provable_seed(gnutls_x509_privkey_t pkey, gnutls_datum_t *der) { @@ -76,6 +79,9 @@ int _x509_encode_provable_seed(gnutls_x509_privkey_t pkey, gnutls_datum_t *der) return ret; } +/* This function decodes a DER encoded form of seed and a hash algorithm, as in + * RFC8479. + */ int _x509_decode_provable_seed(gnutls_x509_privkey_t pkey, const gnutls_datum_t *der) { |