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