| 1 |
/* clang-format off */ |
| 2 |
{- join("\n",map { "/* $_ */" } @autowarntext) -} |
| 3 |
/* clang-format on */ |
| 4 |
/* |
| 5 |
* Copyright 2016-2021 The OpenSSL Project Authors. All Rights Reserved. |
| 6 |
* |
| 7 |
* Licensed under the Apache License 2.0 (the "License"). You may not use |
| 8 |
* this file except in compliance with the License. You can obtain a copy |
| 9 |
* in the file LICENSE in the source distribution or at |
| 10 |
* https://www.openssl.org/source/license.html |
| 11 |
*/ |
| 12 |
|
| 13 |
#ifndef OSSL_CRYPTO_BN_CONF_H |
| 14 |
#define OSSL_CRYPTO_BN_CONF_H |
| 15 |
#pragma once |
| 16 |
|
| 17 |
/* |
| 18 |
* The contents of this file are not used in the UEFI build, as |
| 19 |
* both 32-bit and 64-bit builds are supported from a single run |
| 20 |
* of the Configure script. |
| 21 |
*/ |
| 22 |
|
| 23 |
/* Should we define BN_DIV2W here? */ |
| 24 |
|
| 25 |
/* Only one for the following should be defined */ |
| 26 |
/* clang-format off */ |
| 27 |
{- $config{b64l} ? "#define" : "#undef" -} SIXTY_FOUR_BIT_LONG |
| 28 |
/* clang-format on */ |
| 29 |
/* clang-format off */ |
| 30 |
{- $config{b64} ? "#define" : "#undef" -} SIXTY_FOUR_BIT |
| 31 |
/* clang-format on */ |
| 32 |
/* clang-format off */ |
| 33 |
{- $config{b32} ? "#define" : "#undef" -} THIRTY_TWO_BIT |
| 34 |
/* clang-format on */ |
| 35 |
|
| 36 |
#endif |