Lines Matching refs:mdtype

1351 	EVP_MD *mdtype;  in php_openssl_get_evp_md_from_algo()  local
1355 mdtype = (EVP_MD *) EVP_sha1(); in php_openssl_get_evp_md_from_algo()
1358 mdtype = (EVP_MD *) EVP_md5(); in php_openssl_get_evp_md_from_algo()
1361 mdtype = (EVP_MD *) EVP_md4(); in php_openssl_get_evp_md_from_algo()
1365 mdtype = (EVP_MD *) EVP_md2(); in php_openssl_get_evp_md_from_algo()
1370 mdtype = (EVP_MD *) EVP_dss1(); in php_openssl_get_evp_md_from_algo()
1374 mdtype = (EVP_MD *) EVP_sha224(); in php_openssl_get_evp_md_from_algo()
1377 mdtype = (EVP_MD *) EVP_sha256(); in php_openssl_get_evp_md_from_algo()
1380 mdtype = (EVP_MD *) EVP_sha384(); in php_openssl_get_evp_md_from_algo()
1383 mdtype = (EVP_MD *) EVP_sha512(); in php_openssl_get_evp_md_from_algo()
1386 mdtype = (EVP_MD *) EVP_ripemd160(); in php_openssl_get_evp_md_from_algo()
1392 return mdtype; in php_openssl_get_evp_md_from_algo()
1850 const EVP_MD *mdtype; in PHP_FUNCTION() local
1873 mdtype = php_openssl_get_evp_md_from_algo(algo); in PHP_FUNCTION()
1875 if (!mdtype) { in PHP_FUNCTION()
1900 if (!NETSCAPE_SPKI_sign(spki, pkey, mdtype)) { in PHP_FUNCTION()
2164 const EVP_MD *mdtype; in php_openssl_x509_fingerprint() local
2168 if (!(mdtype = EVP_get_digestbyname(method))) { in php_openssl_x509_fingerprint()
2171 } else if (!X509_digest(peer, mdtype, md, &n)) { in php_openssl_x509_fingerprint()
6037 const EVP_MD *mdtype; in PHP_FUNCTION() local
6052 mdtype = php_openssl_get_evp_md_from_algo(signature_algo); in PHP_FUNCTION()
6054 mdtype = EVP_get_digestbyname(Z_STRVAL_P(method)); in PHP_FUNCTION()
6059 if (!mdtype) { in PHP_FUNCTION()
6069 EVP_SignInit(md_ctx, mdtype) && in PHP_FUNCTION()
6096 const EVP_MD *mdtype; in PHP_FUNCTION() local
6115 mdtype = php_openssl_get_evp_md_from_algo(signature_algo); in PHP_FUNCTION()
6117 mdtype = EVP_get_digestbyname(Z_STRVAL_P(method)); in PHP_FUNCTION()
6122 if (!mdtype) { in PHP_FUNCTION()
6135 !EVP_VerifyInit (md_ctx, mdtype) || in PHP_FUNCTION()
6442 const EVP_MD *mdtype; in PHP_FUNCTION() local
6450 mdtype = EVP_get_digestbyname(method); in PHP_FUNCTION()
6451 if (!mdtype) { in PHP_FUNCTION()
6456 siglen = EVP_MD_size(mdtype); in PHP_FUNCTION()
6460 if (EVP_DigestInit(md_ctx, mdtype) && in PHP_FUNCTION()