Skip to content

Commit

Permalink
int defines in api.h don't need to be "L"
Browse files Browse the repository at this point in the history
Signed-off-by: rtjk <[email protected]>
  • Loading branch information
rtjk committed Aug 5, 2024
1 parent 9343183 commit a35e13c
Show file tree
Hide file tree
Showing 39 changed files with 111 additions and 111 deletions.
2 changes: 1 addition & 1 deletion docs/algorithms/sig/cross.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
- **Authors' website**: https://www.cross-crypto.com/
- **Specification version**: 1.2 + Keccak_x4 + PQClean fixes.
- **Primary Source**<a name="primary-source"></a>:
- **Source**: https://github.com/rtjk/CROSS-PQClean/commit/bd89242834d7eecb00c1064be421b76dc2d90b41
- **Source**: https://github.com/rtjk/CROSS-PQClean/commit/64529ee21c8cf791774d5ce63a68053634d1d94f
- **Implementation license (SPDX-Identifier)**: CC0-1.0


Expand Down
2 changes: 1 addition & 1 deletion docs/algorithms/sig/cross.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ website: https://www.cross-crypto.com/
nist-round: 1
spec-version: 1.2 + Keccak_x4 + PQClean fixes
primary-upstream:
source: https://github.com/rtjk/CROSS-PQClean/commit/bd89242834d7eecb00c1064be421b76dc2d90b41
source: https://github.com/rtjk/CROSS-PQClean/commit/64529ee21c8cf791774d5ce63a68053634d1d94f
spdx-license-identifier: CC0-1.0
parameter-sets:
- name: cross-rsdp-128-balanced
Expand Down
2 changes: 1 addition & 1 deletion scripts/copy_from_upstream/copy_from_upstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ upstreams:
name: upcross
git_url: https://github.com/rtjk/CROSS-PQClean.git
git_branch: master
git_commit: bd89242834d7eecb00c1064be421b76dc2d90b41
git_commit: 64529ee21c8cf791774d5ce63a68053634d1d94f
sig_meta_path: 'generate/crypto_sign/{pqclean_scheme}/META.yml'
sig_scheme_path: 'generate/crypto_sign/{pqclean_scheme}'
kems:
Expand Down
6 changes: 3 additions & 3 deletions src/sig/cross/upcross_cross-rsdp-128-balanced_avx2/api.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@
#define PQCLEAN_CROSSRSDP128BALANCED_AVX2_CRYPTO_ALGNAME "cross-rsdp-128-balanced"

/* no. of bytes of the secret key */
#define PQCLEAN_CROSSRSDP128BALANCED_AVX2_CRYPTO_SECRETKEYBYTES 32L
#define PQCLEAN_CROSSRSDP128BALANCED_AVX2_CRYPTO_SECRETKEYBYTES 32

/* no. of bytes of the public key */
#define PQCLEAN_CROSSRSDP128BALANCED_AVX2_CRYPTO_PUBLICKEYBYTES 77L
#define PQCLEAN_CROSSRSDP128BALANCED_AVX2_CRYPTO_PUBLICKEYBYTES 77

/* no. of bytes of overhead in a signed message */
#define PQCLEAN_CROSSRSDP128BALANCED_AVX2_CRYPTO_BYTES 12912L
#define PQCLEAN_CROSSRSDP128BALANCED_AVX2_CRYPTO_BYTES 12912

/* required bytes of input randomness */
#define PQCLEAN_CROSSRSDP128BALANCED_AVX2_CRYPTO_RANDOMBYTES 16
Expand Down
6 changes: 3 additions & 3 deletions src/sig/cross/upcross_cross-rsdp-128-balanced_clean/api.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@
#define PQCLEAN_CROSSRSDP128BALANCED_CLEAN_CRYPTO_ALGNAME "cross-rsdp-128-balanced"

/* no. of bytes of the secret key */
#define PQCLEAN_CROSSRSDP128BALANCED_CLEAN_CRYPTO_SECRETKEYBYTES 32L
#define PQCLEAN_CROSSRSDP128BALANCED_CLEAN_CRYPTO_SECRETKEYBYTES 32

