diff --git a/.github/workflow_metadata/pr_hash b/.github/workflow_metadata/pr_hash index 8be31c8..be4c651 100644 --- a/.github/workflow_metadata/pr_hash +++ b/.github/workflow_metadata/pr_hash @@ -1 +1 @@ -262f889638446963350fcd9f236d7e0f4a633d8ad83ac827fd3ca61a065b1a8ee5c55f9e77fbd20b612f0a7bc0fce614 \ No newline at end of file +ff40e98eca49e1e3a14937d523744e974a3492a0d3bbade8de3dff390379bde0e2292a07018f58e253dbdc041414c25d \ No newline at end of file diff --git a/.github/workflow_metadata/pr_timestamp b/.github/workflow_metadata/pr_timestamp index 33d1b76..eacf140 100644 --- a/.github/workflow_metadata/pr_timestamp +++ b/.github/workflow_metadata/pr_timestamp @@ -1 +1 @@ -1737070946 \ No newline at end of file +1737503491 \ No newline at end of file diff --git a/src/mldsa_top/rtl/mldsa_ctrl.sv b/src/mldsa_top/rtl/mldsa_ctrl.sv index 218b8a7..b5349df 100644 --- a/src/mldsa_top/rtl/mldsa_ctrl.sv +++ b/src/mldsa_top/rtl/mldsa_ctrl.sv @@ -1657,8 +1657,8 @@ mldsa_seq_sec mldsa_seq_sec_inst .data_o(sec_instr_o) ); -always_comb prim_instr = (prim_prog_cntr == MLDSA_ZEROIZE)? '0 : prim_instr_o; -always_comb sec_instr = (sec_prog_cntr == MLDSA_ZEROIZE)? '0 : sec_instr_o; +always_comb prim_instr = ((prim_prog_cntr == MLDSA_ZEROIZE) | (prim_prog_cntr == MLDSA_RESET))? '0 : prim_instr_o; +always_comb sec_instr = ((sec_prog_cntr == MLDSA_ZEROIZE) | (sec_prog_cntr == MLDSA_RESET))? '0 : sec_instr_o; always_ff @(posedge clk or negedge rst_b) begin if (!rst_b) begin