1gnutls_privkey_verify_seed(3) gnutls gnutls_privkey_verify_seed(3)
2
3
4
6 gnutls_privkey_verify_seed - API function
7
9 #include <gnutls/abstract.h>
10
11 int gnutls_privkey_verify_seed(gnutls_privkey_t key,
12 gnutls_digest_algorithm_t digest, const void * seed, size_t seed_size);
13
15 gnutls_privkey_t key
16 should contain a gnutls_privkey_t type
17
18 gnutls_digest_algorithm_t digest
19 it contains the digest algorithm used for key generation
20 (if applicable)
21
22 const void * seed
23 the seed of the key to be checked with
24
25 size_t seed_size
26 holds the size of seed
27
29 This function will verify that the given private key was generated from
30 the provided seed.
31
33 In case of a verification failure GNUTLS_E_PRIVKEY_VERIFICATION_ERROR
34 is returned, and zero or positive code on success.
35
37 3.5.0
38
40 Report bugs to <bugs@gnutls.org>.
41 Home page: https://www.gnutls.org
42
43
45 Copyright © 2001- Free Software Foundation, Inc., and others.
46 Copying and distribution of this file, with or without modification,
47 are permitted in any medium without royalty provided the copyright
48 notice and this notice are preserved.
49
51 The full documentation for gnutls is maintained as a Texinfo manual.
52 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
53 visit
54
55 https://www.gnutls.org/manual/
56
57gnutls 3.6.15 gnutls_privkey_verify_seed(3)