/* no. of bytes of the public key */
#define PQCLEAN_CROSSRSDP128BALANCED_CLEAN_CRYPTO_PUBLICKEYBYTES 77L
#define PQCLEAN_CROSSRSDP128BALANCED_CLEAN_CRYPTO_PUBLICKEYBYTES 77

/* no. of bytes of overhead in a signed message */
#define PQCLEAN_CROSSRSDP128BALANCED_CLEAN_CRYPTO_BYTES 12912L
#define PQCLEAN_CROSSRSDP128BALANCED_CLEAN_CRYPTO_BYTES 12912

/* required bytes of input randomness */
#define PQCLEAN_CROSSRSDP128BALANCED_CLEAN_CRYPTO_RANDOMBYTES 16
Expand Down
6 changes: 3 additions & 3 deletions src/sig/cross/upcross_cross-rsdp-128-fast_avx2/api.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@
#define PQCLEAN_CROSSRSDP128FAST_AVX2_CRYPTO_ALGNAME "cross-rsdp-128-fast"

/* no. of bytes of the secret key */
#define PQCLEAN_CROSSRSDP128FAST_AVX2_CRYPTO_SECRETKEYBYTES 32L
#define PQCLEAN_CROSSRSDP128FAST_AVX2_CRYPTO_SECRETKEYBYTES 32

/* no. of bytes of the public key */
#define PQCLEAN_CROSSRSDP128FAST_AVX2_CRYPTO_PUBLICKEYBYTES 77L
#define PQCLEAN_CROSSRSDP128FAST_AVX2_CRYPTO_PUBLICKEYBYTES 77

/* no. of bytes of overhead in a signed message */
#define PQCLEAN_CROSSRSDP128FAST_AVX2_CRYPTO_BYTES 19152L
#define PQCLEAN_CROSSRSDP128FAST_AVX2_CRYPTO_BYTES 19152

/* required bytes of input randomness */
#define PQCLEAN_CROSSRSDP128FAST_AVX2_CRYPTO_RANDOMBYTES 16
Expand Down
6 changes: 3 additions & 3 deletions src/sig/cross/upcross_cross-rsdp-128-fast_clean/api.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@
#define PQCLEAN_CROSSRSDP128FAST_CLEAN_CRYPTO_ALGNAME "cross-rsdp-128-fast"

/* no. of bytes of the secret key */
#define PQCLEAN_CROSSRSDP128FAST_CLEAN_CRYPTO_SECRETKEYBYTES 32L
#define PQCLEAN_CROSSRSDP128FAST_CLEAN_CRYPTO_SECRETKEYBYTES 32

/* no. of bytes of the public key */
#define PQCLEAN_CROSSRSDP128FAST_CLEAN_CRYPTO_PUBLICKEYBYTES 77L
#define PQCLEAN_CROSSRSDP128FAST_CLEAN_CRYPTO_PUBLICKEYBYTES 77

/* no. of bytes of overhead in a signed message */
#define PQCLEAN_CROSSRSDP128FAST_CLEAN_CRYPTO_BYTES 19152L
#define PQCLEAN_CROSSRSDP128FAST_CLEAN_CRYPTO_BYTES 19152

/* required bytes of input randomness */
#define PQCLEAN_CROSSRSDP128FAST_CLEAN_CRYPTO_RANDOMBYTES 16
Expand Down
6 changes: 3 additions & 3 deletions src/sig/cross/upcross_cross-rsdp-128-small_avx2/api.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@
#define PQCLEAN_CROSSRSDP128SMALL_AVX2_CRYPTO_ALGNAME "cross-rsdp-128-small"

/* no. of bytes of the secret key */
#define PQCLEAN_CROSSRSDP128SMALL_AVX2_CRYPTO_SECRETKEYBYTES 32L
#define PQCLEAN_CROSSRSDP128SMALL_AVX2_CRYPTO_SECRETKEYBYTES 32

/* no. of bytes of the public key */
#define PQCLEAN_CROSSRSDP128SMALL_AVX2_CRYPTO_PUBLICKEYBYTES 77L
#define PQCLEAN_CROSSRSDP128SMALL_AVX2_CRYPTO_PUBLICKEYBYTES 77

/* no. of bytes of overhead in a signed message */
#define PQCLEAN_CROSSRSDP128SMALL_AVX2_CRYPTO_BYTES 10080L
#define PQCLEAN_CROSSRSDP128SMALL_AVX2_CRYPTO_BYTES 10080

