max padding len as variable

This commit is contained in:
Darien Raymond
2018-07-08 21:46:13 +02:00
parent a8b0660df0
commit 8a879deac1
3 changed files with 11 additions and 1 deletions
+4
View File
@@ -111,3 +111,7 @@ func (s *ShakeSizeParser) Encode(size uint16, b []byte) []byte {
func (s *ShakeSizeParser) NextPaddingLen() uint16 {
return s.next() % 64
}
func (s *ShakeSizeParser) MaxPaddingLne() uint16 {
return 64
}