bn_conf.h.in 905 B

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