projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
x86-mont.pl: fix bug in integer-only squaring path.
[openssl.git]
/
crypto
/
bn
/
bn_prime.h
diff --git
a/crypto/bn/bn_prime.h
b/crypto/bn/bn_prime.h
index 1d6df587a8a8b0bcb38e7b18763968e11cbdaaa6..bd04602e4f566beaec17a276b87da3ff65c3d2f1 100644
(file)
--- a/
crypto/bn/bn_prime.h
+++ b/
crypto/bn/bn_prime.h
@@
-1,5
+1,5
@@
-/*
crypto/bn/bn_prime.h
*/
-/* Copyright (C) 1995-199
7
Eric Young (eay@cryptsoft.com)
+/*
Auto generated by bn_prime.pl
*/
+/* Copyright (C) 1995-199
8
Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* All rights reserved.
*
* This package is an SSL implementation written
@@
-58,10
+58,13
@@
#ifndef EIGHT_BIT
#define NUMPRIMES 2048
#ifndef EIGHT_BIT
#define NUMPRIMES 2048
+typedef unsigned short prime_t;
#else
#define NUMPRIMES 54
#else
#define NUMPRIMES 54
+typedef unsigned char prime_t;
#endif
#endif
-static unsigned int primes[NUMPRIMES]=
+__fips_constseg
+static const prime_t primes[NUMPRIMES]=
{
2, 3, 5, 7, 11, 13, 17, 19,
23, 29, 31, 37, 41, 43, 47, 53,
{
2, 3, 5, 7, 11, 13, 17, 19,
23, 29, 31, 37, 41, 43, 47, 53,