/* required bytes of input randomness */
#define PQCLEAN_CROSSRSDP128SMALL_AVX2_CRYPTO_RANDOMBYTES 16
Expand Down
6 changes: 3 additions & 3 deletions src/sig/cross/upcross_cross-rsdp-128-small_clean/api.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@
#define PQCLEAN_CROSSRSDP128SMALL_CLEAN_CRYPTO_ALGNAME "cross-rsdp-128-small"

/* no. of bytes of the secret key */
#define PQCLEAN_CROSSRSDP128SMALL_CLEAN_CRYPTO_SECRETKEYBYTES 32L
#define PQCLEAN_CROSSRSDP128SMALL_CLEAN_CRYPTO_SECRETKEYBYTES 32

/* no. of bytes of the public key */
#define PQCLEAN_CROSSRSDP128SMALL_CLEAN_CRYPTO_PUBLICKEYBYTES 77L
#define PQCLEAN_CROSSRSDP128SMALL_CLEAN_CRYPTO_PUBLICKEYBYTES 77

/* no. of bytes of overhead in a signed message */
#define PQCLEAN_CROSSRSDP128SMALL_CLEAN_CRYPTO_BYTES 10080L
#define PQCLEAN_CROSSRSDP128SMALL_CLEAN_CRYPTO_BYTES 10080

/* required bytes of input randomness */
#define PQCLEAN_CROSSRSDP128SMALL_CLEAN_CRYPTO_RANDOMBYTES 16
Expand Down
6 changes: 3 additions & 3 deletions src/sig/cross/upcross_cross-rsdp-192-balanced_avx2/api.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@
#define PQCLEAN_CROSSRSDP192BALANCED_AVX2_CRYPTO_ALGNAME "cross-rsdp-192-balanced"

/* no. of bytes of the secret key */
#define PQCLEAN_CROSSRSDP192BALANCED_AVX2_CRYPTO_SECRETKEYBYTES 48L
#define PQCLEAN_CROSSRSDP192BALANCED_AVX2_CRYPTO_SECRETKEYBYTES 48

/* no. of bytes of the public key */
#define PQCLEAN_CROSSRSDP192BALANCED_AVX2_CRYPTO_PUBLICKEYBYTES 115L
#define PQCLEAN_CROSSRSDP192BALANCED_AVX2_CRYPTO_PUBLICKEYBYTES 115

/* no. of bytes of overhead in a signed message */
#define PQCLEAN_CROSSRSDP192BALANCED_AVX2_CRYPTO_BYTES 28222L
#define PQCLEAN_CROSSRSDP192BALANCED_AVX2_CRYPTO_BYTES 28222

/* required bytes of input randomness */
#define PQCLEAN_CROSSRSDP192BALANCED_AVX2_CRYPTO_RANDOMBYTES 24
Expand Down
6 changes: 3 additions & 3 deletions src/sig/cross/upcross_cross-rsdp-192-balanced_clean/api.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@
#define PQCLEAN_CROSSRSDP192BALANCED_CLEAN_CRYPTO_ALGNAME "cross-rsdp-192-balanced"

/* no. of bytes of the secret key */
#define PQCLEAN_CROSSRSDP192BALANCED_CLEAN_CRYPTO_SECRETKEYBYTES 48L
#define PQCLEAN_CROSSRSDP192BALANCED_CLEAN_CRYPTO_SECRETKEYBYTES 48

/* no. of bytes of the public key */
#define PQCLEAN_CROSSRSDP192BALANCED_CLEAN_CRYPTO_PUBLICKEYBYTES 115L
#define PQCLEAN_CROSSRSDP192BALANCED_CLEAN_CRYPTO_PUBLICKEYBYTES 115

/* no. of bytes of overhead in a signed message */
#define PQCLEAN_CROSSRSDP192BALANCED_CLEAN_CRYPTO_BYTES 28222L
#define PQCLEAN_CROSSRSDP192BALANCED_CLEAN_CRYPTO_BYTES 28222

/* required bytes of input randomness */
#define PQCLEAN_CROSSRSDP192BALANCED_CLEAN_CRYPTO_RANDOMBYTES 24
Expand Down
6 changes: 3 additions & 3 deletions src/sig/cross/upcross_cross-rsdp-192-fast_avx2/api.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@
#define PQCLEAN_CROSSRSDP192FAST_AVX2_CRYPTO_ALGNAME "cross-rsdp-192-fast"

