Skip to content

Commit

Permalink
fix sizes in avx2 api header
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorseiler committed Sep 10, 2024
1 parent 377cf6f commit cbcd875
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions avx2/api.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ int pqcrystals_dilithium2_avx2_open(uint8_t *m, size_t *mlen,
const uint8_t *pk);


#define pqcrystals_dilithium5_PUBLICKEYBYTES 2592
#define pqcrystals_dilithium5_SECRETKEYBYTES 4896
#define pqcrystals_dilithium5_BYTES 4627
#define pqcrystals_dilithium3_PUBLICKEYBYTES 1952
#define pqcrystals_dilithium3_SECRETKEYBYTES 4032
#define pqcrystals_dilithium3_BYTES 3309

#define pqcrystals_dilithium3_avx2_PUBLICKEYBYTES pqcrystals_dilithium3_PUBLICKEYBYTES
#define pqcrystals_dilithium3_avx2_SECRETKEYBYTES pqcrystals_dilithium3_SECRETKEYBYTES
Expand Down Expand Up @@ -67,8 +67,8 @@ int pqcrystals_dilithium3_avx2_open(uint8_t *m, size_t *mlen,


#define pqcrystals_dilithium5_PUBLICKEYBYTES 2592
#define pqcrystals_dilithium5_SECRETKEYBYTES 4864
#define pqcrystals_dilithium5_BYTES 4595
#define pqcrystals_dilithium5_SECRETKEYBYTES 4896
#define pqcrystals_dilithium5_BYTES 4627

#define pqcrystals_dilithium5_avx2_PUBLICKEYBYTES pqcrystals_dilithium5_PUBLICKEYBYTES
#define pqcrystals_dilithium5_avx2_SECRETKEYBYTES pqcrystals_dilithium5_SECRETKEYBYTES
Expand Down

0 comments on commit cbcd875

Please sign in to comment.