Searched refs:inputLen (Results 1 – 10 of 10) sorted by relevance
/PHP-8.0/ext/hash/ |
H A D | hash_fnv.c | 93 size_t inputLen) in PHP_FNV132Update() argument 95 context->state = fnv_32_buf((void *)input, inputLen, context->state, 0); in PHP_FNV132Update() 99 size_t inputLen) in PHP_FNV1a32Update() argument 101 context->state = fnv_32_buf((void *)input, inputLen, context->state, 1); in PHP_FNV1a32Update() 128 size_t inputLen) in PHP_FNV164Update() argument 130 context->state = fnv_64_buf((void *)input, inputLen, context->state, 0); in PHP_FNV164Update() 134 size_t inputLen) in PHP_FNV1a64Update() argument 136 context->state = fnv_64_buf((void *)input, inputLen, context->state, 1); in PHP_FNV1a64Update()
|
H A D | php_hash_fnv.h | 56 …SH_API void PHP_FNV132Update(PHP_FNV132_CTX *context, const unsigned char *input, size_t inputLen); 57 …H_API void PHP_FNV1a32Update(PHP_FNV132_CTX *context, const unsigned char *input, size_t inputLen); 61 …SH_API void PHP_FNV164Update(PHP_FNV164_CTX *context, const unsigned char *input, size_t inputLen); 62 …H_API void PHP_FNV1a64Update(PHP_FNV164_CTX *context, const unsigned char *input, size_t inputLen);
|
H A D | hash_sha.c | 231 if ((context->count[0] += ((uint32_t) inputLen << 3)) < ((uint32_t) inputLen << 3)) { in PHP_SHA224Update() 234 context->count[1] += ((uint32_t) inputLen >> 29); in PHP_SHA224Update() 240 if (inputLen >= partLen) { in PHP_SHA224Update() 244 for (i = partLen; i + 63 < inputLen; i += 64) { in PHP_SHA224Update() 308 if ((context->count[0] += ((uint32_t) inputLen << 3)) < ((uint32_t) inputLen << 3)) { in PHP_SHA256Update() 317 if (inputLen >= partLen) { in PHP_SHA256Update() 321 for (i = partLen; i + 63 < inputLen; i += 64) { in PHP_SHA256Update() 522 if ((context->count[0] += ((uint64_t) inputLen << 3)) < ((uint64_t) inputLen << 3)) { in PHP_SHA384Update() 531 if (inputLen >= partLen) { in PHP_SHA384Update() 675 if ((context->count[0] += ((uint64_t) inputLen << 3)) < ((uint64_t) inputLen << 3)) { in PHP_SHA512Update() [all …]
|
H A D | hash_ripemd.c | 280 if ((context->count[0] += ((uint32_t) inputLen << 3)) < ((uint32_t) inputLen << 3)) { in PHP_RIPEMD128Update() 289 if (inputLen >= partLen) { in PHP_RIPEMD128Update() 293 for (i = partLen; i + 63 < inputLen; i += 64) { in PHP_RIPEMD128Update() 378 if ((context->count[0] += ((uint32_t) inputLen << 3)) < ((uint32_t) inputLen << 3)) { in PHP_RIPEMD256Update() 387 if (inputLen >= partLen) { in PHP_RIPEMD256Update() 391 for (i = partLen; i + 63 < inputLen; i += 64) { in PHP_RIPEMD256Update() 477 if ((context->count[0] += ((uint32_t) inputLen << 3)) < ((uint32_t) inputLen << 3)) { in PHP_RIPEMD160Update() 486 if (inputLen >= partLen) { in PHP_RIPEMD160Update() 490 for (i = partLen; i + 63 < inputLen; i += 64) { in PHP_RIPEMD160Update() 585 if ((context->count[0] += ((uint32_t) inputLen << 3)) < ((uint32_t) inputLen << 3)) { in PHP_RIPEMD320Update() [all …]
|
H A D | hash_joaat.c | 44 …_HASH_API void PHP_JOAATUpdate(PHP_JOAAT_CTX *context, const unsigned char *input, size_t inputLen) in PHP_JOAATUpdate() argument 46 context->state = joaat_buf((void *)input, inputLen, context->state); in PHP_JOAATUpdate()
|
H A D | php_hash_joaat.h | 26 …HASH_API void PHP_JOAATUpdate(PHP_JOAAT_CTX *context, const unsigned char *input, size_t inputLen);
|
H A D | hash_md.c | 205 PHP_HASH_API void PHP_MD4Update(PHP_MD4_CTX * context, const unsigned char *input, size_t inputLen) in PHP_MD4Update() argument 213 if ((context->count[0] += ((uint32_t) inputLen << 3)) in PHP_MD4Update() 214 < ((uint32_t) inputLen << 3)) in PHP_MD4Update() 216 context->count[1] += ((uint32_t) inputLen >> 29); in PHP_MD4Update() 222 if (inputLen >= partLen) { in PHP_MD4Update() 226 for (i = partLen; i + 63 < inputLen; i += 64) { in PHP_MD4Update() 236 memcpy((unsigned char*) & context->buffer[index], (unsigned char*) & input[i], inputLen - i); in PHP_MD4Update()
|
H A D | hash_sha3.c | 228 size_t inputLen) { \ 229 PHP_SHA3_Update(ctx, input, inputLen, \ 324 size_t inputLen) { \ 325 Keccak_HashUpdate((Keccak_HashInstance *)ctx, input, inputLen * 8); \
|
H A D | hash_haval.c | 281 …_HASH_API void PHP_HAVALUpdate(PHP_HAVAL_CTX *context, const unsigned char *input, size_t inputLen) in PHP_HAVALUpdate() argument 288 if ((context->count[0] += ((uint32_t) inputLen << 3)) < ((uint32_t) inputLen << 3)) { in PHP_HAVALUpdate() 291 context->count[1] += ((uint32_t) inputLen >> 29); in PHP_HAVALUpdate() 297 if (inputLen >= partLen) { in PHP_HAVALUpdate() 301 for (i = partLen; i + 127 < inputLen; i += 128) { in PHP_HAVALUpdate() 311 memcpy((unsigned char*) &context->buffer[index], (unsigned char*) &input[i], inputLen - i); in PHP_HAVALUpdate()
|
/PHP-8.0/ext/standard/ |
H A D | sha1.c | 174 size_t inputLen) in PHP_SHA1Update() argument 182 if ((context->count[0] += ((uint32_t) inputLen << 3)) in PHP_SHA1Update() 183 < ((uint32_t) inputLen << 3)) in PHP_SHA1Update() 185 context->count[1] += ((uint32_t) inputLen >> 29); in PHP_SHA1Update() 191 if (inputLen >= partLen) { in PHP_SHA1Update() 196 for (i = partLen; i + 63 < inputLen; i += 64) in PHP_SHA1Update() 206 inputLen - i); in PHP_SHA1Update()
|
Completed in 29 milliseconds