1d59d6574Schristos /* WARNING: do not edit! */ 2d59d6574Schristos /* Generated by Makefile from include/crypto/bn_conf.h.in */ 352629741Schristos /* 4d59d6574Schristos * Copyright 2016-2021 The OpenSSL Project Authors. All Rights Reserved. 552629741Schristos * 6d59d6574Schristos * Licensed under the Apache License 2.0 (the "License"). You may not use 752629741Schristos * this file except in compliance with the License. You can obtain a copy 852629741Schristos * in the file LICENSE in the source distribution or at 952629741Schristos * https://www.openssl.org/source/license.html 1052629741Schristos */ 1152629741Schristos 1252629741Schristos #ifndef OSSL_CRYPTO_BN_CONF_H 1352629741Schristos # define OSSL_CRYPTO_BN_CONF_H 14d59d6574Schristos # pragma once 1552629741Schristos 1652629741Schristos /* 1752629741Schristos * The contents of this file are not used in the UEFI build, as 1852629741Schristos * both 32-bit and 64-bit builds are supported from a single run 1952629741Schristos * of the Configure script. 2052629741Schristos */ 2152629741Schristos 2252629741Schristos /* Should we define BN_DIV2W here? */ 2352629741Schristos 2452629741Schristos /* Only one for the following should be defined */ 25*4903132dSmartin #if defined(_LP64) && !defined(__sparc64__) /* sparc64 asm needs 32bit BN limbs */ 2652629741Schristos #define SIXTY_FOUR_BIT_LONG 2752629741Schristos #elif _ILP64 2852629741Schristos #define SIXTY_FOUR_BIT 2952629741Schristos #else 3052629741Schristos #define THIRTY_TWO_BIT 3152629741Schristos #endif 32*4903132dSmartin #ifdef __sparc64__ 33*4903132dSmartin #define BN_LLONG 34*4903132dSmartin #endif 3552629741Schristos 3652629741Schristos #endif 37