Lines Matching refs:rate
34 int Sponge(unsigned int rate, unsigned int capacity, const unsigned char *input, size_t inputByteLe…
40 unsigned int rateInBytes = rate/8;
42 if (rate+capacity != SnP_width)
44 if ((rate <= 0) || (rate > SnP_width) || ((rate % 8) != 0))
56 /* fast lane: whole lane rate */
90 …/* If the first bit of padding is at position rate-1, we need a whole new block for the second bit…
133 int SpongeInitialize(SpongeInstance *instance, unsigned int rate, unsigned int capacity)
135 if (rate+capacity != SnP_width)
137 if ((rate <= 0) || (rate > SnP_width) || ((rate % 8) != 0))
141 instance->rate = rate;
155 unsigned int rateInBytes = instance->rate/8;
167 /* fast lane: whole lane rate */
214 unsigned int rateInBytes = instance->rate/8;
230 …/* If the first bit of padding is at position rate-1, we need a whole new block for the second bit…
258 unsigned int rateInBytes = instance->rate/8;