Skip to content

Commit

Permalink
add readme, modify to make to make it compile in supercop
Browse files Browse the repository at this point in the history
  • Loading branch information
cothan committed Sep 10, 2020
1 parent f60090b commit 3ccef3d
Show file tree
Hide file tree
Showing 9 changed files with 207 additions and 9 deletions.
66 changes: 66 additions & 0 deletions supercop/crypto_kem/firesaber2/neon/README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
This implementation is based on SABER latest commit at: https://github.com/KULeuven-COSIC/SABER

Any pull requests, issues are welcome at: https://github.com/cothan/SABER

Best regards,
-----
Duc Tri Nguyen (CERG GMU)

.
├── api.h
├── apiorig.h
├── architectures
├── cbd.c
├── cbd.h
├── crypto_stream.h
├── fips202.c
├── fips202.h
├── implementors
├── kem.c
├── kem.h
├── pack_unpack.c
├── pack_unpack.h
├── poly.c
├── poly.h
├── README.txt
├── rq_mul
│   ├── neon_batch_multiplication.c
│   ├── neon_batch_multiplication.h
│   ├── neon_matrix_transpose.c
│   ├── neon_matrix_transpose.h
│   ├── neon_poly_rq_mul.c
│   └── neon_poly_rq_mul.h
├── SABER_indcpa.c
├── SABER_indcpa.h
├── SABER_params.h
├── verify.c
└── verify.h

1 directory, 27 files
6d83cd4b8fb0821c5b9c3c9e5bd943e6 ./README.txt
4828e932aba79da3b9b59f2e5223da77 ./api.h
bcb961cca51f63814fbc1c7b7c1892e5 ./verify.c
7a794e9b2699b2f8548997c09143d130 ./fips202.h
596ed8e81143fa3f7b19f0227ec44c13 ./SABER_params.h
1bcb1fa9d14b9be69d0c7af0041fab04 ./pack_unpack.c
f1a554387a4a34d6c7742d92bb88bcbb ./SABER_indcpa.c
f462b0d1a5033705a5fd65559cd56567 ./implementors
eae70d6eeba93027ed4a1017611956a6 ./cbd.c
c4b12cd8d1f3c328fe10bd01c88cd9f0 ./architectures
86a1278bf772ee581cd5c299d3c9983d ./SABER_indcpa.h
1cb977efbfddf5c6475d3f6bfefa1410 ./cbd.h
32bc67ce2f6e9a0d316a6335e466bdc6 ./fips202.c
788de5c66a9ba8e1b1eda8e0153eed2d ./rq_mul/neon_poly_rq_mul.c
c2a7ecd4b5360fd29e51585cf3dbfcf5 ./rq_mul/neon_matrix_transpose.c
6895ee9d0163dd5979df6b2dae57e9cf ./rq_mul/neon_matrix_transpose.h
99de300d3ffba862590ffa0bf5d51625 ./rq_mul/neon_batch_multiplication.h
7c8ef5cf2ea180f12845fad60df40641 ./rq_mul/neon_poly_rq_mul.h
84579da93ee608e6e851aaf3b081eb89 ./rq_mul/neon_batch_multiplication.c
d9882eee52079852f2c46034e470e754 ./poly.c
8a26b15a57e10367c3fafca63c8a0bda ./poly.h
a4985af1c963d5c07fd9b10abd1dab41 ./kem.c
cec3111bdf6da7d016b2441b3b9e82b1 ./pack_unpack.h
80c1c93393fa780a28b24724bd487fe2 ./verify.h
83664ed93e70c14572c0db1c0bf8a32e ./apiorig.h
3f5868e49e234b1f5eeeb4edec2db560 ./crypto_stream.h
3c0eb574f59b132e6099f08a729dce1d ./kem.h
2 changes: 1 addition & 1 deletion supercop/crypto_kem/firesaber2/neon/SABER_indcpa.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Jose Maria Bermudo Mera, Michiel Van Beirendonck, Andrea Basso.
#include "cbd.h"
#include "SABER_params.h"
#include "fips202.h"
#include "rq_mul/neon_poly_rq_mul.h"
#include "rq_mul/neon_poly_rq_mul.c"

#define h1 4 //2^(EQ-EP-1)

Expand Down
4 changes: 2 additions & 2 deletions supercop/crypto_kem/firesaber2/neon/rq_mul/neon_poly_rq_mul.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ limitations under the License.

