Home
last modified time | relevance | path

Searched refs:spki_len (Results 1 – 2 of 2) sorted by relevance

/system/netd/resolv/dns_responder/
Ddns_tls_frontend.cpp42 int spki_len = i2d_X509_PUBKEY(X509_get_X509_PUBKEY(cert), nullptr); in getSPKIDigest() local
43 unsigned char spki[spki_len]; in getSPKIDigest()
45 if (spki_len != i2d_X509_PUBKEY(X509_get_X509_PUBKEY(cert), &temp)) { in getSPKIDigest()
51 int ret = EVP_Digest(spki, spki_len, out->data(), &digest_len, EVP_sha256(), nullptr); in getSPKIDigest()
/system/netd/resolv/
DDnsTlsSocket.cpp110 int spki_len = i2d_X509_PUBKEY(X509_get_X509_PUBKEY(cert), nullptr); in getSPKIDigest() local
111 unsigned char spki[spki_len]; in getSPKIDigest()
113 if (spki_len != i2d_X509_PUBKEY(X509_get_X509_PUBKEY(cert), &temp)) { in getSPKIDigest()
119 int ret = EVP_Digest(spki, spki_len, out->data(), &digest_len, EVP_sha256(), nullptr); in getSPKIDigest()