Home
last modified time | relevance | path

Searched refs:OpenSSLDigest (Results 1 – 9 of 9) sorted by relevance

/external/webrtc/webrtc/base/
Dopenssldigest.cc20 OpenSSLDigest::OpenSSLDigest(const std::string& algorithm) { in OpenSSLDigest() function in rtc::OpenSSLDigest
29 OpenSSLDigest::~OpenSSLDigest() { in ~OpenSSLDigest()
33 size_t OpenSSLDigest::Size() const { in Size()
40 void OpenSSLDigest::Update(const void* buf, size_t len) { in Update()
47 size_t OpenSSLDigest::Finish(void* buf, size_t len) { in Finish()
58 bool OpenSSLDigest::GetDigestEVP(const std::string& algorithm, in GetDigestEVP()
83 bool OpenSSLDigest::GetDigestName(const EVP_MD* md, in GetDigestName()
109 bool OpenSSLDigest::GetDigestSize(const std::string& algorithm, in GetDigestSize()
Dopenssldigest.h21 class OpenSSLDigest : public MessageDigest {
24 explicit OpenSSLDigest(const std::string& algorithm);
25 ~OpenSSLDigest() override;
Dmessagedigest.cc40 MessageDigest* digest = new OpenSSLDigest(alg); in Create()
Dopensslidentity.cc311 if (!OpenSSLDigest::GetDigestEVP(algorithm, &md)) in ComputeDigest()
Dopensslstreamadapter.cc343 if (!OpenSSLDigest::GetDigestSize(digest_alg, &expected_len)) { in SetPeerCertificateDigest()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/digests/
DOpenSSLDigest.java28 public class OpenSSLDigest implements ExtendedDigest { class
33 public OpenSSLDigest(String algorithm, int byteSize) { in OpenSSLDigest() method in OpenSSLDigest
74 public static class MD5 extends OpenSSLDigest {
78 public static class SHA1 extends OpenSSLDigest {
82 public static class SHA224 extends OpenSSLDigest {
86 public static class SHA256 extends OpenSSLDigest {
90 public static class SHA384 extends OpenSSLDigest {
94 public static class SHA512 extends OpenSSLDigest {
DAndroidDigestFactoryOpenSSL.java23 return new OpenSSLDigest.MD5(); in getMD5()
26 return new OpenSSLDigest.SHA1(); in getSHA1()
29 return new OpenSSLDigest.SHA224(); in getSHA224()
32 return new OpenSSLDigest.SHA256(); in getSHA256()
35 return new OpenSSLDigest.SHA384(); in getSHA384()
38 return new OpenSSLDigest.SHA512(); in getSHA512()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/digests/
DOpenSSLDigest.java30 public class OpenSSLDigest implements ExtendedDigest { class
35 public OpenSSLDigest(String algorithm, int byteSize) { in OpenSSLDigest() method in OpenSSLDigest
79 public static class MD5 extends OpenSSLDigest {
86 public static class SHA1 extends OpenSSLDigest {
93 public static class SHA224 extends OpenSSLDigest {
100 public static class SHA256 extends OpenSSLDigest {
107 public static class SHA384 extends OpenSSLDigest {
114 public static class SHA512 extends OpenSSLDigest {
DAndroidDigestFactoryOpenSSL.java27 return new OpenSSLDigest.MD5(); in getMD5()
30 return new OpenSSLDigest.SHA1(); in getSHA1()
33 return new OpenSSLDigest.SHA224(); in getSHA224()
36 return new OpenSSLDigest.SHA256(); in getSHA256()
39 return new OpenSSLDigest.SHA384(); in getSHA384()
42 return new OpenSSLDigest.SHA512(); in getSHA512()