@@ -208,11 +208,7 @@ fn _poly_compress(reg u64 rp, reg ptr u16[KYBER_N] a) -> reg ptr u16[KYBER_N]
208
208
{
209
209
inline int i;
210
210
reg u256 f0 f1 f2 f3 v shift1 mask shift2 permidx;
211
- reg u128 t0 t1 t3;
212
211
reg ptr u16[16] x16p;
213
- reg u64 t64;
214
- reg u32 t32;
215
- reg u16 t16;
216
212
217
213
a = _poly_csubq(a);
218
214
@@ -258,11 +254,7 @@ fn _poly_compress_1(reg ptr u8[KYBER_POLYCOMPRESSEDBYTES] rp, reg ptr u16[KYBER_
258
254
{
259
255
inline int i;
260
256
reg u256 f0 f1 f2 f3 v shift1 mask shift2 permidx;
261
- reg u128 t0 t1 t3;
262
257
reg ptr u16[16] x16p;
263
- reg u64 t64;
264
- reg u32 t32;
265
- reg u16 t16;
266
258
267
259
a = _poly_csubq(a);
268
260
@@ -451,7 +443,7 @@ u8[16] pfm_idx_s = {0, 1, 4, 5, 8, 9, 12, 13,
451
443
fn _poly_frommsg(reg ptr u16[KYBER_N] rp, reg u64 ap) -> stack u16[KYBER_N]
452
444
{
453
445
inline int i;
454
- reg u256 f g0 g1 g2 g3 g4 h0 h1 h2 h3;
446
+ reg u256 f g0 g1 g2 g3 h0 h1 h2 h3;
455
447
reg u256 shift idx hqs;
456
448
reg ptr u16[16] x16p;
457
449
@@ -499,7 +491,7 @@ fn _poly_frommsg(reg ptr u16[KYBER_N] rp, reg u64 ap) -> stack u16[KYBER_N]
499
491
fn _poly_frommsg_1(reg ptr u16[KYBER_N] rp, reg ptr u8[KYBER_INDCPA_MSGBYTES] ap) -> stack u16[KYBER_N]
500
492
{
501
493
inline int i;
502
- reg u256 f g0 g1 g2 g3 g4 h0 h1 h2 h3;
494
+ reg u256 f g0 g1 g2 g3 h0 h1 h2 h3;
503
495
reg u256 shift idx hqs;
504
496
reg ptr u16[16] x16p;
505
497
@@ -879,7 +871,7 @@ inline
879
871
fn __invntt___butterfly64x(reg u256 rl0 rl1 rl2 rl3 rh0 rh1 rh2 rh3 zl0 zl1 zh0 zh1 qx16)
880
872
-> reg u256, reg u256, reg u256, reg u256, reg u256, reg u256, reg u256, reg u256
881
873
{
882
- reg u256 t0 t1 t2 t3 t4 t5 t6 t7 ;
874
+ reg u256 t0 t1 t2 t3;
883
875
884
876
t0 = #VPSUB_16u16(rl0, rh0);
885
877
t1 = #VPSUB_16u16(rl1, rh1);
@@ -921,7 +913,6 @@ fn _poly_invntt(reg ptr u16[KYBER_N] rp) -> reg ptr u16[KYBER_N]
921
913
{
922
914
reg u256 zeta0 zeta1 zeta2 zeta3 r0 r1 r2 r3 r4 r5 r6 r7 qx16 vx16 flox16 fhix16;
923
915
reg ptr u16[400] zetasp;
924
- reg ptr u16[16] qx16p;
925
916
inline int i;
926
917
927
918
zetasp = jzetas_inv_exp;
@@ -1119,8 +1110,6 @@ fn __butterfly64x(reg u256 rl0 rl1 rl2 rl3 rh0 rh1 rh2 rh3 zl0 zl1 zh0 zh1 qx16)
1119
1110
fn _poly_ntt(reg ptr u16[KYBER_N] rp) -> reg ptr u16[KYBER_N]
1120
1111
{
1121
1112
reg u256 zeta0 zeta1 zeta2 zeta3 r0 r1 r2 r3 r4 r5 r6 r7 qx16 vx16;
1122
- reg u32 t;
1123
- reg u16 w;
1124
1113
reg ptr u16[400] zetasp;
1125
1114
inline int i;
1126
1115
0 commit comments