[Open Crypto Project] #9: Fix lint warnings in SHA-1
Open Crypto Project
trac at cryptech.is
Thu Nov 6 08:56:40 UTC 2014
#9: Fix lint warnings in SHA-1
----------------------+----------------------
Reporter: joachims | Owner: joachims
Type: defect | Status: new
Priority: major | Milestone:
Component: rtl | Version:
Keywords: |
----------------------+----------------------
Extracted warnings in #6 for SHA-1:
%Warning-WIDTH: ../../sha1/src/rtl/sha1_w_mem.v:290: Operator ASSIGN
expects 7 bits on the Assign RHS, but Assign RHS's CONST '6'h0' generates
6 bits.
%Warning-WIDTH: ../src/rtl/sha1.v:155: Bit extraction of array[19:0]
requires 5 bit index, not 7 bits.
%Warning-WIDTH: ../src/rtl/sha1.v:208: Operator LT expects 32 or 10 bits
on the LHS, but LHS's VARREF 'i' generates 8 bits.
%Warning-WIDTH: ../src/rtl/sha1.v:209: Bit extraction of array[63:0]
requires 6 bit index, not 8 bits.
%Warning-WIDTH: ../src/rtl/sha1.v:237: Bit extraction of array[63:0]
requires 6 bit index, not 7 bits.
%Warning-WIDTH: ../src/rtl/sha1.v:328: Operator EQ expects 32 or 10 bits
on the LHS, but LHS's VARREF 'rx_ptr_new' generates 8 bits.
--
Ticket URL: <https://trac.cryptech.is/ticket/9>
Open Crypto Project <https://wiki.cryptech.is/>
More information about the Ticket-BCC
mailing list