diff --git a/src/include/efivar/efisec-secdb.h b/src/include/efivar/efisec-secdb.h index e386ce26..37ddcc24 100644 --- a/src/include/efivar/efisec-secdb.h +++ b/src/include/efivar/efisec-secdb.h @@ -25,15 +25,15 @@ typedef union { } efi_secdb_data_t; typedef enum { - SHA256, // SHA-256 hash + X509_CERT, // a raw x509 cert X509_SHA256, // SHA-256 hash of the TBSData - X509_SHA384, // SHA-384 hash of the TBSData + SHA256, // SHA-256 hash X509_SHA512, // SHA-512 hash of the TBSData - X509_CERT, // a raw x509 cert - SHA1, // SHA-1 hash + SHA512, // SHA-512 hash + X509_SHA384, // SHA-384 hash of the TBSData SHA224, // SHA-224 hash SHA384, // SHA-384 hash - SHA512, // SHA-512 hash + SHA1, // SHA-1 hash RSA2048, // RSA-2048 pubkey (m, e=0x10001) RSA2048_SHA1, // RSA-2048 signature of a SHA-1 hash RSA2048_SHA256, // RSA-2048 signature of a SHA-256 hash diff --git a/src/libefisec.abixml b/src/libefisec.abixml index b3e6def4..eb5d7b9a 100644 --- a/src/libefisec.abixml +++ b/src/libefisec.abixml @@ -153,15 +153,15 @@ - + - + - - + + - + diff --git a/tests/test.esl.cert.addition.esl.goal b/tests/test.esl.cert.addition.esl.goal index aab36174..9c0f4910 100644 Binary files a/tests/test.esl.cert.addition.esl.goal and b/tests/test.esl.cert.addition.esl.goal differ