Home
last modified time | relevance | path

Searched refs:mac (Results 1 – 14 of 14) sorted by relevance

/PHP-8.1/ext/sodium/tests/
H A Dcrypto_auth.phpt9 $mac = sodium_crypto_auth($msg, $key);
12 var_dump(sodium_crypto_auth_verify($mac, $msg, $key));
16 $mac = sodium_crypto_auth($msg, $bad_key);
25 var_dump(sodium_crypto_auth_verify($mac, $badmsg, $key));
35 var_dump(sodium_crypto_auth_verify($mac, $badmsg, $key));
38 $badmac = $mac;
/PHP-8.1/ext/mbstring/tests/
H A Dsjismac_encoding.phpt74 testAllValidChars($validChars, 'SJIS-mac', 'UTF-32BE');
80 testTruncatedChars($truncated, 'SJIS-mac', 'UTF-32BE', "\x00\x00\x00%");
83 testAllValidChars($fromUnicode, 'UTF-16BE', 'SJIS-mac', false);
84 echo "Unicode -> SJIS-mac conversion works on all valid characters\n";
87 convertAllInvalidChars($invalidChars, $fromUnicode, 'UTF-16BE', 'SJIS-mac', '%');
88 echo "Unicode -> SJIS-mac conversion works on all invalid characters\n";
92 convertInvalidString("\x81", "%", "SJIS-mac", "UTF-8");
93 convertInvalidString("\x81\x20", "%", "SJIS-mac", "UTF-8");
94 convertInvalidString("\xED\x9F", "%", "SJIS-mac", "UTF-8");
101 Unicode -> SJIS-mac conversion works on all valid characters
[all …]
/PHP-8.1/ext/standard/
H A Dnet.c207 zend_string *mac = zend_string_alloc(p->PhysicalAddressLength * 3, 0); in PHP_FUNCTION() local
208 char *s = ZSTR_VAL(mac); in PHP_FUNCTION()
214 ZSTR_LEN(mac) = s - ZSTR_VAL(mac); in PHP_FUNCTION()
215 add_assoc_str(&iface, "mac", mac); in PHP_FUNCTION()
/PHP-8.1/ext/mbstring/libmbfl/
H A DREADME.md43 * Added MacJapanese (SJIS-mac) for legacy encoding support (rui).
/PHP-8.1/ext/standard/tests/misc/
H A Dget_browser_basic.phpt524 string(47) "~^opera/9\.2.* \(macintosh; .*mac os x;.*\).*$~"
1306 …string(99) "~^mozilla/.* \(iphone; .; .*mac os x.*\) applewebkit/.* \(.*\) version/.*\..* mobile/.…
1378 …string(99) "~^mozilla/5\.0 \(ipod; u; .*mac os x; en\) applewebkit/.* \(.*\) version/3\.0 mobile/.…
H A Dget_browser_variation1.phpt21 …string(94) "~^mozilla/5\.0 \(macintosh; .; .*mac os x.*\) applewebkit/.* \(.*\) version/3\.1.* saf…
163 string(67) "~^mozilla/5\.0 \(macintosh; .*mac os x.*\) gecko/.* camino/1\.5.*$~"
/PHP-8.1/ext/sodium/
H A Dlibsodium.stub.php39 function sodium_crypto_auth_verify(string $mac, string $message, string $key): bool {} argument
H A Dlibsodium.c2826 zend_string *mac; in PHP_FUNCTION() local
2842 mac = zend_string_alloc(crypto_auth_BYTES, 0); in PHP_FUNCTION()
2843 if (crypto_auth((unsigned char *) ZSTR_VAL(mac), in PHP_FUNCTION()
2849 ZSTR_VAL(mac)[crypto_auth_BYTES] = 0; in PHP_FUNCTION() local
2851 RETURN_STR(mac); in PHP_FUNCTION()
2856 char *mac; in PHP_FUNCTION() local
2864 &mac, &mac_len, in PHP_FUNCTION()
2878 if (crypto_auth_verify((const unsigned char *) mac, in PHP_FUNCTION()
H A Dlibsodium_arginfo.h84 ZEND_ARG_TYPE_INFO(0, mac, IS_STRING, 0)
/PHP-8.1/build/
H A Dconfig.sub1416 mac[0-9]*)
H A Dphp_cxx_compile_stdcxx.m487 # Copyright (c) 2015 Paul Norman <penorman@mac.com>
/PHP-8.1/
H A Dconfigure.ac1223 [darwin*], [fiber_os="mac"],
1243 if test "$fiber_os" = 'mac'; then
1270 if test "$fiber_os" = 'mac'; then
/PHP-8.1/ext/fileinfo/tests/
H A Dmagic21238 !:mime application/mac-binhex
21241 !:mime application/mac-binhex
21245 !:mime application/mac-binhex40
21249 !:mime application/mac-binhex40
21254 !:mime application/mac-binhex
21335 >>>>>>>0 use mac-bin
21338 >>>>>>>0 use mac-bin
21341 >>>>>>0 use mac-bin
21344 0 name mac-bin
21605 # From "Tom N Harris" <telliamed@mac.com>
[all …]
H A Dmagic私はガラスを食べられます21238 !:mime application/mac-binhex
21241 !:mime application/mac-binhex
21245 !:mime application/mac-binhex40
21249 !:mime application/mac-binhex40
21254 !:mime application/mac-binhex
21335 >>>>>>>0 use mac-bin
21338 >>>>>>>0 use mac-bin
21341 >>>>>>0 use mac-bin
21344 0 name mac-bin
21605 # From "Tom N Harris" <telliamed@mac.com>
[all …]

Completed in 156 milliseconds