Bruce 1ae1b92302
initialize length_encaps_seed for NTRU implementations (#2266)
* initialize length_encaps_seed for NTRU implementations

Signed-off-by: Ganyu (Bruce) Xu <g66xu@uwaterloo.ca>

* Only allocate for keypair seed and encaps seed when derandomized

Signed-off-by: Ganyu (Bruce) Xu <g66xu@uwaterloo.ca>

* format test_kem.c according to astyle

Signed-off-by: Ganyu (Bruce) Xu <g66xu@uwaterloo.ca>

* only call memcmp on keypair_seed and encaps_seed if derand

Signed-off-by: Ganyu (Bruce) Xu <g66xu@uwaterloo.ca>

---------

Signed-off-by: Ganyu (Bruce) Xu <g66xu@uwaterloo.ca>
2025-09-15 15:53:48 -04:00
..
2025-08-27 09:43:57 -04:00
2025-09-09 17:10:28 -04:00
2025-09-09 17:10:28 -04:00
2025-06-05 19:47:02 -04:00
2025-02-07 15:22:07 -05:00
2025-02-07 15:22:07 -05:00
2025-05-01 11:41:57 -04:00
2025-02-07 15:22:07 -05:00
2025-06-05 19:47:02 -04:00
2025-08-27 09:43:57 -04:00