xref: /netbsd-src/crypto/external/bsd/openssl/include/crypto/bn_conf.h (revision 8ecbf5f02b752fcb7debe1a8fab1dc82602bc760)
1 /*
2  * Copyright 2016 The OpenSSL Project Authors. All Rights Reserved.
3  *
4  * Licensed under the OpenSSL license (the "License").  You may not use
5  * this file except in compliance with the License.  You can obtain a copy
6  * in the file LICENSE in the source distribution or at
7  * https://www.openssl.org/source/license.html
8  */
9 
10 #ifndef OSSL_CRYPTO_BN_CONF_H
11 # define OSSL_CRYPTO_BN_CONF_H
12 
13 /*
14  * The contents of this file are not used in the UEFI build, as
15  * both 32-bit and 64-bit builds are supported from a single run
16  * of the Configure script.
17  */
18 
19 /* Should we define BN_DIV2W here? */
20 
21 /* Only one for the following should be defined */
22 #if _LP64
23 # define SIXTY_FOUR_BIT_LONG
24 #elif _ILP64
25 # define SIXTY_FOUR_BIT
26 #else
27 # define THIRTY_TWO_BIT
28 #endif
29 
30 #endif
31