summaryrefslogtreecommitdiff
path: root/src/g10lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/g10lib.h')
-rw-r--r--src/g10lib.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/g10lib.h b/src/g10lib.h
index 9faa26d0..7deb90c4 100644
--- a/src/g10lib.h
+++ b/src/g10lib.h
@@ -185,9 +185,15 @@ gpg_err_code_t _gcry_generate_fips186_2_prime
gcry_mpi_t *r_q, gcry_mpi_t *r_p,
int *r_counter,
void **r_seed, size_t *r_seedlen);
+gpg_err_code_t _gcry_generate_fips186_3_prime
+ (unsigned int pbits, unsigned int qbits,
+ const void *seed, size_t seedlen,
+ gcry_mpi_t *r_q, gcry_mpi_t *r_p,
+ int *r_counter,
+ void **r_seed, size_t *r_seedlen, int *r_hashalgo);
-/* replacements of missing functions (missing-string.c)*/
+/* Replacements of missing functions (missing-string.c). */
#ifndef HAVE_STPCPY
char *stpcpy (char *a, const char *b);
#endif
@@ -195,7 +201,7 @@ char *stpcpy (char *a, const char *b);
int strcasecmp (const char *a, const char *b) _GCRY_GCC_ATTR_PURE;
#endif
-/* macros used to rename missing functions */
+/* Macros used to rename missing functions. */
#ifndef HAVE_STRTOUL
#define strtoul(a,b,c) ((unsigned long)strtol((a),(b),(c)))
#endif