Home
last modified time | relevance | path

Searched refs:dataByteLen (Results 1 – 6 of 6) sorted by relevance

/php-src/ext/hash/sha3/generic32lc/
H A DKeccakSponge.h91 …SpongeAbsorb(Prefix_SpongeInstance *spongeInstance, const unsigned char *data, size_t dataByteLen);
127 …efix_SpongeSqueeze(Prefix_SpongeInstance *spongeInstance, unsigned char *data, size_t dataByteLen);
144 …geAbsorb(prefix##_SpongeInstance *spongeInstance, const unsigned char *data, size_t dataByteLen); \
146 …##_SpongeSqueeze(prefix##_SpongeInstance *spongeInstance, unsigned char *data, size_t dataByteLen);
H A DKeccakSponge.inc162 while(i < dataByteLen) {
163 if ((instance->byteIOIndex == 0) && (dataByteLen-i >= rateInBytes)) {
174 for(j=dataByteLen-i; j>=rateInBytes; j-=rateInBytes) {
182 i = dataByteLen - j;
189 if (dataByteLen-i > rateInBytes-instance->byteIOIndex)
192 partialBlock = (unsigned int)(dataByteLen - i);
266 while(i < dataByteLen) {
268 for(j=dataByteLen-i; j>=rateInBytes; j-=rateInBytes) {
276 i = dataByteLen - j;
284 if (dataByteLen-i > rateInBytes-instance->byteIOIndex)
[all …]
/php-src/ext/hash/sha3/generic64lc/
H A DKeccakSponge.h91 …SpongeAbsorb(Prefix_SpongeInstance *spongeInstance, const unsigned char *data, size_t dataByteLen);
127 …efix_SpongeSqueeze(Prefix_SpongeInstance *spongeInstance, unsigned char *data, size_t dataByteLen);
144 …geAbsorb(prefix##_SpongeInstance *spongeInstance, const unsigned char *data, size_t dataByteLen); \
146 …##_SpongeSqueeze(prefix##_SpongeInstance *spongeInstance, unsigned char *data, size_t dataByteLen);
H A DKeccakSponge.inc162 while(i < dataByteLen) {
163 if ((instance->byteIOIndex == 0) && (dataByteLen-i >= rateInBytes)) {
174 for(j=dataByteLen-i; j>=rateInBytes; j-=rateInBytes) {
182 i = dataByteLen - j;
189 if (dataByteLen-i > rateInBytes-instance->byteIOIndex)
192 partialBlock = (unsigned int)(dataByteLen - i);
266 while(i < dataByteLen) {
268 for(j=dataByteLen-i; j>=rateInBytes; j-=rateInBytes) {
276 i = dataByteLen - j;
284 if (dataByteLen-i > rateInBytes-instance->byteIOIndex)
[all …]
H A DKeccakP-1600-SnP.h48 …astLoop_Absorb(void *state, unsigned int laneCount, const unsigned char *data, size_t dataByteLen);
H A DKeccakP-1600-opt64.c475 …FastLoop_Absorb(void *state, unsigned int laneCount, const unsigned char *data, size_t dataByteLen) in KeccakF1600_FastLoop_Absorb() argument
477 size_t originalDataByteLen = dataByteLen; in KeccakF1600_FastLoop_Absorb()
486 while(dataByteLen >= laneCount*8) { in KeccakF1600_FastLoop_Absorb()
490 dataByteLen -= laneCount*8; in KeccakF1600_FastLoop_Absorb()
493 return originalDataByteLen - dataByteLen; in KeccakF1600_FastLoop_Absorb()

Completed in 12 milliseconds