/external/boringssl/src/include/openssl/ |
D | digest.h | 79 OPENSSL_EXPORT const EVP_MD *EVP_md4(void); 80 OPENSSL_EXPORT const EVP_MD *EVP_md5(void); 81 OPENSSL_EXPORT const EVP_MD *EVP_sha1(void); 82 OPENSSL_EXPORT const EVP_MD *EVP_sha224(void); 83 OPENSSL_EXPORT const EVP_MD *EVP_sha256(void); 84 OPENSSL_EXPORT const EVP_MD *EVP_sha384(void); 85 OPENSSL_EXPORT const EVP_MD *EVP_sha512(void); 89 OPENSSL_EXPORT const EVP_MD *EVP_md5_sha1(void); 93 OPENSSL_EXPORT const EVP_MD *EVP_get_digestbynid(int nid); 97 OPENSSL_EXPORT const EVP_MD *EVP_get_digestbyobj(const ASN1_OBJECT *obj); [all …]
|
D | evp.h | 261 const EVP_MD *type, ENGINE *e, 317 const EVP_MD *type, ENGINE *e, 354 OPENSSL_EXPORT int EVP_SignInit_ex(EVP_MD_CTX *ctx, const EVP_MD *type, 360 OPENSSL_EXPORT int EVP_SignInit(EVP_MD_CTX *ctx, const EVP_MD *type); 390 OPENSSL_EXPORT int EVP_VerifyInit_ex(EVP_MD_CTX *ctx, const EVP_MD *type, 396 OPENSSL_EXPORT int EVP_VerifyInit(EVP_MD_CTX *ctx, const EVP_MD *type); 446 unsigned iterations, const EVP_MD *digest, 673 const EVP_MD *md); 678 const EVP_MD **out_md); 728 const EVP_MD *md); [all …]
|
D | rsa.h | 285 size_t in_len, const EVP_MD *md, 286 const EVP_MD *mgf1_md, int salt_len); 329 size_t msg_len, const EVP_MD *md, 330 const EVP_MD *mgf1_md, int salt_len, 419 const EVP_MD *Hash, 420 const EVP_MD *mgf1Hash, 437 const EVP_MD *Hash, 438 const EVP_MD *mgf1Hash, 449 const uint8_t *param, size_t param_len, const EVP_MD *md, 450 const EVP_MD *mgf1md); [all …]
|
D | hmac.h | 80 OPENSSL_EXPORT uint8_t *HMAC(const EVP_MD *evp_md, const void *key, 114 const EVP_MD *md, ENGINE *impl); 148 const EVP_MD *md); 159 const EVP_MD *md;
|
D | hkdf.h | 35 OPENSSL_EXPORT int HKDF(uint8_t *out_key, size_t out_len, const EVP_MD *digest, 45 const EVP_MD *digest, const uint8_t *secret, 53 const EVP_MD *digest, const uint8_t *prk,
|
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ |
D | EvpMdRef.java | 55 return EvpMdRef.SHA256.EVP_MD; in getEVP_MDByJcaDigestAlgorithmStandardName() 57 return EvpMdRef.SHA512.EVP_MD; in getEVP_MDByJcaDigestAlgorithmStandardName() 59 return EvpMdRef.SHA1.EVP_MD; in getEVP_MDByJcaDigestAlgorithmStandardName() 61 return EvpMdRef.SHA384.EVP_MD; in getEVP_MDByJcaDigestAlgorithmStandardName() 63 return EvpMdRef.SHA224.EVP_MD; in getEVP_MDByJcaDigestAlgorithmStandardName() 88 if (evpMdRef == MD5.EVP_MD) { in getJcaDigestAlgorithmStandardNameFromEVP_MD() 90 } else if (evpMdRef == SHA1.EVP_MD) { in getJcaDigestAlgorithmStandardNameFromEVP_MD() 92 } else if (evpMdRef == SHA224.EVP_MD) { in getJcaDigestAlgorithmStandardNameFromEVP_MD() 94 } else if (evpMdRef == SHA256.EVP_MD) { in getJcaDigestAlgorithmStandardNameFromEVP_MD() 96 } else if (evpMdRef == SHA384.EVP_MD) { in getJcaDigestAlgorithmStandardNameFromEVP_MD() [all …]
|
D | OpenSSLSignature.java | 296 super(EvpMdRef.MD5.EVP_MD); in MD5RSA() 306 super(EvpMdRef.SHA1.EVP_MD); in SHA1RSA() 316 super(EvpMdRef.SHA224.EVP_MD); in SHA224RSA() 326 super(EvpMdRef.SHA256.EVP_MD); in SHA256RSA() 336 super(EvpMdRef.SHA384.EVP_MD); in SHA384RSA() 346 super(EvpMdRef.SHA512.EVP_MD); in SHA512RSA() 357 super(EvpMdRef.SHA1.EVP_MD, EngineType.EC); in SHA1ECDSA() 367 super(EvpMdRef.SHA224.EVP_MD, EngineType.EC); in SHA224ECDSA() 377 super(EvpMdRef.SHA256.EVP_MD, EngineType.EC); in SHA256ECDSA() 387 super(EvpMdRef.SHA384.EVP_MD, EngineType.EC); in SHA384ECDSA() [all …]
|
D | OpenSSLMac.java | 168 super(EvpMdRef.MD5.EVP_MD, EvpMdRef.MD5.SIZE_BYTES); in HmacMD5() 179 super(EvpMdRef.SHA1.EVP_MD, EvpMdRef.SHA1.SIZE_BYTES); in HmacSHA1() 190 super(EvpMdRef.SHA224.EVP_MD, EvpMdRef.SHA224.SIZE_BYTES); in HmacSHA224() 201 super(EvpMdRef.SHA256.EVP_MD, EvpMdRef.SHA256.SIZE_BYTES); in HmacSHA256() 212 super(EvpMdRef.SHA384.EVP_MD, EvpMdRef.SHA384.SIZE_BYTES); in HmacSHA384() 223 super(EvpMdRef.SHA512.EVP_MD, EvpMdRef.SHA512.SIZE_BYTES); in HmacSHA512()
|
D | OpenSSLMessageDigestJDK.java | 168 super(EvpMdRef.MD5.EVP_MD, EvpMdRef.MD5.SIZE_BYTES); in MD5() 179 super(EvpMdRef.SHA1.EVP_MD, EvpMdRef.SHA1.SIZE_BYTES); in SHA1() 190 super(EvpMdRef.SHA224.EVP_MD, EvpMdRef.SHA224.SIZE_BYTES); in SHA224() 201 super(EvpMdRef.SHA256.EVP_MD, EvpMdRef.SHA256.SIZE_BYTES); in SHA256() 212 super(EvpMdRef.SHA384.EVP_MD, EvpMdRef.SHA384.SIZE_BYTES); in SHA384() 223 super(EvpMdRef.SHA512.EVP_MD, EvpMdRef.SHA512.SIZE_BYTES); in SHA512()
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | EvpMdRef.java | 59 return EvpMdRef.SHA256.EVP_MD; in getEVP_MDByJcaDigestAlgorithmStandardName() 61 return EvpMdRef.SHA512.EVP_MD; in getEVP_MDByJcaDigestAlgorithmStandardName() 63 return EvpMdRef.SHA1.EVP_MD; in getEVP_MDByJcaDigestAlgorithmStandardName() 65 return EvpMdRef.SHA384.EVP_MD; in getEVP_MDByJcaDigestAlgorithmStandardName() 67 return EvpMdRef.SHA224.EVP_MD; in getEVP_MDByJcaDigestAlgorithmStandardName() 92 if (evpMdRef == MD5.EVP_MD) { in getJcaDigestAlgorithmStandardNameFromEVP_MD() 94 } else if (evpMdRef == SHA1.EVP_MD) { in getJcaDigestAlgorithmStandardNameFromEVP_MD() 96 } else if (evpMdRef == SHA224.EVP_MD) { in getJcaDigestAlgorithmStandardNameFromEVP_MD() 98 } else if (evpMdRef == SHA256.EVP_MD) { in getJcaDigestAlgorithmStandardNameFromEVP_MD() 100 } else if (evpMdRef == SHA384.EVP_MD) { in getJcaDigestAlgorithmStandardNameFromEVP_MD() [all …]
|
D | OpenSSLSignature.java | 288 super(EvpMdRef.MD5.EVP_MD); in MD5RSA() 293 super(EvpMdRef.SHA1.EVP_MD); in SHA1RSA() 298 super(EvpMdRef.SHA224.EVP_MD); in SHA224RSA() 303 super(EvpMdRef.SHA256.EVP_MD); in SHA256RSA() 308 super(EvpMdRef.SHA384.EVP_MD); in SHA384RSA() 313 super(EvpMdRef.SHA512.EVP_MD); in SHA512RSA() 319 super(EvpMdRef.SHA1.EVP_MD, EngineType.EC); in SHA1ECDSA() 324 super(EvpMdRef.SHA224.EVP_MD, EngineType.EC); in SHA224ECDSA() 329 super(EvpMdRef.SHA256.EVP_MD, EngineType.EC); in SHA256ECDSA() 334 super(EvpMdRef.SHA384.EVP_MD, EngineType.EC); in SHA384ECDSA() [all …]
|
D | OpenSSLMessageDigestJDK.java | 160 super(EvpMdRef.MD5.EVP_MD, EvpMdRef.MD5.SIZE_BYTES); in MD5() 166 super(EvpMdRef.SHA1.EVP_MD, EvpMdRef.SHA1.SIZE_BYTES); in SHA1() 172 super(EvpMdRef.SHA224.EVP_MD, EvpMdRef.SHA224.SIZE_BYTES); in SHA224() 178 super(EvpMdRef.SHA256.EVP_MD, EvpMdRef.SHA256.SIZE_BYTES); in SHA256() 184 super(EvpMdRef.SHA384.EVP_MD, EvpMdRef.SHA384.SIZE_BYTES); in SHA384() 190 super(EvpMdRef.SHA512.EVP_MD, EvpMdRef.SHA512.SIZE_BYTES); in SHA512()
|
D | OpenSSLMac.java | 160 super(EvpMdRef.MD5.EVP_MD, EvpMdRef.MD5.SIZE_BYTES); in HmacMD5() 166 super(EvpMdRef.SHA1.EVP_MD, EvpMdRef.SHA1.SIZE_BYTES); in HmacSHA1() 172 super(EvpMdRef.SHA224.EVP_MD, EvpMdRef.SHA224.SIZE_BYTES); in HmacSHA224() 178 super(EvpMdRef.SHA256.EVP_MD, EvpMdRef.SHA256.SIZE_BYTES); in HmacSHA256() 184 super(EvpMdRef.SHA384.EVP_MD, EvpMdRef.SHA384.SIZE_BYTES); in HmacSHA384() 190 super(EvpMdRef.SHA512.EVP_MD, EvpMdRef.SHA512.SIZE_BYTES); in HmacSHA512()
|
/external/boringssl/src/crypto/fipsmodule/digest/ |
D | digest.c | 69 int EVP_MD_type(const EVP_MD *md) { return md->type; } in EVP_MD_type() 71 uint32_t EVP_MD_flags(const EVP_MD *md) { return md->flags; } in EVP_MD_flags() 73 size_t EVP_MD_size(const EVP_MD *md) { return md->md_size; } in EVP_MD_size() 75 size_t EVP_MD_block_size(const EVP_MD *md) { return md->block_size; } in EVP_MD_block_size() 175 int EVP_DigestInit_ex(EVP_MD_CTX *ctx, const EVP_MD *type, ENGINE *engine) { in EVP_DigestInit_ex() 195 int EVP_DigestInit(EVP_MD_CTX *ctx, const EVP_MD *type) { in EVP_DigestInit() 222 unsigned int *out_size, const EVP_MD *type, ENGINE *impl) { in EVP_Digest() 236 const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx) { in EVP_MD_CTX_md() 255 int EVP_add_digest(const EVP_MD *digest) { in EVP_add_digest()
|
D | digests.c | 90 DEFINE_METHOD_FUNCTION(EVP_MD, EVP_md4) { in DEFINE_METHOD_FUNCTION() argument 114 DEFINE_METHOD_FUNCTION(EVP_MD, EVP_md5) { in DEFINE_METHOD_FUNCTION() argument 138 DEFINE_METHOD_FUNCTION(EVP_MD, EVP_sha1) { in DEFINE_METHOD_FUNCTION() argument 162 DEFINE_METHOD_FUNCTION(EVP_MD, EVP_sha224) { in DEFINE_METHOD_FUNCTION() argument 186 DEFINE_METHOD_FUNCTION(EVP_MD, EVP_sha256) { in DEFINE_METHOD_FUNCTION() argument 210 DEFINE_METHOD_FUNCTION(EVP_MD, EVP_sha384) { in DEFINE_METHOD_FUNCTION() argument 234 DEFINE_METHOD_FUNCTION(EVP_MD, EVP_sha512) { in DEFINE_METHOD_FUNCTION() argument 269 DEFINE_METHOD_FUNCTION(EVP_MD, EVP_md5_sha1) { in DEFINE_METHOD_FUNCTION() argument
|
/external/boringssl/src/crypto/digest_extra/ |
D | digest_extra.c | 70 const EVP_MD* (*md_func)(void); 104 const EVP_MD* EVP_get_digestbynid(int nid) { in EVP_get_digestbynid() 140 static const EVP_MD *cbs_to_md(const CBS *cbs) { in cbs_to_md() 152 const EVP_MD *EVP_get_digestbyobj(const ASN1_OBJECT *obj) { in EVP_get_digestbyobj() 163 const EVP_MD *EVP_parse_digest_algorithm(CBS *cbs) { in EVP_parse_digest_algorithm() 171 const EVP_MD *ret = cbs_to_md(&oid); in EVP_parse_digest_algorithm() 194 int EVP_marshal_digest_algorithm(CBB *cbb, const EVP_MD *md) { in EVP_marshal_digest_algorithm() 229 const EVP_MD *EVP_get_digestbyname(const char *name) { in EVP_get_digestbyname()
|
/external/boringssl/src/crypto/evp/ |
D | p_ec.c | 78 const EVP_MD *md; 184 if (EVP_MD_type((const EVP_MD *)p2) != NID_sha1 && in pkey_ec_ctrl() 185 EVP_MD_type((const EVP_MD *)p2) != NID_ecdsa_with_SHA1 && in pkey_ec_ctrl() 186 EVP_MD_type((const EVP_MD *)p2) != NID_sha224 && in pkey_ec_ctrl() 187 EVP_MD_type((const EVP_MD *)p2) != NID_sha256 && in pkey_ec_ctrl() 188 EVP_MD_type((const EVP_MD *)p2) != NID_sha384 && in pkey_ec_ctrl() 189 EVP_MD_type((const EVP_MD *)p2) != NID_sha512) { in pkey_ec_ctrl() 197 *(const EVP_MD **)p2 = dctx->md; in pkey_ec_ctrl()
|
D | p_rsa.c | 82 const EVP_MD *md; 84 const EVP_MD *mgf1md; 371 static int check_padding_md(const EVP_MD *md, int padding) { in check_padding_md() 458 *(const EVP_MD **)p2 = rctx->md; in pkey_rsa_ctrl() 472 *(const EVP_MD **)p2 = rctx->md; in pkey_rsa_ctrl() 484 *(const EVP_MD **)p2 = rctx->mgf1md; in pkey_rsa_ctrl() 486 *(const EVP_MD **)p2 = rctx->md; in pkey_rsa_ctrl() 593 int EVP_PKEY_CTX_set_rsa_oaep_md(EVP_PKEY_CTX *ctx, const EVP_MD *md) { in EVP_PKEY_CTX_set_rsa_oaep_md() 598 int EVP_PKEY_CTX_get_rsa_oaep_md(EVP_PKEY_CTX *ctx, const EVP_MD **out_md) { in EVP_PKEY_CTX_get_rsa_oaep_md() 603 int EVP_PKEY_CTX_set_rsa_mgf1_md(EVP_PKEY_CTX *ctx, const EVP_MD *md) { in EVP_PKEY_CTX_set_rsa_mgf1_md() [all …]
|
D | sign.c | 65 int EVP_SignInit_ex(EVP_MD_CTX *ctx, const EVP_MD *type, ENGINE *impl) { in EVP_SignInit_ex() 69 int EVP_SignInit(EVP_MD_CTX *ctx, const EVP_MD *type) { in EVP_SignInit() 111 int EVP_VerifyInit_ex(EVP_MD_CTX *ctx, const EVP_MD *type, ENGINE *impl) { in EVP_VerifyInit_ex() 115 int EVP_VerifyInit(EVP_MD_CTX *ctx, const EVP_MD *type) { in EVP_VerifyInit()
|
/external/boringssl/src/crypto/x509/ |
D | rsa_pss.c | 113 static int rsa_md_to_algor(X509_ALGOR **palg, const EVP_MD *md) { in rsa_md_to_algor() 126 static int rsa_md_to_mgf1(X509_ALGOR **palg, const EVP_MD *mgf1md) { in rsa_md_to_mgf1() 157 static const EVP_MD *rsa_algor_to_md(X509_ALGOR *alg) { in rsa_algor_to_md() 158 const EVP_MD *md; in rsa_algor_to_md() 170 static const EVP_MD *rsa_mgf1_to_md(X509_ALGOR *alg, X509_ALGOR *maskHash) { in rsa_mgf1_to_md() 171 const EVP_MD *md; in rsa_mgf1_to_md() 190 const EVP_MD *sigmd, *mgf1md; in x509_rsa_ctx_to_pss() 257 const EVP_MD *mgf1md = rsa_mgf1_to_md(pss->maskGenAlgorithm, maskHash); in x509_rsa_pss_to_ctx() 258 const EVP_MD *md = rsa_algor_to_md(pss->hashAlgorithm); in x509_rsa_pss_to_ctx()
|
D | x_all.c | 86 int X509_sign(X509 *x, EVP_PKEY *pkey, const EVP_MD *md) in X509_sign() 101 int X509_REQ_sign(X509_REQ *x, EVP_PKEY *pkey, const EVP_MD *md) in X509_REQ_sign() 114 int X509_CRL_sign(X509_CRL *x, EVP_PKEY *pkey, const EVP_MD *md) in X509_CRL_sign() 129 int NETSCAPE_SPKI_sign(NETSCAPE_SPKI *x, EVP_PKEY *pkey, const EVP_MD *md) in NETSCAPE_SPKI_sign() 305 int X509_pubkey_digest(const X509 *data, const EVP_MD *type, 315 int X509_digest(const X509 *data, const EVP_MD *type, unsigned char *md, in X509_digest() 322 int X509_CRL_digest(const X509_CRL *data, const EVP_MD *type, in X509_CRL_digest() 329 int X509_REQ_digest(const X509_REQ *data, const EVP_MD *type, in X509_REQ_digest() 336 int X509_NAME_digest(const X509_NAME *data, const EVP_MD *type, in X509_NAME_digest()
|
/external/webrtc/webrtc/base/ |
D | openssldigest.cc | 59 const EVP_MD** mdp) { in GetDigestEVP() 60 const EVP_MD* md; in GetDigestEVP() 83 bool OpenSSLDigest::GetDigestName(const EVP_MD* md, in GetDigestName() 111 const EVP_MD *md; in GetDigestSize()
|
D | openssldigest.h | 35 const EVP_MD** md); 37 static bool GetDigestName(const EVP_MD* md, 45 const EVP_MD* md_;
|
/external/openssh/ |
D | md-sha256.c | 37 const EVP_MD *evp_ssh_sha256(void); 67 const EVP_MD * 70 static EVP_MD ssh_sha256; in evp_ssh_sha256()
|
/external/boringssl/src/crypto/fipsmodule/rsa/ |
D | padding.c | 274 size_t seed_len, const EVP_MD *md) { in PKCS1_MGF1() 319 const EVP_MD *md, const EVP_MD *mgf1md) { in RSA_padding_add_PKCS1_OAEP_mgf1() 390 size_t param_len, const EVP_MD *md, in RSA_padding_check_PKCS1_OAEP_mgf1() 391 const EVP_MD *mgf1md) { in RSA_padding_check_PKCS1_OAEP_mgf1() 487 const EVP_MD *Hash, const EVP_MD *mgf1Hash, in RSA_verify_PKCS1_PSS_mgf1() 587 const EVP_MD *Hash, const EVP_MD *mgf1Hash, in RSA_padding_add_PKCS1_PSS_mgf1()
|