#include "../SABER_params.h"
#include "../poly.h"
#include "neon_batch_multiplication.h"
#include "neon_matrix_transpose.h"
#include "neon_batch_multiplication.c"
#include "neon_matrix_transpose.c"

#define SB0 (SABER_N) // 256
#define SB1 (SB0 / 4) // 64
Expand Down
66 changes: 66 additions & 0 deletions supercop/crypto_kem/lightsaber2/neon/README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
This implementation is based on SABER latest commit at: https://github.com/KULeuven-COSIC/SABER

Any pull requests, issues are welcome at: https://github.com/cothan/SABER

Best regards,
-----
Duc Tri Nguyen (CERG GMU)

.
├── api.h
├── apiorig.h
├── architectures
├── cbd.c
├── cbd.h
├── crypto_stream.h
├── fips202.c
├── fips202.h
├── implementors
├── kem.c
├── kem.h
├── pack_unpack.c
├── pack_unpack.h
├── poly.c
├── poly.h
├── README.txt
├── rq_mul
│   ├── neon_batch_multiplication.c
│   ├── neon_batch_multiplication.h
│   ├── neon_matrix_transpose.c
│   ├── neon_matrix_transpose.h
│   ├── neon_poly_rq_mul.c
│   └── neon_poly_rq_mul.h
├── SABER_indcpa.c
├── SABER_indcpa.h
├── SABER_params.h
├── verify.c
└── verify.h

1 directory, 27 files
c035aafd51ea490b638841a043b7acd3 ./README.txt
550e09228e56210c2835b5f390a81220 ./api.h
bcb961cca51f63814fbc1c7b7c1892e5 ./verify.c
7a794e9b2699b2f8548997c09143d130 ./fips202.h
596ed8e81143fa3f7b19f0227ec44c13 ./SABER_params.h
1bcb1fa9d14b9be69d0c7af0041fab04 ./pack_unpack.c
f1a554387a4a34d6c7742d92bb88bcbb ./SABER_indcpa.c
f462b0d1a5033705a5fd65559cd56567 ./implementors
eae70d6eeba93027ed4a1017611956a6 ./cbd.c
c4b12cd8d1f3c328fe10bd01c88cd9f0 ./architectures
86a1278bf772ee581cd5c299d3c9983d ./SABER_indcpa.h
1cb977efbfddf5c6475d3f6bfefa1410 ./cbd.h
32bc67ce2f6e9a0d316a6335e466bdc6 ./fips202.c
788de5c66a9ba8e1b1eda8e0153eed2d ./rq_mul/neon_poly_rq_mul.c
c2a7ecd4b5360fd29e51585cf3dbfcf5 ./rq_mul/neon_matrix_transpose.c
6895ee9d0163dd5979df6b2dae57e9cf ./rq_mul/neon_matrix_transpose.h
99de300d3ffba862590ffa0bf5d51625 ./rq_mul/neon_batch_multiplication.h
7c8ef5cf2ea180f12845fad60df40641 ./rq_mul/neon_poly_rq_mul.h
84579da93ee608e6e851aaf3b081eb89 ./rq_mul/neon_batch_multiplication.c
d9882eee52079852f2c46034e470e754 ./poly.c
8a26b15a57e10367c3fafca63c8a0bda ./poly.h
a4985af1c963d5c07fd9b10abd1dab41 ./kem.c
cec3111bdf6da7d016b2441b3b9e82b1 ./pack_unpack.h
80c1c93393fa780a28b24724bd487fe2 ./verify.h
70816f11b636da452709b9083732e5c0 ./apiorig.h
3f5868e49e234b1f5eeeb4edec2db560 ./crypto_stream.h
3c0eb574f59b132e6099f08a729dce1d ./kem.h
2 changes: 1 addition & 1 deletion supercop/crypto_kem/lightsaber2/neon/SABER_indcpa.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Jose Maria Bermudo Mera, Michiel Van Beirendonck, Andrea Basso.
#include "cbd.h"
#include "SABER_params.h"
#include "fips202.h"
#include "rq_mul/neon_poly_rq_mul.h"
#include "rq_mul/neon_poly_rq_mul.c"

#define h1 4 //2^(EQ-EP-1)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ limitations under the License.

#include "../SABER_params.h"
#include "../poly.h"
#include "neon_batch_multiplication.h"
#include "neon_matrix_transpose.h"
#include "neon_batch_multiplication.c"
#include "neon_matrix_transpose.c"

