FallenSigh
3284aa443f
fix(kg): implement t_hat computation and pk/sk output in mlkem_top
- Add s_hat0_reg/s_hat1_reg for s_hat capture during CBD→NTT output
- Add tmul_accum register for poly_mul result accumulation
- Implement S_KG_TMUL_MUL_LD: load A+s coefficients into poly_mul
- Implement S_KG_TMUL_MUL_WAIT/ACCUM: accumulate A·s products
- Implement S_KG_TMUL_ADD_E: add e_hat to accumulated sum
- Assign pk_o_r = {t_hat1, t_hat0}_reg and sk_o_r = {s_hat1, s_hat0}_reg
- Shift Encaps/Decaps FSM states by +3
KeyGen: 5/5 vectors complete in ~47K cycles/op
2026-06-27 01:38:38 +08:00
..
2026-06-24 19:43:29 +08:00
2026-06-25 21:32:19 +08:00
2026-06-25 20:53:47 +08:00
2026-06-25 21:32:19 +08:00
2026-06-25 20:53:47 +08:00
2026-06-25 21:32:19 +08:00
2026-06-25 20:53:47 +08:00
2026-06-26 03:35:37 +08:00
2026-06-26 03:35:37 +08:00
2026-06-25 21:32:19 +08:00
2026-06-26 03:35:37 +08:00
2026-06-25 21:32:19 +08:00
2026-06-27 01:38:38 +08:00