/* no. of bytes of the secret key */
#define PQCLEAN_CROSSRSDP192FAST_AVX2_CRYPTO_SECRETKEYBYTES 48L
#define PQCLEAN_CROSSRSDP192FAST_AVX2_CRYPTO_SECRETKEYBYTES 48

/* no. of bytes of the public key */
#define PQCLEAN_CROSSRSDP192FAST_AVX2_CRYPTO_PUBLICKEYBYTES 115L
#define PQCLEAN_CROSSRSDP192FAST_AVX2_CRYPTO_PUBLICKEYBYTES 115

/* no. of bytes of overhead in a signed message */
#define PQCLEAN_CROSSRSDP192FAST_AVX2_CRYPTO_BYTES 42682L
#define PQCLEAN_CROSSRSDP192FAST_AVX2_CRYPTO_BYTES 42682

/* required bytes of input randomness */
#define PQCLEAN_CROSSRSDP192FAST_AVX2_CRYPTO_RANDOMBYTES 24
Expand Down
6 changes: 3 additions & 3 deletions src/sig/cross/upcross_cross-rsdp-192-fast_clean/api.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@
#define PQCLEAN_CROSSRSDP192FAST_CLEAN_CRYPTO_ALGNAME "cross-rsdp-192-fast"

/* no. of bytes of the secret key */
#define PQCLEAN_CROSSRSDP192FAST_CLEAN_CRYPTO_SECRETKEYBYTES 48L
#define PQCLEAN_CROSSRSDP192FAST_CLEAN_CRYPTO_SECRETKEYBYTES 48

/* no. of bytes of the public key */
#define PQCLEAN_CROSSRSDP192FAST_CLEAN_CRYPTO_PUBLICKEYBYTES 115L
#define PQCLEAN_CROSSRSDP192FAST_CLEAN_CRYPTO_PUBLICKEYBYTES 115

/* no. of bytes of overhead in a signed message */
#define PQCLEAN_CROSSRSDP192FAST_CLEAN_CRYPTO_BYTES 42682L
#define PQCLEAN_CROSSRSDP192FAST_CLEAN_CRYPTO_BYTES 42682

/* required bytes of input randomness */
#define PQCLEAN_CROSSRSDP192FAST_CLEAN_CRYPTO_RANDOMBYTES 24
Expand Down
6 changes: 3 additions & 3 deletions src/sig/cross/upcross_cross-rsdp-192-small_avx2/api.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@
#define PQCLEAN_CROSSRSDP192SMALL_AVX2_CRYPTO_ALGNAME "cross-rsdp-192-small"

/* no. of bytes of the secret key */
#define PQCLEAN_CROSSRSDP192SMALL_AVX2_CRYPTO_SECRETKEYBYTES 48L
#define PQCLEAN_CROSSRSDP192SMALL_AVX2_CRYPTO_SECRETKEYBYTES 48

/* no. of bytes of the public key */
#define PQCLEAN_CROSSRSDP192SMALL_AVX2_CRYPTO_PUBLICKEYBYTES 115L
#define PQCLEAN_CROSSRSDP192SMALL_AVX2_CRYPTO_PUBLICKEYBYTES 115

/* no. of bytes of overhead in a signed message */
#define PQCLEAN_CROSSRSDP192SMALL_AVX2_CRYPTO_BYTES 23642L
#define PQCLEAN_CROSSRSDP192SMALL_AVX2_CRYPTO_BYTES 23642

/* required bytes of input randomness */
#define PQCLEAN_CROSSRSDP192SMALL_AVX2_CRYPTO_RANDOMBYTES 24
Expand Down
6 changes: 3 additions & 3 deletions src/sig/cross/upcross_cross-rsdp-192-small_clean/api.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@
#define PQCLEAN_CROSSRSDP192SMALL_CLEAN_CRYPTO_ALGNAME "cross-rsdp-192-small"

/* no. of bytes of the secret key */
#define PQCLEAN_CROSSRSDP192SMALL_CLEAN_CRYPTO_SECRETKEYBYTES 48L
#define PQCLEAN_CROSSRSDP192SMALL_CLEAN_CRYPTO_SECRETKEYBYTES 48

