Skip to content

Commit

Permalink
fix test vector
Browse files Browse the repository at this point in the history
Signed-off-by: Stephan Mueller <[email protected]>
  • Loading branch information
smuellerDD committed Dec 13, 2023
1 parent 079a84e commit e111960
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions kem/tests/kyber_kem_x25519_tester.c
Original file line number Diff line number Diff line change
Expand Up @@ -138,13 +138,7 @@ static const struct lc_kyber_x25519_pk kyber_pk_exp = {
}
};
static const struct lc_kyber_x25519_sk kyber_sk_exp = {
.pk.pk = {
0x3c, 0xbc, 0x53, 0x8d, 0xa4, 0x54, 0x2c, 0xea,
0x83, 0xa2, 0x19, 0x6a, 0x1d, 0x2c, 0x2f, 0x6e,
0xdb, 0xce, 0xd0, 0x32, 0xb2, 0xf1, 0xc1, 0x13,
0xd4, 0x90, 0x01, 0xc2, 0x81, 0x80, 0xa2, 0x93
},
.sk_x25519.sk = {
.sk.sk = {
0x3c, 0xbc, 0x53, 0x8d, 0xa4, 0x54, 0x2c, 0xea,
0x83, 0xa2, 0x19, 0x6a, 0x1d, 0x2c, 0x2f, 0x6e,
0xdb, 0xce, 0xd0, 0x32, 0xb2, 0xf1, 0xc1, 0x13,
Expand Down Expand Up @@ -349,6 +343,12 @@ static const struct lc_kyber_x25519_sk kyber_sk_exp = {
0x10, 0x3c, 0xfb, 0x0a, 0xee, 0xfd, 0x2a, 0x68,
0x6e, 0x01, 0xfa, 0x4a, 0x58, 0xe8, 0xa3, 0x63,
0x9c, 0xa8, 0xa1, 0xe3, 0xf9, 0xae, 0x57, 0xe2,
},
.sk_x25519.sk = {
0x35, 0xb8, 0xcc, 0x87, 0x3c, 0x23, 0xdc, 0x62,
0xb8, 0xd2, 0x60, 0x16, 0x9a, 0xfa, 0x2f, 0x75,
0xab, 0x91, 0x6a, 0x58, 0xd9, 0x74, 0x91, 0x88,
0x35, 0xd2, 0x5e, 0x6a, 0x43, 0x50, 0x85, 0xb2
}
};
static const uint8_t ss_exp[] = {
Expand Down

0 comments on commit e111960

Please sign in to comment.