1 | /* WARNING: do not edit! */
|
---|
2 | /* Generated by Makefile from include/crypto/bn_conf.h.in */
|
---|
3 | /*
|
---|
4 | * Copyright 2016-2021 The OpenSSL Project Authors. All Rights Reserved.
|
---|
5 | *
|
---|
6 | * Licensed under the Apache License 2.0 (the "License"). You may not use
|
---|
7 | * this file except in compliance with the License. You can obtain a copy
|
---|
8 | * in the file LICENSE in the source distribution or at
|
---|
9 | * https://www.openssl.org/source/license.html
|
---|
10 | */
|
---|
11 |
|
---|
12 | #ifndef OSSL_CRYPTO_BN_CONF_H
|
---|
13 | # define OSSL_CRYPTO_BN_CONF_H
|
---|
14 | # ifndef RT_WITHOUT_PRAGMA_ONCE /* VBOX */
|
---|
15 | # pragma once
|
---|
16 | # endif /* VBOX */
|
---|
17 |
|
---|
18 | /*
|
---|
19 | * The contents of this file are not used in the UEFI build, as
|
---|
20 | * both 32-bit and 64-bit builds are supported from a single run
|
---|
21 | * of the Configure script.
|
---|
22 | */
|
---|
23 |
|
---|
24 | /* Should we define BN_DIV2W here? */
|
---|
25 |
|
---|
26 | /* Only one for the following should be defined */
|
---|
27 | #include <iprt/cdefs.h>
|
---|
28 | #if defined(RT_ARCH_AMD64) || defined(RT_ARCH_SPARC64) || defined(RT_ARCH_ARM64)
|
---|
29 | # ifdef _MSC_VER
|
---|
30 | # undef SIXTY_FOUR_BIT_LONG
|
---|
31 | # define SIXTY_FOUR_BIT
|
---|
32 | # undef THIRTY_TWO_BIT
|
---|
33 | # else
|
---|
34 | # define SIXTY_FOUR_BIT_LONG
|
---|
35 | # undef SIXTY_FOUR_BIT
|
---|
36 | # undef THIRTY_TWO_BIT
|
---|
37 | # endif
|
---|
38 | #elif defined(RT_ARCH_X86) || defined(RT_ARCH_SPARC) || defined(RT_ARCH_ARM32)
|
---|
39 | # undef SIXTY_FOUR_BIT_LONG
|
---|
40 | # undef SIXTY_FOUR_BIT
|
---|
41 | # define THIRTY_TWO_BIT
|
---|
42 | #else
|
---|
43 | # error "Unknown/missing RT_ARCH_*." * /* vbox: 64-bit (cannot safely use ARCH_BITS without including iprt/cdefs.h) */
|
---|
44 | #endif
|
---|
45 |
|
---|
46 | #endif
|
---|