#define SB0 (SABER_N) // 256
#define SB1 (SB0 / 4) // 64
Expand Down
66 changes: 66 additions & 0 deletions supercop/crypto_kem/saber2/neon/README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
This implementation is based on SABER latest commit at: https://github.com/KULeuven-COSIC/SABER

Any pull requests, issues are welcome at: https://github.com/cothan/SABER

Best regards,
-----
Duc Tri Nguyen (CERG GMU)

.
├── api.h
├── apiorig.h
├── architectures
├── cbd.c
├── cbd.h
├── crypto_stream.h
├── fips202.c
├── fips202.h
├── implementors
├── kem.c
├── kem.h
├── pack_unpack.c
├── pack_unpack.h
├── poly.c
├── poly.h
├── README.txt
├── rq_mul
│   ├── neon_batch_multiplication.c
│   ├── neon_batch_multiplication.h
│   ├── neon_matrix_transpose.c
│   ├── neon_matrix_transpose.h
│   ├── neon_poly_rq_mul.c
│   └── neon_poly_rq_mul.h
├── SABER_indcpa.c
├── SABER_indcpa.h
├── SABER_params.h
├── verify.c
└── verify.h

1 directory, 27 files
6d83cd4b8fb0821c5b9c3c9e5bd943e6 ./README.txt
1c590d5068bcde0dc96382d8b83d42d2 ./api.h
bcb961cca51f63814fbc1c7b7c1892e5 ./verify.c
7a794e9b2699b2f8548997c09143d130 ./fips202.h
596ed8e81143fa3f7b19f0227ec44c13 ./SABER_params.h
1bcb1fa9d14b9be69d0c7af0041fab04 ./pack_unpack.c
f1a554387a4a34d6c7742d92bb88bcbb ./SABER_indcpa.c
f462b0d1a5033705a5fd65559cd56567 ./implementors
eae70d6eeba93027ed4a1017611956a6 ./cbd.c
c4b12cd8d1f3c328fe10bd01c88cd9f0 ./architectures
86a1278bf772ee581cd5c299d3c9983d ./SABER_indcpa.h
1cb977efbfddf5c6475d3f6bfefa1410 ./cbd.h
32bc67ce2f6e9a0d316a6335e466bdc6 ./fips202.c
788de5c66a9ba8e1b1eda8e0153eed2d ./rq_mul/neon_poly_rq_mul.c
c2a7ecd4b5360fd29e51585cf3dbfcf5 ./rq_mul/neon_matrix_transpose.c
6895ee9d0163dd5979df6b2dae57e9cf ./rq_mul/neon_matrix_transpose.h
99de300d3ffba862590ffa0bf5d51625 ./rq_mul/neon_batch_multiplication.h
7c8ef5cf2ea180f12845fad60df40641 ./rq_mul/neon_poly_rq_mul.h
84579da93ee608e6e851aaf3b081eb89 ./rq_mul/neon_batch_multiplication.c
d9882eee52079852f2c46034e470e754 ./poly.c
8a26b15a57e10367c3fafca63c8a0bda ./poly.h
a4985af1c963d5c07fd9b10abd1dab41 ./kem.c
cec3111bdf6da7d016b2441b3b9e82b1 ./pack_unpack.h
80c1c93393fa780a28b24724bd487fe2 ./verify.h
8c6f54c231ed179ae63b3d20c60890d6 ./apiorig.h
3f5868e49e234b1f5eeeb4edec2db560 ./crypto_stream.h
3c0eb574f59b132e6099f08a729dce1d ./kem.h
2 changes: 1 addition & 1 deletion supercop/crypto_kem/saber2/neon/SABER_indcpa.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Jose Maria Bermudo Mera, Michiel Van Beirendonck, Andrea Basso.
#include "cbd.h"
#include "SABER_params.h"
#include "fips202.h"
#include "rq_mul/neon_poly_rq_mul.h"
#include "rq_mul/neon_poly_rq_mul.c"

#define h1 4 //2^(EQ-EP-1)

Expand Down
4 changes: 2 additions & 2 deletions supercop/crypto_kem/saber2/neon/rq_mul/neon_poly_rq_mul.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ limitations under the License.

#include "../SABER_params.h"
#include "../poly.h"
#include "neon_batch_multiplication.h"
#include "neon_matrix_transpose.h"
#include "neon_batch_multiplication.c"
#include "neon_matrix_transpose.c"

#define SB0 (SABER_N) // 256
#define SB1 (SB0 / 4) // 64
Expand Down

0 comments on commit 3ccef3d

Please sign in to comment.