VERILOG2088: Encoded block in protected envelope should not differ in size from what was specified in a prior encoding pragma directive

Summary

Count: 1

ReliabilitySecurityMaintainabilityCode attributeEffort to fixTags
HIGH--Intentionality | Logical10minsynthesis, vscode, linter, simulation

Description

Noncompliant code example

// Noncompliant: 4 bytes decoded in protected envelope but encoding pragma said to expect 6
`pragma protect begin_protected
`pragma protect encoding=(enctype="base64", bytes=6), data_public_key
asdfas==
`pragma protect end_protected

An encoded block in a protected envelope differed in size from what was specified in a prior encoding pragma directive.

Parameters

No parameters.