- 71BCA4B94AE6EA691D3A1FAF6C84AE5D17B803D11607E786C34E2711CABEB6921789AAE27A3A14B9B5CF5216A133EC2E8BD3B06EB1F2B88923F7E65297C2F5F4
+ 116E16B2714EF88045A3CBEA42E604A1FDF8B0F55FC1017AF960105C046C97EF84EDC4D74C919652029D0EA61BD1049F4FF445873CA9F0A73549DDD3146A3FAA
vtools/src/smg_keccak.ads
(5 . 6)(5 . 7)
187
188 -- S.MG, 2018
189
190 with Bits; use Bits;
191 package SMG_Keccak is
192 pragma Pure(SMG_Keccak); --stateless, no side effects -> can cache calls
193
(38 . 8)(39 . 6)
195 -- the "secret" part of the state (i.e. lower capacity)
196 subtype Keccak_Rate is Positive range 1..Width; -- capacity = width - rate
197
198 type Bit is mod 2;
199 type Bitstream is array( Natural range <> ) of Bit; -- any length; message
200 subtype Bitword is Bitstream( 0..Z_Length - 1 ); -- bits of one state "word"
201
202 -- type conversions