Home
last modified time | relevance | path

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

/PHP-7.2/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.inc150 int SpongeAbsorb(SpongeInstance *instance, const unsigned char *data, size_t dataByteLen)
162 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 partialBlock = (unsigned int)(dataByteLen - i);
253 int SpongeSqueeze(SpongeInstance *instance, unsigned char *data, size_t dataByteLen)
265 while(i < dataByteLen) {
267 for(j=dataByteLen-i; j>=rateInBytes; j-=rateInBytes) {
275 i = dataByteLen - j;
[all …]
/PHP-7.2/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.inc150 int SpongeAbsorb(SpongeInstance *instance, const unsigned char *data, size_t dataByteLen)
162 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 partialBlock = (unsigned int)(dataByteLen - i);
253 int SpongeSqueeze(SpongeInstance *instance, unsigned char *data, size_t dataByteLen)
265 while(i < dataByteLen) {
267 for(j=dataByteLen-i; j>=rateInBytes; j-=rateInBytes) {
275 i = dataByteLen - j;
[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.c465 …FastLoop_Absorb(void *state, unsigned int laneCount, const unsigned char *data, size_t dataByteLen) in KeccakF1600_FastLoop_Absorb() argument
467 size_t originalDataByteLen = dataByteLen; in KeccakF1600_FastLoop_Absorb()
476 while(dataByteLen >= laneCount*8) { in KeccakF1600_FastLoop_Absorb()
480 dataByteLen -= laneCount*8; in KeccakF1600_FastLoop_Absorb()
483 return originalDataByteLen - dataByteLen; in KeccakF1600_FastLoop_Absorb()

Completed in 10 milliseconds