Searched refs:inputLen (Results 1 – 10 of 10) sorted by relevance
/PHP-8.3/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 | 54 …SH_API void PHP_FNV132Update(PHP_FNV132_CTX *context, const unsigned char *input, size_t inputLen); 55 …H_API void PHP_FNV1a32Update(PHP_FNV132_CTX *context, const unsigned char *input, size_t inputLen); 59 …SH_API void PHP_FNV164Update(PHP_FNV164_CTX *context, const unsigned char *input, size_t inputLen); 60 …H_API void PHP_FNV1a64Update(PHP_FNV164_CTX *context, const unsigned char *input, size_t inputLen);
|
H A D | hash_sha.c | 232 if ((context->count[0] += ((uint32_t) inputLen << 3)) < ((uint32_t) inputLen << 3)) { in PHP_SHA224Update() 241 if (inputLen >= partLen) { in PHP_SHA224Update() 245 for (i = partLen; i + 63 < inputLen; i += 64) { in PHP_SHA224Update() 310 if ((context->count[0] += ((uint32_t) inputLen << 3)) < ((uint32_t) inputLen << 3)) { in PHP_SHA256Update() 319 if (inputLen >= partLen) { in PHP_SHA256Update() 323 for (i = partLen; i + 63 < inputLen; i += 64) { in PHP_SHA256Update() 525 if ((context->count[0] += ((uint64_t) inputLen << 3)) < ((uint64_t) inputLen << 3)) { in PHP_SHA384Update() 529 context->count[1] += (uint64_t) inputLen >> 61; in PHP_SHA384Update() 535 if (inputLen >= partLen) { in PHP_SHA384Update() 680 if ((context->count[0] += ((uint64_t) inputLen << 3)) < ((uint64_t) inputLen << 3)) { in PHP_SHA512Update() [all …]
|
H A D | hash_ripemd.c | 281 if ((context->count[0] += ((uint32_t) inputLen << 3)) < ((uint32_t) inputLen << 3)) { in PHP_RIPEMD128Update() 290 if (inputLen >= partLen) { in PHP_RIPEMD128Update() 294 for (i = partLen; i + 63 < inputLen; i += 64) { in PHP_RIPEMD128Update() 380 if ((context->count[0] += ((uint32_t) inputLen << 3)) < ((uint32_t) inputLen << 3)) { in PHP_RIPEMD256Update() 389 if (inputLen >= partLen) { in PHP_RIPEMD256Update() 393 for (i = partLen; i + 63 < inputLen; i += 64) { in PHP_RIPEMD256Update() 480 if ((context->count[0] += ((uint32_t) inputLen << 3)) < ((uint32_t) inputLen << 3)) { in PHP_RIPEMD160Update() 489 if (inputLen >= partLen) { in PHP_RIPEMD160Update() 493 for (i = partLen; i + 63 < inputLen; i += 64) { in PHP_RIPEMD160Update() 589 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 | 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 214 if ((context->count[0] += ((uint32_t) inputLen << 3)) in PHP_MD4Update() 215 < ((uint32_t) inputLen << 3)) in PHP_MD4Update() 217 context->count[1] += (uint32_t) (inputLen >> 29); in PHP_MD4Update() 223 if (inputLen >= partLen) { in PHP_MD4Update() 227 for (i = partLen; i + 63 < inputLen; i += 64) { in PHP_MD4Update() 237 memcpy((unsigned char*) & context->buffer[index], (unsigned char*) & input[i], inputLen - i); in PHP_MD4Update()
|
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_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 289 if ((context->count[0] += ((uint32_t) inputLen << 3)) < ((uint32_t) inputLen << 3)) { in PHP_HAVALUpdate() 292 context->count[1] += (uint32_t) (inputLen >> 29); in PHP_HAVALUpdate() 298 if (inputLen >= partLen) { in PHP_HAVALUpdate() 302 for (i = partLen; i + 127 < inputLen; i += 128) { in PHP_HAVALUpdate() 312 memcpy((unsigned char*) &context->buffer[index], (unsigned char*) &input[i], inputLen - i); in PHP_HAVALUpdate()
|
/PHP-8.3/ext/standard/ |
H A D | sha1.c | 174 size_t inputLen) in PHP_SHA1Update() argument 183 if ((context->count[0] += ((uint32_t) inputLen << 3)) in PHP_SHA1Update() 184 < ((uint32_t) inputLen << 3)) in PHP_SHA1Update() 186 context->count[1] += (uint32_t) (inputLen >> 29); in PHP_SHA1Update() 192 if (inputLen >= partLen) { in PHP_SHA1Update() 197 for (i = partLen; i + 63 < inputLen; i += 64) in PHP_SHA1Update() 207 inputLen - i); in PHP_SHA1Update()
|
Completed in 32 milliseconds