diff --git a/crypto/fipsmodule/kem/kem.c b/crypto/fipsmodule/kem/kem.c index b0a7f5ab7c7..5f8947cf33e 100644 --- a/crypto/fipsmodule/kem/kem.c +++ b/crypto/fipsmodule/kem/kem.c @@ -9,9 +9,12 @@ #include "internal.h" // https://csrc.nist.gov/projects/computer-security-objects-register/algorithm-registration -static const uint8_t kOIDMLKEM512[] = {0x60, 0x81, 0x34, 0x01, 0x65, 0x03, 0x04, 0x04, 0x01}; -static const uint8_t kOIDMLKEM768[] = {0x60, 0x81, 0x34, 0x01, 0x65, 0x03, 0x04, 0x04, 0x02}; -static const uint8_t kOIDMLKEM1024[] = {0x60, 0x81, 0x34, 0x01, 0x65, 0x03, 0x04, 0x04, 0x03}; +// 2.16.840.1.101.3.4.4.1 +static const uint8_t kOIDMLKEM512[] = {0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x04, 0x01}; +// 2.16.840.1.101.3.4.4.2 +static const uint8_t kOIDMLKEM768[] = {0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x04, 0x02}; +// 2.16.840.1.101.3.4.4.3 +static const uint8_t kOIDMLKEM1024[] = {0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x04, 0x03}; static int ml_kem_1024_keygen_deterministic(uint8_t *public_key, uint8_t *secret_key,