From 3f2546b2ef55b661fd8dd69682b38992225e86f6 Mon Sep 17 00:00:00 2001 From: fishsoupisgood Date: Mon, 29 Apr 2019 01:17:54 +0100 Subject: Initial import of qemu-2.4.1 --- roms/ipxe/src/config/crypto.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 roms/ipxe/src/config/crypto.h (limited to 'roms/ipxe/src/config/crypto.h') diff --git a/roms/ipxe/src/config/crypto.h b/roms/ipxe/src/config/crypto.h new file mode 100644 index 00000000..1e021b0f --- /dev/null +++ b/roms/ipxe/src/config/crypto.h @@ -0,0 +1,25 @@ +#ifndef CONFIG_CRYPTO_H +#define CONFIG_CRYPTO_H + +/** @file + * + * Cryptographic configuration + * + */ + +FILE_LICENCE ( GPL2_OR_LATER ); + +/** Margin of error (in seconds) allowed in signed timestamps + * + * We default to allowing a reasonable margin of error: 12 hours to + * allow for the local time zone being non-GMT, plus 30 minutes to + * allow for general clock drift. + */ +#define TIMESTAMP_ERROR_MARGIN ( ( 12 * 60 + 30 ) * 60 ) + +#include +#include NAMED_CONFIG(crypto.h) +#include +#include LOCAL_NAMED_CONFIG(crypto.h) + +#endif /* CONFIG_CRYPTO_H */ -- cgit v1.2.3