openssl/crypto/rand
David Woodhouse 4d60c7e10f RT3969: Add OPENSSL_SYS_UEFI
This provides support for building in the EDK II reference implementation
of UEFI. Most UEFI firmware in existence uses OpenSSL for implementing
the core cryptographic functionality needed for Secure Boot.

This has always previously been handled with external patches to OpenSSL
but we are now making a concerted effort to eliminate those.

In this mode, we don't actually use the OpenSSL makefiles; we process
the MINFO file generated by 'make files' and incorporate it into the
EDK2 build system.

Since EDK II builds for various targets with varying word size and we
need to have a single prepackaged configuration, we deliberately don't
hard-code the setting of SIXTY_FOUR_BIT vs. THIRTY_TWO_BIT in
opensslconf.h. We bypass that for OPENSSL_SYS_UEFI and allow EDK II
itself to set those, depending on the architecture.

For x86_64, EDK II sets SIXTY_FOUR_BIT and thus uses 'long long' for the
64-bit type, even when building with GCC where 'long' is also 64-bit. We
do this because the Microsoft toolchain has 32-bit 'long'.

Signed-off-by: Rich Salz <rsalz@akamai.com>
Reviewed-by: Tim Hudson <tjh@openssl.org>
2015-09-08 23:14:36 -04:00
..
Makefile Fix the update target and remove duplicate file updates 2015-05-22 18:44:33 +02:00
md_rand.c RT3999: Remove sub-component version strings 2015-08-10 12:13:32 -04:00
rand_egd.c RT3969: Add OPENSSL_SYS_UEFI 2015-09-08 23:14:36 -04:00
rand_err.c Run util/openssl-format-source -v -c . 2015-01-22 09:20:09 +00:00
rand_lcl.h OPENSSL_NO_xxx cleanup: SHA 2015-01-27 12:34:45 -05:00
rand_lib.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
rand_nw.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
rand_os2.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
rand_unix.c Add UEFI flag for rand build 2015-09-03 15:41:47 -04:00
rand_vms.c Run util/openssl-format-source -v -c . 2015-01-22 09:20:09 +00:00
rand_win.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
randfile.c ifdef cleanup part 3: OPENSSL_SYSNAME 2015-01-23 11:58:26 -05:00