/* no. of bytes of the public key */
#define PQCLEAN_CROSSRSDP192SMALL_CLEAN_CRYPTO_PUBLICKEYBYTES 115L
#define PQCLEAN_CROSSRSDP192SMALL_CLEAN_CRYPTO_PUBLICKEYBYTES 115

/* no. of bytes of overhead in a signed message */
#define PQCLEAN_CROSSRSDP192SMALL_CLEAN_CRYPTO_BYTES 23642L
#define PQCLEAN_CROSSRSDP192SMALL_CLEAN_CRYPTO_BYTES 23642

/* required bytes of input randomness */
#define PQCLEAN_CROSSRSDP192SMALL_CLEAN_CRYPTO_RANDOMBYTES 24
Expand Down
6 changes: 3 additions & 3 deletions src/sig/cross/upcross_cross-rsdp-256-balanced_avx2/api.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@
#define PQCLEAN_CROSSRSDP256BALANCED_AVX2_CRYPTO_ALGNAME "cross-rsdp-256-balanced"

/* no. of bytes of the secret key */
#define PQCLEAN_CROSSRSDP256BALANCED_AVX2_CRYPTO_SECRETKEYBYTES 64L
#define PQCLEAN_CROSSRSDP256BALANCED_AVX2_CRYPTO_SECRETKEYBYTES 64

/* no. of bytes of the public key */
#define PQCLEAN_CROSSRSDP256BALANCED_AVX2_CRYPTO_PUBLICKEYBYTES 153L
#define PQCLEAN_CROSSRSDP256BALANCED_AVX2_CRYPTO_PUBLICKEYBYTES 153

/* no. of bytes of overhead in a signed message */
#define PQCLEAN_CROSSRSDP256BALANCED_AVX2_CRYPTO_BYTES 51056L
#define PQCLEAN_CROSSRSDP256BALANCED_AVX2_CRYPTO_BYTES 51056

/* required bytes of input randomness */
#define PQCLEAN_CROSSRSDP256BALANCED_AVX2_CRYPTO_RANDOMBYTES 32
Expand Down
6 changes: 3 additions & 3 deletions src/sig/cross/upcross_cross-rsdp-256-balanced_clean/api.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@
#define PQCLEAN_CROSSRSDP256BALANCED_CLEAN_CRYPTO_ALGNAME "cross-rsdp-256-balanced"

/* no. of bytes of the secret key */
#define PQCLEAN_CROSSRSDP256BALANCED_CLEAN_CRYPTO_SECRETKEYBYTES 64L
#define PQCLEAN_CROSSRSDP256BALANCED_CLEAN_CRYPTO_SECRETKEYBYTES 64

/* no. of bytes of the public key */
#define PQCLEAN_CROSSRSDP256BALANCED_CLEAN_CRYPTO_PUBLICKEYBYTES 153L
#define PQCLEAN_CROSSRSDP256BALANCED_CLEAN_CRYPTO_PUBLICKEYBYTES 153

/* no. of bytes of overhead in a signed message */
#define PQCLEAN_CROSSRSDP256BALANCED_CLEAN_CRYPTO_BYTES 51056L
#define PQCLEAN_CROSSRSDP256BALANCED_CLEAN_CRYPTO_BYTES 51056

/* required bytes of input randomness */
#define PQCLEAN_CROSSRSDP256BALANCED_CLEAN_CRYPTO_RANDOMBYTES 32
Expand Down
6 changes: 3 additions & 3 deletions src/sig/cross/upcross_cross-rsdp-256-fast_avx2/api.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@
#define PQCLEAN_CROSSRSDP256FAST_AVX2_CRYPTO_ALGNAME "cross-rsdp-256-fast"

/* no. of bytes of the secret key */
#define PQCLEAN_CROSSRSDP256FAST_AVX2_CRYPTO_SECRETKEYBYTES 64L
#define PQCLEAN_CROSSRSDP256FAST_AVX2_CRYPTO_SECRETKEYBYTES 64

/* no. of bytes of the public key */
#define PQCLEAN_CROSSRSDP256FAST_AVX2_CRYPTO_PUBLICKEYBYTES 153L
#define PQCLEAN_CROSSRSDP256FAST_AVX2_CRYPTO_PUBLICKEYBYTES 153

