Debian Codegraph @

doc/functions/gnutls_privkey_verify_seed

raw
1
2
3
4
5 @deftypefun {int} {gnutls_privkey_verify_seed} (gnutls_privkey_t @var{key}, gnutls_digest_algorithm_t @var{digest}, const void * @var{seed}, size_t @var{seed_size})
6 @var{key}: should contain a @code{gnutls_privkey_t} type
7
8 @var{digest}: it contains the digest algorithm used for key generation (if applicable)
9
10 @var{seed}: the seed of the key to be checked with
11
12 @var{seed_size}: holds the size of @code{seed}
13
14 This function will verify that the given private key was generated from
15 the provided seed.
16
17 @strong{Returns:} In case of a verification failure @code{GNUTLS_E_PRIVKEY_VERIFICATION_ERROR}
18 is returned, and zero or positive code on success.
19
20 @strong{Since:} 3.5.0
21 @end deftypefun