Home
last modified time | relevance | path

Searched refs:sk (Results 1 – 10 of 10) sorted by relevance

/PHP-7.4/ext/sodium/tests/
H A Dcrypto_box.phpt9 $sk = sodium_crypto_box_secretkey($keypair);
10 var_dump(strlen($sk) === SODIUM_CRYPTO_BOX_SECRETKEYBYTES);
13 var_dump($pk !== $sk);
14 $pk2 = sodium_crypto_box_publickey_from_secretkey($sk);
16 $pk2 = sodium_crypto_scalarmult_base($sk);
18 $keypair2 = sodium_crypto_box_keypair_from_secretkey_and_publickey($sk, $pk);
H A Dcrypto_sign.phpt9 $sk = sodium_crypto_sign_secretkey($keypair);
10 var_dump(strlen($sk) === SODIUM_CRYPTO_SIGN_SECRETKEYBYTES);
13 var_dump($pk !== $sk);
14 $keypair2 = sodium_crypto_sign_keypair_from_secretkey_and_publickey($sk, $pk);
/PHP-7.4/ext/standard/tests/serialize/
H A Dserialization_arrays_005.phpt26 foreach($b[$k] as $sk=>$sv) {
27 $b[$k][$sk] = "b$k.$sk.changed";
/PHP-7.4/ext/sodium/
H A Dlibsodium.c2858 unsigned char *sk; in PHP_FUNCTION() local
2876 sk = (unsigned char *) ZSTR_VAL(keypair); in PHP_FUNCTION()
2877 pk = sk + crypto_kx_SECRETKEYBYTES; in PHP_FUNCTION()
2878 crypto_generichash(sk, crypto_kx_SECRETKEYBYTES, in PHP_FUNCTION()
2880 if (crypto_scalarmult_base(pk, sk) != 0) { in PHP_FUNCTION()
2890 unsigned char *sk; in PHP_FUNCTION() local
2898 sk = (unsigned char *) ZSTR_VAL(keypair); in PHP_FUNCTION()
2899 pk = sk + crypto_kx_SECRETKEYBYTES; in PHP_FUNCTION()
2900 randombytes_buf(sk, crypto_kx_SECRETKEYBYTES); in PHP_FUNCTION()
2901 if (crypto_scalarmult_base(pk, sk) != 0) { in PHP_FUNCTION()
/PHP-7.4/ext/openssl/
H A Dopenssl.c2528 STACK_OF(X509_INFO) *sk=NULL; in STACK_OF()
2560 while (sk_X509_INFO_num(sk)) { in STACK_OF()
2561 xi=sk_X509_INFO_shift(sk); in STACK_OF()
2576 sk_X509_INFO_free(sk); in STACK_OF()
2780 X509* x = sk_X509_pop(sk); in php_sk_X509_free()
2784 sk_X509_free(sk); in php_sk_X509_free()
2791 STACK_OF(X509) * sk = NULL; in STACK_OF()
2795 sk = sk_X509_new_null(); in STACK_OF()
2814 sk_X509_push(sk, cert); in STACK_OF()
2831 sk_X509_push(sk, cert); in STACK_OF()
[all …]
/PHP-7.4/ext/hash/tests/
H A Dfnv1a32.phpt143 array( 'WH J.=;0zc]_;J\\8hI?]sk+=@dfy', '5e1e1340' ),
/PHP-7.4/ext/standard/tests/misc/
H A Duser_agents.txt969 Opera/9.80 (Windows NT 5.1; U; sk) Presto/2.10.229 Version/11.64
H A Dget_browser_variation3.phpt1951 Agent Opera/9.80 (Windows NT 5.1; U; sk) Presto/2.10.229 Version/11.64
/PHP-7.4/ext/fileinfo/tests/
H A Dmagic私はガラスを食べられます3059 # ftp://ftp.sac.sk/pub/sac/pack/0index.txt
3067 # ftp://ftp.elf.stuba.sk/pub/pc/pack/
3071 # ftp://ftp.elf.stuba.sk/pub/pc/pack/xpa32.zip
23315 # From: Lubomir Rintel <lkundrak@v3.sk>
25167 # From: Lubomir Rintel <lkundrak@v3.sk>
H A Dmagic3059 # ftp://ftp.sac.sk/pub/sac/pack/0index.txt
3067 # ftp://ftp.elf.stuba.sk/pub/pc/pack/
3071 # ftp://ftp.elf.stuba.sk/pub/pc/pack/xpa32.zip
23315 # From: Lubomir Rintel <lkundrak@v3.sk>
25167 # From: Lubomir Rintel <lkundrak@v3.sk>

Completed in 127 milliseconds