/* no. of bytes of overhead in a signed message */
#define PQCLEAN_CROSSRSDP256FAST_AVX2_CRYPTO_BYTES 76298L
#define PQCLEAN_CROSSRSDP256FAST_AVX2_CRYPTO_BYTES 76298

/* required bytes of input randomness */
#define PQCLEAN_CROSSRSDP256FAST_AVX2_CRYPTO_RANDOMBYTES 32
Expand Down
6 changes: 3 additions & 3 deletions src/sig/cross/upcross_cross-rsdp-256-fast_clean/api.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@
#define PQCLEAN_CROSSRSDP256FAST_CLEAN_CRYPTO_ALGNAME "cross-rsdp-256-fast"

/* no. of bytes of the secret key */
#define PQCLEAN_CROSSRSDP256FAST_CLEAN_CRYPTO_SECRETKEYBYTES 64L
#define PQCLEAN_CROSSRSDP256FAST_CLEAN_CRYPTO_SECRETKEYBYTES 64

/* no. of bytes of the public key */
#define PQCLEAN_CROSSRSDP256FAST_CLEAN_CRYPTO_PUBLICKEYBYTES 153L
#define PQCLEAN_CROSSRSDP256FAST_CLEAN_CRYPTO_PUBLICKEYBYTES 153

/* no. of bytes of overhead in a signed message */
#define PQCLEAN_CROSSRSDP256FAST_CLEAN_CRYPTO_BYTES 76298L
#define PQCLEAN_CROSSRSDP256FAST_CLEAN_CRYPTO_BYTES 76298

/* required bytes of input randomness */
#define PQCLEAN_CROSSRSDP256FAST_CLEAN_CRYPTO_RANDOMBYTES 32
Expand Down
6 changes: 3 additions & 3 deletions src/sig/cross/upcross_cross-rsdp-256-small_avx2/api.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@
#define PQCLEAN_CROSSRSDP256SMALL_AVX2_CRYPTO_ALGNAME "cross-rsdp-256-small"

/* no. of bytes of the secret key */
#define PQCLEAN_CROSSRSDP256SMALL_AVX2_CRYPTO_SECRETKEYBYTES 64L
#define PQCLEAN_CROSSRSDP256SMALL_AVX2_CRYPTO_SECRETKEYBYTES 64

/* no. of bytes of the public key */
#define PQCLEAN_CROSSRSDP256SMALL_AVX2_CRYPTO_PUBLICKEYBYTES 153L
#define PQCLEAN_CROSSRSDP256SMALL_AVX2_CRYPTO_PUBLICKEYBYTES 153

/* no. of bytes of overhead in a signed message */
#define PQCLEAN_CROSSRSDP256SMALL_AVX2_CRYPTO_BYTES 43592L
#define PQCLEAN_CROSSRSDP256SMALL_AVX2_CRYPTO_BYTES 43592

/* required bytes of input randomness */
#define PQCLEAN_CROSSRSDP256SMALL_AVX2_CRYPTO_RANDOMBYTES 32
Expand Down
6 changes: 3 additions & 3 deletions src/sig/cross/upcross_cross-rsdp-256-small_clean/api.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@
#define PQCLEAN_CROSSRSDP256SMALL_CLEAN_CRYPTO_ALGNAME "cross-rsdp-256-small"

/* no. of bytes of the secret key */
#define PQCLEAN_CROSSRSDP256SMALL_CLEAN_CRYPTO_SECRETKEYBYTES 64L
#define PQCLEAN_CROSSRSDP256SMALL_CLEAN_CRYPTO_SECRETKEYBYTES 64

/* no. of bytes of the public key */
#define PQCLEAN_CROSSRSDP256SMALL_CLEAN_CRYPTO_PUBLICKEYBYTES 153L
#define PQCLEAN_CROSSRSDP256SMALL_CLEAN_CRYPTO_PUBLICKEYBYTES 153

/* no. of bytes of overhead in a signed message */
#define PQCLEAN_CROSSRSDP256SMALL_CLEAN_CRYPTO_BYTES 43592L
#define PQCLEAN_CROSSRSDP256SMALL_CLEAN_CRYPTO_BYTES 43592

