|
iPXE
|
Cryptographic configuration. More...
#include <config/named.h>#include <NAMED_CONFIG(crypto.h)>#include <config/local/crypto.h>#include <LOCAL_NAMED_CONFIG(crypto.h)>Go to the source code of this file.
Macros | |
| #define | TLS_VERSION_MIN TLS_VERSION_TLS_1_1 |
| Minimum TLS version. | |
| #define | CRYPTO_EXCHANGE_PUBKEY |
| Public-key exchange algorithm. | |
| #define | CRYPTO_EXCHANGE_DHE |
| DHE key exchange algorithm. | |
| #define | CRYPTO_EXCHANGE_ECDHE |
| ECDHE key exchange algorithm. | |
| #define | CRYPTO_PUBKEY_RSA |
| RSA public-key algorithm. | |
| #define | CRYPTO_PUBKEY_ECDSA |
| ECDSA public-key algorithm. | |
| #define | CRYPTO_CIPHER_AES_CBC |
| AES-CBC block cipher. | |
| #define | CRYPTO_CIPHER_AES_GCM |
| AES-GCM block cipher. | |
| #define | CRYPTO_DIGEST_SHA1 |
| MD4 digest algorithm. | |
| #define | CRYPTO_DIGEST_SHA224 |
| SHA-224 digest algorithm. | |
| #define | CRYPTO_DIGEST_SHA256 |
| SHA-256 digest algorithm. | |
| #define | CRYPTO_DIGEST_SHA384 |
| SHA-384 digest algorithm. | |
| #define | CRYPTO_DIGEST_SHA512 |
| SHA-512 digest algorithm. | |
| #define | CRYPTO_CURVE_X25519 |
| SHA-512/224 digest algorithm. | |
| #define | CRYPTO_CURVE_P256 |
| P-256 elliptic curve. | |
| #define | CRYPTO_CURVE_P384 |
| P-384 elliptic curve. | |
| #define | TIMESTAMP_ERROR_MARGIN ( ( 12 * 60 + 30 ) * 60 ) |
| Margin of error (in seconds) allowed in signed timestamps. | |
| #define | CROSSCERT "http://ca.ipxe.org/auto" |
| Default cross-signed certificate source. | |
| #define | OCSP_CHECK |
| Perform OCSP checks when applicable. | |
Functions | |
| FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
| FILE_SECBOOT (PERMITTED) | |
Cryptographic configuration.
Definition in file crypto.h.
| #define TLS_VERSION_MIN TLS_VERSION_TLS_1_1 |
Minimum TLS version.
Definition at line 14 of file crypto.h.
Referenced by tls_new_server_hello(), and tls_version().
| #define CRYPTO_EXCHANGE_PUBKEY |
| #define CRYPTO_DIGEST_SHA1 |
| #define CRYPTO_CURVE_X25519 |
| #define TIMESTAMP_ERROR_MARGIN ( ( 12 * 60 + 30 ) * 60 ) |
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.
Definition at line 79 of file crypto.h.
Referenced by ocsp_validate(), and x509_check_time().
| #define CROSSCERT "http://ca.ipxe.org/auto" |
| #define OCSP_CHECK |
| FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
| FILE_SECBOOT | ( | PERMITTED | ) |