/PHP-7.4/ext/hash/sha3/generic32lc/ |
H A D | KeccakP-1600-SnP.h | 29 …akP1600_AddBytes(void *state, const unsigned char *data, unsigned int offset, unsigned int length); 30 …0_OverwriteBytes(void *state, const unsigned char *data, unsigned int offset, unsigned int length); 35 …600_ExtractBytes(const void *state, unsigned char *data, unsigned int offset, unsigned int length); 36 …tate, const unsigned char *input, unsigned char *output, unsigned int offset, unsigned int length);
|
H A D | KeccakP-1600-inplace32BI.c | 90 memset(laneAsBytes+offset, 0x00, length); in KeccakP1600_SetBytesInLaneToZero() 91 memset(laneAsBytes+offset+length, 0xFF, 8-offset-length); in KeccakP1600_SetBytesInLaneToZero() 146 memcpy(laneAsBytes+offset, data, length); in KeccakP1600_AddBytesInLane() 205 …cakP1600_AddBytes(void *state, const unsigned char *data, unsigned int offset, unsigned int length) in KeccakP1600_AddBytes() argument 207 SnP_AddBytes(state, data, offset, length, KeccakP1600_AddLanes, KeccakP1600_AddBytesInLane, 8); in KeccakP1600_AddBytes() 214 KeccakP1600_SetBytesInLaneToZero(state, lanePosition, offset, length); in KeccakP1600_OverwriteBytesInLane() 215 KeccakP1600_AddBytesInLane(state, lanePosition, data, offset, length); in KeccakP1600_OverwriteBytesInLane() 302 memcpy(data, laneAsBytes+offset, length); in KeccakP1600_ExtractBytesInLane() 347 …1600_ExtractBytes(const void *state, unsigned char *data, unsigned int offset, unsigned int length) in KeccakP1600_ExtractBytes() argument 349 …SnP_ExtractBytes(state, data, offset, length, KeccakP1600_ExtractLanes, KeccakP1600_ExtractBytesIn… in KeccakP1600_ExtractBytes() [all …]
|
H A D | SnP-Relaned.h | 24 (length)/SnP_laneLengthInBytes, \ 27 (length)%SnP_laneLengthInBytes); \ 30 unsigned int _sizeLeft = (length); \ 52 (length)/SnP_laneLengthInBytes, \ 55 (length)%SnP_laneLengthInBytes); \ 58 unsigned int _sizeLeft = (length); \ 80 (length)/SnP_laneLengthInBytes, \ 83 (length)%SnP_laneLengthInBytes); \ 86 unsigned int _sizeLeft = (length); \ 108 (length)/SnP_laneLengthInBytes, \ [all …]
|
/PHP-7.4/ext/hash/sha3/generic64lc/ |
H A D | KeccakP-1600-SnP.h | 40 …akP1600_AddBytes(void *state, const unsigned char *data, unsigned int offset, unsigned int length); 41 …0_OverwriteBytes(void *state, const unsigned char *data, unsigned int offset, unsigned int length); 46 …600_ExtractBytes(const void *state, unsigned char *data, unsigned int offset, unsigned int length); 47 …tate, const unsigned char *input, unsigned char *output, unsigned int offset, unsigned int length);
|
H A D | KeccakP-1600-opt64.c | 97 if (length == 0) in KeccakP1600_AddBytesInLane() 99 if (length == 1) in KeccakP1600_AddBytesInLane() 103 memcpy(&lane, data, length); in KeccakP1600_AddBytesInLane() 109 for(i=0; i<length; i++) in KeccakP1600_AddBytesInLane() 188 SnP_AddBytes(state, data, offset, length, KeccakP1600_AddLanes, KeccakP1600_AddBytesInLane, 8); in KeccakP1600_AddBytes() 199 for(i=0; i<length; i++) in KeccakP1600_OverwriteBytesInLane() 205 memcpy((unsigned char*)state+lanePosition*8+offset, data, length); in KeccakP1600_OverwriteBytesInLane() 325 memcpy(data, (UINT8*)lane1+offset, length); in KeccakP1600_ExtractBytesInLane() 330 for(i=0; i<length; i++) { in KeccakP1600_ExtractBytesInLane() 402 for(i=0; i<length; i++) in KeccakP1600_ExtractAndAddBytesInLane() [all …]
|
H A D | SnP-Relaned.h | 24 (length)/SnP_laneLengthInBytes, \ 27 (length)%SnP_laneLengthInBytes); \ 30 unsigned int _sizeLeft = (length); \ 52 (length)/SnP_laneLengthInBytes, \ 55 (length)%SnP_laneLengthInBytes); \ 58 unsigned int _sizeLeft = (length); \ 80 (length)/SnP_laneLengthInBytes, \ 83 (length)%SnP_laneLengthInBytes); \ 86 unsigned int _sizeLeft = (length); \ 108 (length)/SnP_laneLengthInBytes, \ [all …]
|
/PHP-7.4/ext/hash/tests/ |
H A D | bug64745.phpt | 2 Bug #64745 (hash_pbkdf2() truncates data when using default length and hex output)
|
H A D | hash_hkdf_basic.phpt | 6 /* Prototype : string hkdf ( string $algo , string $ikm [, int $length , string $info = '' , s…
|
H A D | hash_hkdf_edges.phpt | 6 /* Prototype : string hkdf ( string $algo , string $ikm [, int $length , string $info = '' , s…
|
H A D | hash_hkdf_error.phpt | 6 /* Prototype : string hkdf ( string $algo , string $ikm [, int $length , string $info = '' , s…
|
H A D | hash_hkdf_rfc5869.phpt | 6 /* Prototype : string hkdf ( string $algo , string $ikm [, int $length , string $info = '' , s… 28 echo "Test case 3 (SHA-256 with zero-length salt, info): ", 52 echo "Test case 6 (SHA-1 with zero-length salt, info): ", 60 echo "Test case 7 (SHA-1 with zero-length info, salt not provided): ", 73 Test case 3 (SHA-256 with zero-length salt, info): 8da4e775a563c18f715f802a063c5a31b8a11f5c5ee1879e… 76 Test case 6 (SHA-1 with zero-length salt, info): 0ac1af7002b3d761d1e55298da9d0506b9ae52057220a306e0… 77 Test case 7 (SHA-1 with zero-length info, salt not provided): 2c91117204d745f3500d636a62f64f0ab3bae…
|
H A D | hash_pbkdf2_basic.phpt | 6 /* Prototype : string hash_hmac(string $algo, string $data, string $key [, int $length = 0 [, bool… 15 echo "sha1(no length): " . hash_pbkdf2('sha1', 'password', 'salt', 1)."\n"; 20 echo "sha256(no length): " . hash_pbkdf2('sha256', 'password', 'salt', 1)."\n"; 30 sha1(no length): 0c60c80f961f0e71f3a9b524af6012062fe037a6 35 sha256(no length): 120fb6cffcf8b32c43e7225256c4f837a86548c92ccc35480805987cb70be17b
|
H A D | hash_pbkdf2_error.phpt | 6 …_pbkdf2(string algo, string password, string salt, int iterations [, int length = 0, bool raw_outp… 34 echo "\n-- Testing hash_pbkdf2() function with invalid length --\n"; 79 -- Testing hash_pbkdf2() function with invalid length --
|
/PHP-7.4/ext/iconv/ |
H A D | iconv.c | 69 ZEND_ARG_INFO(0, length) 2101 zend_long offset, length = 0; in PHP_FUNCTION() local 2108 &str, &offset, &length, in PHP_FUNCTION() 2119 length = ZSTR_LEN(str); in PHP_FUNCTION() 2122 err = _php_iconv_substr(&retval, ZSTR_VAL(str), ZSTR_LEN(str), offset, length, charset); in PHP_FUNCTION()
|
/PHP-7.4/ext/iconv/tests/ |
H A D | bug37773.phpt | 2 Bug #37773 (iconv_substr() gives "Unknown error" when string length = 1")
|
H A D | bug48289.phpt | 12 'line-length' => 30,
|
H A D | bug53891.phpt | 13 'line-length' => 74,
|
H A D | bug66828.phpt | 12 "line-length" => 76,
|
H A D | iconv-charset-length-cve-2007-4840.phpt | 2 iconv() charset parameter length checks (CVE-2007-4840) 12 Warning: iconv(): Charset parameter exceeds the maximum allowed length of %d characters in %s on li… 15 Warning: iconv(): Charset parameter exceeds the maximum allowed length of %d characters in %s on li…
|
H A D | iconv_mime_decode-charset-length-cve-2007-4840.phpt | 2 iconv_mime_decode() charset parameter length checks (CVE-2007-4840) 11 Warning: iconv_mime_decode(): Charset parameter exceeds the maximum allowed length of %d characters…
|
H A D | iconv_mime_decode_headers-charset-length-cve-2007-4840.phpt | 2 iconv_mime_decode_headers() charset parameter length checks (CVE-2007-4840) 11 Warning: iconv_mime_decode_headers(): Charset parameter exceeds the maximum allowed length of %d ch…
|
H A D | iconv_mime_encode.phpt | 35 -------- line length=0 39 -------- line length=1 43 -------- line length=2 47 -------- line length=3 51 -------- line length=4 55 -------- line length=5 59 -------- line length=6 63 -------- line length=7 67 -------- line length=8 71 -------- line length=9 [all …]
|
H A D | iconv_set_encoding-charset-length-cve-2007-4840.phpt | 2 iconv_set_encoding() charset parameter length checks (CVE-2007-4840) 13 Warning: iconv_set_encoding(): Charset parameter exceeds the maximum allowed length of %d character… 16 Warning: iconv_set_encoding(): Charset parameter exceeds the maximum allowed length of %d character… 19 Warning: iconv_set_encoding(): Charset parameter exceeds the maximum allowed length of %d character…
|
H A D | iconv_strlen-charset-length-cve-2007-4840.phpt | 2 iconv_strlen() charset parameter length checks (CVE-2007-4840) 11 Warning: iconv_strlen(): Charset parameter exceeds the maximum allowed length of %d characters in %…
|
H A D | iconv_strpos-charset-length-cve-2007-4840.phpt | 2 iconv_strpos() charset parameter length checks (CVE-2007-4840) 11 Warning: iconv_strpos(): Charset parameter exceeds the maximum allowed length of %d characters in %…
|