bn_conf.h.in 886 B

123456789101112131415161718192021222324252627
  1. {- join("\n",map { "/* $_ */" } @autowarntext) -}
  2. /*
  3. * Copyright 2016 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. #ifndef OSSL_CRYPTO_BN_CONF_H
  11. # define OSSL_CRYPTO_BN_CONF_H
  12. /*
  13. * The contents of this file are not used in the UEFI build, as
  14. * both 32-bit and 64-bit builds are supported from a single run
  15. * of the Configure script.
  16. */
  17. /* Should we define BN_DIV2W here? */
  18. /* Only one for the following should be defined */
  19. {- $config{b64l} ? "#define" : "#undef" -} SIXTY_FOUR_BIT_LONG
  20. {- $config{b64} ? "#define" : "#undef" -} SIXTY_FOUR_BIT
  21. {- $config{b32} ? "#define" : "#undef" -} THIRTY_TWO_BIT
  22. #endif