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 # pragma once 15 16 /* 17 * The contents of this file are not used in the UEFI build, as 18 * both 32-bit and 64-bit builds are supported from a single run 19 * of the Configure script. 20 */ 21 22 /* Should we define BN_DIV2W here? */ 23 24 /* Only one for the following should be defined */ 25 #if defined(_LP64) && !defined(__sparc64__) /* sparc64 asm needs 32bit BN limbs */ 26 #define SIXTY_FOUR_BIT_LONG 27 #elif _ILP64 28 #define SIXTY_FOUR_BIT 29 #else 30 #define THIRTY_TWO_BIT 31 #endif 32 #ifdef __sparc64__ 33 #define BN_LLONG 34 #endif 35 36 #endif 37