Commit Graph

111 Commits

Author SHA1 Message Date
Edmond de Roffignac 728e18ab4e
Merge pull request #7 from rust-crypto-labs/shin/archi-overhaul
shin/archi-overhaul
2021-09-02 15:17:00 +02:00
Ashashin 41ce542c47 Doc 2021-08-08 12:43:09 +02:00
Ashashin 3ad91b9713 Move functions in folder 2021-08-08 12:11:14 +02:00
Ashashin 598c0ee3c9 Move all struct to struct folder 2021-08-08 11:52:03 +02:00
Ashashin 2a16ce1d4f Fix examples 2021-08-08 11:30:53 +02:00
Ashashin b2db413b55 Fix benches 2021-08-08 11:25:53 +02:00
Ashashin 72702af258 move test to appropriate file 2021-08-08 11:17:47 +02:00
Ashashin 2995e84800 Create KEM and PKE objects 2021-08-08 11:13:26 +02:00
rgs 0dcd12debf
Merge pull request #6 from rust-crypto-labs/shin/const_generics
Move to const generics
2021-08-07 21:29:43 +02:00
Ashashin 0cfd5937eb Matrix moves to array 2021-08-05 18:44:19 +02:00
Ashashin 5b11d8aa70 Move Polyvec to array 2021-08-05 18:08:11 +02:00
Ashashin 79d4d1e109 Move Polynomial to arrays 2021-08-05 17:49:21 +02:00
Ashashin 4e72663f90 remove unnecessary assert + fmt 2021-08-05 16:17:54 +02:00
Ashashin 7903659245 move index mut to separate function 2021-08-05 16:14:52 +02:00
Ashashin 62e10825f6 from vec without len specification 2021-08-05 15:38:10 +02:00
Ashashin fc91539310 Move to Self for all contruct 2021-08-05 15:34:15 +02:00
Ashashin afb805c2f0 Remove dimension from struct values 2021-08-05 13:30:56 +02:00
Ashashin a0f7504199 Remove self from one, zero, dimension methods 2021-08-05 13:11:03 +02:00
Ashashin 050bd1e368 Add const generics to Vec and Matrices 2021-08-05 12:57:22 +02:00
Ashashin ff45978508 Use const generics for Polynomial 2021-08-05 12:32:33 +02:00
Ashashin 882e4498dc Move to option<usize> for degree 2021-08-05 12:06:16 +02:00
Edmond de Roffignac 9d0e33ee76
Merge pull request #5 from rust-crypto-labs/shin/add-benches
Add benches
2021-08-04 21:49:22 +02:00
Ashashin fc4baf12fd Update readme 2021-08-04 21:45:10 +02:00
Ashashin c55cbf3b5e Add svg to bench 2021-08-04 21:32:19 +02:00
Ashashin 93920d2300 cleanup 2021-08-03 23:05:16 +02:00
Ashashin db6a22d47f fmt 2021-07-31 01:00:36 +02:00
Ashashin ed1ce0b3d4 move evrythong to usize + fast inverse 2021-07-31 01:00:29 +02:00
Ashashin dc6023563b move examples to examples folder 2021-07-30 19:17:01 +02:00
Ashashin 3066779c23 fmt 2021-07-30 18:25:28 +02:00
Ashashin 30046f6380 Add flamegraph to dependencies and add bench files 2021-07-30 18:16:55 +02:00
Ashashin 34fc6e9eb5 Minor doc fix 2021-07-30 18:07:15 +02:00
Ashashin edcf908482 Add criterion benches 2021-07-29 17:20:09 +02:00
Edmond de Roffignac db737b9913
Merge pull request #4 from rust-crypto-labs/sha-branch
Polynomial multiplication, Default trait
2021-07-28 23:44:24 +02:00
Ashashin 2cf7907d4c cleanup 2021-03-06 14:57:25 +01:00
Ashashin d1c2a3a26e Added NTT unit testing 2021-03-06 14:57:18 +01:00
Ashashin 70dcbde462 NTT overhaul 2021-03-06 14:52:26 +01:00
Ashashin bb9e0d06de Fix inverted sk and pk usage in kem 2021-03-06 14:45:47 +01:00
Ashashin 1ec564cbe1 Fix inversion 2021-03-06 14:42:55 +01:00
Ashashin 9f3b025612 fix byte array and decofing 2020-12-09 00:16:20 +01:00
Ashashin 17a65439a0 add compression test 2020-12-08 22:48:31 +01:00
Ashashin 4226cd7c57 rectify byte array sizes 2020-12-08 17:48:00 +01:00
Ashashin e1961f4012 Fix runtime panic 2020-12-08 15:15:21 +01:00
Ashashin 85ba55484e Merge branch 'sha-branch' of github.com:rust-crypto-labs/kybe-rs into sha-branch 2020-12-08 13:47:38 +01:00
Ashashin 0c301cd92c apply changes from the decode to poly 2020-12-08 13:47:33 +01:00
r.g.s 98530b666b Fix rev_ntt when zero polynomial is passed as argument 2020-12-08 13:46:05 +01:00
Ashashin b3ab9da6c1 WIP: fix tests 2020-12-08 13:37:36 +01:00
Benoît du Garreau c196a855dc Reduce allocations 2020-12-07 11:16:19 +01:00
Ashashin 759789db9e Complete documentation 2020-11-24 21:42:52 +01:00
Ashashin a95eddd6e7 Added NTT 2020-11-02 12:27:14 +01:00
Ashashin 980cd59889 update utils to directly init poly 2020-10-30 12:36:26 +01:00