manpagez: man pages & more
info gcrypt
Home | html | info | man
[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

13.2 Checking

Function: gcry_error_t gcry_prime_check (gcry_mpi_t p, unsigned int flags)

Check whether the number p is prime. Returns zero in case p is indeed a prime, returns GPG_ERR_NO_PRIME in case p is not a prime and a different error code in case something went horribly wrong.


This document was generated on February 9, 2014 using texi2html 5.0.

© manpagez.com 2000-2024
Individual documents may contain additional copyright information.