X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fbn%2Fbn_prime.h;h=51d2194febdb66268674ec31e062a1fdaa5c3944;hp=6fce0210cdd4495abf97adc7e842ac39d4a4a01f;hb=75a8e30f4fdb9724661875ded75689fad3bcbb39;hpb=58964a492275ca9a59a0cd9c8155cb2491b4b909 diff --git a/crypto/bn/bn_prime.h b/crypto/bn/bn_prime.h index 6fce0210cd..51d2194feb 100644 --- a/crypto/bn/bn_prime.h +++ b/crypto/bn/bn_prime.h @@ -1,4 +1,4 @@ -/* crypto/bn/bn_prime.h */ +/* Auto generated by bn_prime.pl */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -58,10 +58,12 @@ #ifndef EIGHT_BIT #define NUMPRIMES 2048 +typedef unsigned short prime_t; #else #define NUMPRIMES 54 +typedef unsigned char prime_t; #endif -static unsigned int primes[NUMPRIMES]= +static const prime_t primes[NUMPRIMES]= { 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53,