VERILOG2088: Encoded block in protected envelope should not differ in size from what was specified in a prior encoding pragma directive
Summary
| Reliability | Security | Maintainability | Code attribute | Effort to fix | Tags |
|---|---|---|---|---|---|
| HIGH | - | - | Intentionality | Logical | 10min | synthesis, 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.