Home
last modified time | relevance | path

Searched refs:salt (Results 26 – 38 of 38) sorted by relevance

12

/PHP-7.4/ext/standard/tests/strings/
H A Dcrypt_variation1.phpt2 crypt() function - long salt
H A Dcrypt_sha256.phpt34 'we have a short salt string but not a short password',
H A Dcrypt_sha512.phpt29 'we have a short salt string but not a short password',
/PHP-7.4/ext/hash/tests/
H A Dhash_hkdf_rfc5869.phpt6 …g hkdf ( string $algo , string $ikm [, int $length , string $info = '' , string $salt = '' ] )
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_hkdf_edges.phpt6 …g hkdf ( string $algo , string $ikm [, int $length , string $info = '' , string $salt = '' ] )
H A Dhash_hkdf_basic.phpt6 …g hkdf ( string $algo , string $ikm [, int $length , string $info = '' , string $salt = '' ] )
H A Dhash_hkdf_error.phpt6 …g hkdf ( string $algo , string $ikm [, int $length , string $info = '' , string $salt = '' ] )
/PHP-7.4/ext/hash/
H A Dhash.c626 zend_string *returnval, *ikm, *algo, *info = NULL, *salt = NULL; in PHP_FUNCTION() local
634 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "SS|lSS", &algo, &ikm, &length, &info, &salt) == FAILUR… in PHP_FUNCTION()
670 (unsigned char *) (salt ? ZSTR_VAL(salt) : ""), salt ? ZSTR_LEN(salt) : 0); in PHP_FUNCTION()
726 char *algo, *salt, *pass = NULL; in PHP_FUNCTION() local
793 memcpy(computed_salt, (unsigned char *) salt, salt_len); in PHP_FUNCTION()
1045 char *password, *salt; in PHP_FUNCTION() local
1049 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "lssl", &algorithm, &password, &password_len, &salt, &s… in PHP_FUNCTION()
1061 memcpy(padded_salt, salt, salt_len); in PHP_FUNCTION()
1394 ZEND_ARG_INFO(0, salt)
1410 ZEND_ARG_INFO(0, salt)
[all …]
/PHP-7.4/ext/sodium/
H A Dlibsodium.c138 ZEND_ARG_INFO(0, salt)
1825 unsigned char *salt; in PHP_FUNCTION() local
1839 &salt, &salt_len, in PHP_FUNCTION()
1890 passwd, (unsigned long long) passwd_len, salt, in PHP_FUNCTION()
1897 passwd, (unsigned long long) passwd_len, salt, in PHP_FUNCTION()
2017 unsigned char *salt; in PHP_FUNCTION() local
2028 &salt, &salt_len, in PHP_FUNCTION()
2065 passwd, (unsigned long long) passwd_len, salt, in PHP_FUNCTION()
3366 salt[0] = (unsigned char) (((uint64_t) subkey_id) ); in PHP_FUNCTION()
3374 memset(salt + 8, 0, (sizeof salt) - 8); in PHP_FUNCTION()
[all …]
/PHP-7.4/ext/openssl/
H A Dopenssl.c279 ZEND_ARG_INFO(0, salt)
5094 char *salt; in PHP_FUNCTION() local
5104 &salt, &salt_len, in PHP_FUNCTION()
5128 PHP_OPENSSL_CHECK_SIZE_T_TO_INT(salt_len, salt); in PHP_FUNCTION()
5132 …if (PKCS5_PBKDF2_HMAC(password, (int)password_len, (unsigned char *)salt, (int)salt_len, (int)iter… in PHP_FUNCTION()
/PHP-7.4/ext/standard/
H A Dbasic_functions.c874 ZEND_ARG_INFO(0, salt)
/PHP-7.4/ext/fileinfo/tests/
H A Dmagic私はガラスを食べられます473 #>>>&1 string >\0 \b, PASSWORD salt: "%-128.128s"
474 #>>>&1 regex/1l .* \b, Password salt: %s
476 #>>>>&1 regex/1l .* \b, Master salt: %s
13840 >>>>>>&28 ubequad x \b, salt %llu
26576 # OpenSSL enc file (recognized by a magic string preceding the password's salt)
H A Dmagic473 #>>>&1 string >\0 \b, PASSWORD salt: "%-128.128s"
474 #>>>&1 regex/1l .* \b, Password salt: %s
476 #>>>>&1 regex/1l .* \b, Master salt: %s
13840 >>>>>>&28 ubequad x \b, salt %llu
26576 # OpenSSL enc file (recognized by a magic string preceding the password's salt)

Completed in 203 milliseconds

12