/* required bytes of input randomness */
#define PQCLEAN_CROSSRSDP256SMALL_CLEAN_CRYPTO_RANDOMBYTES 32
Expand Down
6 changes: 3 additions & 3 deletions src/sig/cross/upcross_cross-rsdpg-128-balanced_avx2/api.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@
#define PQCLEAN_CROSSRSDPG128BALANCED_AVX2_CRYPTO_ALGNAME "cross-rsdpg-128-balanced"

/* no. of bytes of the secret key */
#define PQCLEAN_CROSSRSDPG128BALANCED_AVX2_CRYPTO_SECRETKEYBYTES 32L
#define PQCLEAN_CROSSRSDPG128BALANCED_AVX2_CRYPTO_SECRETKEYBYTES 32

/* no. of bytes of the public key */
#define PQCLEAN_CROSSRSDPG128BALANCED_AVX2_CRYPTO_PUBLICKEYBYTES 54L
#define PQCLEAN_CROSSRSDPG128BALANCED_AVX2_CRYPTO_PUBLICKEYBYTES 54

/* no. of bytes of overhead in a signed message */
#define PQCLEAN_CROSSRSDPG128BALANCED_AVX2_CRYPTO_BYTES 9236L
#define PQCLEAN_CROSSRSDPG128BALANCED_AVX2_CRYPTO_BYTES 9236

/* required bytes of input randomness */
#define PQCLEAN_CROSSRSDPG128BALANCED_AVX2_CRYPTO_RANDOMBYTES 16
Expand Down
6 changes: 3 additions & 3 deletions src/sig/cross/upcross_cross-rsdpg-128-balanced_clean/api.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@
#define PQCLEAN_CROSSRSDPG128BALANCED_CLEAN_CRYPTO_ALGNAME "cross-rsdpg-128-balanced"

/* no. of bytes of the secret key */
#define PQCLEAN_CROSSRSDPG128BALANCED_CLEAN_CRYPTO_SECRETKEYBYTES 32L
#define PQCLEAN_CROSSRSDPG128BALANCED_CLEAN_CRYPTO_SECRETKEYBYTES 32

/* no. of bytes of the public key */
#define PQCLEAN_CROSSRSDPG128BALANCED_CLEAN_CRYPTO_PUBLICKEYBYTES 54L
#define PQCLEAN_CROSSRSDPG128BALANCED_CLEAN_CRYPTO_PUBLICKEYBYTES 54

/* no. of bytes of overhead in a signed message */
#define PQCLEAN_CROSSRSDPG128BALANCED_CLEAN_CRYPTO_BYTES 9236L
#define PQCLEAN_CROSSRSDPG128BALANCED_CLEAN_CRYPTO_BYTES 9236

/* required bytes of input randomness */
#define PQCLEAN_CROSSRSDPG128BALANCED_CLEAN_CRYPTO_RANDOMBYTES 16
Expand Down
6 changes: 3 additions & 3 deletions src/sig/cross/upcross_cross-rsdpg-128-fast_avx2/api.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@
#define PQCLEAN_CROSSRSDPG128FAST_AVX2_CRYPTO_ALGNAME "cross-rsdpg-128-fast"

/* no. of bytes of the secret key */
#define PQCLEAN_CROSSRSDPG128FAST_AVX2_CRYPTO_SECRETKEYBYTES 32L
#define PQCLEAN_CROSSRSDPG128FAST_AVX2_CRYPTO_SECRETKEYBYTES 32

/* no. of bytes of the public key */
#define PQCLEAN_CROSSRSDPG128FAST_AVX2_CRYPTO_PUBLICKEYBYTES 54L
#define PQCLEAN_CROSSRSDPG128FAST_AVX2_CRYPTO_PUBLICKEYBYTES 54

/* no. of bytes of overhead in a signed message */
#define PQCLEAN_CROSSRSDPG128FAST_AVX2_CRYPTO_BYTES 12472L
#define PQCLEAN_CROSSRSDPG128FAST_AVX2_CRYPTO_BYTES 12472

/* required bytes of input randomness */
#define PQCLEAN_CROSSRSDPG128FAST_AVX2_CRYPTO_RANDOMBYTES 16
Expand Down
Loading

0 comments on commit a35e13c

Please sign in to comment.