[kmac] Rename LFSR Redundancy to PRNG.LFSR.REDUN As discussed in D2S review meeting, this commit changes the LFSR.REDUN countermeasure name to PRNG.LFSR.REDUN. Signed-off-by: Eunchan Kim <eunchan@opentitan.org>
diff --git a/hw/ip/kmac/data/kmac.hjson b/hw/ip/kmac/data/kmac.hjson index be492ce..a271268 100644 --- a/hw/ip/kmac/data/kmac.hjson +++ b/hw/ip/kmac/data/kmac.hjson
@@ -182,7 +182,7 @@ { name: "FSM.SPARSE" desc: "FSMs in KMAC are sparsely encoded." } - { name: "LFSR.REDUN" + { name: "PRNG.LFSR.REDUN" desc: "LFSR in the entropy generator uses prim_double_lfsr" } { name: "CTR.REDUN"
diff --git a/hw/ip/kmac/data/kmac_sec_cm_testplan.hjson b/hw/ip/kmac/data/kmac_sec_cm_testplan.hjson index 95cb3a7..e8ec2d0 100644 --- a/hw/ip/kmac/data/kmac_sec_cm_testplan.hjson +++ b/hw/ip/kmac/data/kmac_sec_cm_testplan.hjson
@@ -48,8 +48,8 @@ tests: [] } { - name: sec_cm_lfsr_redun - desc: "Verify the countermeasure(s) LFSR.REDUN." + name: sec_cm_prng_lfsr_redun + desc: "Verify the countermeasure(s) PRNG.LFSR.REDUN." milestone: V2S tests: [] }
diff --git a/hw/ip/kmac/rtl/kmac_entropy.sv b/hw/ip/kmac/rtl/kmac_entropy.sv index be62355..9396ae3 100644 --- a/hw/ip/kmac/rtl/kmac_entropy.sv +++ b/hw/ip/kmac/rtl/kmac_entropy.sv
@@ -307,7 +307,7 @@ // We employ two redundant LFSRs to guard against FI attacks. // If any of the two is glitched and the two LFSR states do not agree, // KMAC reports the fatal error via alert interface. - // SEC_CM: LFSR.REDUN + // SEC_CM: PRNG.LFSR.REDUN prim_double_lfsr #( .LfsrDw(EntropyLfsrW), .EntropyDw(EntropyLfsrW),