You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
negative pLen when len(cipherText) < TagSize is checked by writeLenVec which is a bit weird since it's usually nice to check nearer where the possibly bad value is computed.
a comment on L170 on why aadLen < 0 check is not necessary (and remove the commented out check code) would be nice.
The text was updated successfully, but these errors were encountered:
go-common/sivaessha2/symmetric.go
Line 111 in 02817f4
negative
pLen
whenlen(cipherText) < TagSize
is checked bywriteLenVec
which is a bit weird since it's usually nice to check nearer where the possibly bad value is computed.a comment on L170 on why
aadLen < 0
check is not necessary (and remove the commented out check code) would be nice.The text was updated successfully, but these errors were encountered: