Home
last modified time | relevance | path

Searched refs:length (Results 101 – 125 of 588) sorted by path

12345678910>>...24

/PHP-7.4/ext/hash/sha3/generic32lc/
H A DKeccakP-1600-SnP.h29 …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 DKeccakP-1600-inplace32BI.c90 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 DSnP-Relaned.h24 (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 DKeccakP-1600-SnP.h40 …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 DKeccakP-1600-opt64.c97 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 DSnP-Relaned.h24 (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 Dbug64745.phpt2 Bug #64745 (hash_pbkdf2() truncates data when using default length and hex output)
H A Dhash_hkdf_basic.phpt6 /* Prototype : string hkdf ( string $algo , string $ikm [, int $length , string $info = '' , s…
H A Dhash_hkdf_edges.phpt6 /* Prototype : string hkdf ( string $algo , string $ikm [, int $length , string $info = '' , s…
H A Dhash_hkdf_error.phpt6 /* Prototype : string hkdf ( string $algo , string $ikm [, int $length , string $info = '' , s…
H A Dhash_hkdf_rfc5869.phpt6 /* 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 Dhash_pbkdf2_basic.phpt6 /* 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 Dhash_pbkdf2_error.phpt6 …_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 Diconv.c69 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 Dbug37773.phpt2 Bug #37773 (iconv_substr() gives "Unknown error" when string length = 1")
H A Dbug48289.phpt12 'line-length' => 30,
H A Dbug53891.phpt13 'line-length' => 74,
H A Dbug66828.phpt12 "line-length" => 76,
H A Diconv-charset-length-cve-2007-4840.phpt2 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 Diconv_mime_decode-charset-length-cve-2007-4840.phpt2 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 Diconv_mime_decode_headers-charset-length-cve-2007-4840.phpt2 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 Diconv_mime_encode.phpt35 -------- 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 Diconv_set_encoding-charset-length-cve-2007-4840.phpt2 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 Diconv_strlen-charset-length-cve-2007-4840.phpt2 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 Diconv_strpos-charset-length-cve-2007-4840.phpt2 iconv_strpos() charset parameter length checks (CVE-2007-4840)
11 Warning: iconv_strpos(): Charset parameter exceeds the maximum allowed length of %d characters in %…

Completed in 60 milliseconds

12345678910>>...24