Skip to content

Commit

Permalink
OIDs
Browse files Browse the repository at this point in the history
  • Loading branch information
torben-hansen committed Sep 9, 2024
1 parent c8c16e7 commit 94b9a79
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions crypto/fipsmodule/kem/kem.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@
#include "../ml_kem/ml_kem.h"
#include "internal.h"

static const uint8_t kOIDMLKEM512[] = {0xff, 0xff, 0xff, 0xff};
static const uint8_t kOIDMLKEM768[] = {0xff, 0xff, 0xff, 0xff};
static const uint8_t kOIDMLKEM1024[] = {0xff, 0xff, 0xff, 0xff};
// 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};

static int ml_kem_1024_keygen_deterministic(uint8_t *public_key,
uint8_t *secret_key,
Expand Down

0 comments on commit 94b9a79

Please sign in to comment.