Home
last modified time | relevance | path

Searched refs:hashAlgorithm (Results 1 – 11 of 11) sorted by relevance

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/
DRSAESOAEPparams.java18 private AlgorithmIdentifier hashAlgorithm; field in RSAESOAEPparams
46 hashAlgorithm = DEFAULT_HASH_ALGORITHM; in RSAESOAEPparams()
52 AlgorithmIdentifier hashAlgorithm, in RSAESOAEPparams() argument
56 this.hashAlgorithm = hashAlgorithm; in RSAESOAEPparams()
68 hashAlgorithm = DEFAULT_HASH_ALGORITHM; in RSAESOAEPparams()
79 hashAlgorithm = AlgorithmIdentifier.getInstance(o, true); in RSAESOAEPparams()
95 return hashAlgorithm; in getHashAlgorithm()
138 if (!hashAlgorithm.equals(DEFAULT_HASH_ALGORITHM)) in toASN1Primitive()
140 v.add(new DERTaggedObject(true, 0, hashAlgorithm)); in toASN1Primitive()
DRSASSAPSSparams.java20 private AlgorithmIdentifier hashAlgorithm; field in RSASSAPSSparams
50 hashAlgorithm = DEFAULT_HASH_ALGORITHM; in RSASSAPSSparams()
57 AlgorithmIdentifier hashAlgorithm, in RSASSAPSSparams() argument
62 this.hashAlgorithm = hashAlgorithm; in RSASSAPSSparams()
71 hashAlgorithm = DEFAULT_HASH_ALGORITHM; in RSASSAPSSparams()
83 hashAlgorithm = AlgorithmIdentifier.getInstance(o, true); in RSASSAPSSparams()
102 return hashAlgorithm; in getHashAlgorithm()
150 if (!hashAlgorithm.equals(DEFAULT_HASH_ALGORITHM)) in toASN1Primitive()
152 v.add(new DERTaggedObject(true, 0, hashAlgorithm)); in toASN1Primitive()
/external/conscrypt/platform/src/main/java/org/conscrypt/ct/
DDigitallySigned.java65 private final HashAlgorithm hashAlgorithm; field in DigitallySigned
69 public DigitallySigned(HashAlgorithm hashAlgorithm, in DigitallySigned() argument
72 this.hashAlgorithm = hashAlgorithm; in DigitallySigned()
77 public DigitallySigned(int hashAlgorithm, in DigitallySigned() argument
81 HashAlgorithm.valueOf(hashAlgorithm), in DigitallySigned()
88 return hashAlgorithm; in getHashAlgorithm()
102 return String.format("%swith%s", hashAlgorithm, signatureAlgorithm); in getAlgorithm()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ocsp/
DCertID.java16 AlgorithmIdentifier hashAlgorithm; field in CertID
22 AlgorithmIdentifier hashAlgorithm, in CertID() argument
27 this.hashAlgorithm = hashAlgorithm; in CertID()
36 hashAlgorithm = AlgorithmIdentifier.getInstance(seq.getObjectAt(0)); in CertID()
66 return hashAlgorithm; in getHashAlgorithm()
98 v.add(hashAlgorithm); in toASN1Primitive()
/external/boringssl/src/crypto/x509/
Drsa_pss.c71 ASN1_EXP_OPT(RSA_PSS_PARAMS, hashAlgorithm, X509_ALGOR,0),
225 if (!rsa_md_to_algor(&pss->hashAlgorithm, sigmd) || in x509_rsa_ctx_to_pss()
258 const EVP_MD *md = rsa_algor_to_md(pss->hashAlgorithm); in x509_rsa_pss_to_ctx()
319 if (pss->hashAlgorithm) { in x509_print_rsa_pss_params()
320 if (i2a_ASN1_OBJECT(bp, pss->hashAlgorithm->algorithm) <= 0) { in x509_print_rsa_pss_params()
/external/wycheproof/java/com/google/security/wycheproof/testcases/
DDsaTest.java799 String hashAlgorithm = "SHA-256"; in testBasic() local
818 byte[] rawHash = MessageDigest.getInstance(hashAlgorithm).digest(messageBytes); in testBasic()
925 String hashAlgorithm = "SHA"; in testDsaBias() local
928 byte[] digest = MessageDigest.getInstance(hashAlgorithm).digest(messageBytes); in testDsaBias()
972 String hashAlgorithm = "SHA"; in testBiasSha1WithDSA() local
975 byte[] digest = MessageDigest.getInstance(hashAlgorithm).digest(messageBytes); in testBiasSha1WithDSA()
DEcdsaTest.java677 String hashAlgorithm = "SHA-256"; in testBasic() local
699 byte[] rawHash = MessageDigest.getInstance(hashAlgorithm).digest(messageBytes); in testBasic()
738 String hashAlgorithm = getHashAlgorithm(algorithm); in testBias() local
741 byte[] digest = MessageDigest.getInstance(hashAlgorithm).digest(messageBytes); in testBias()
DRsaSignatureTest.java1079 String hashAlgorithm = "SHA-256"; in testBasic() local
1100 byte[] rawHash = MessageDigest.getInstance(hashAlgorithm).digest(messageBytes); in testBasic()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DAlgorithmParametersSpi.java57 AlgorithmIdentifier hashAlgorithm = new AlgorithmIdentifier( in engineGetEncoded() local
67 … RSAESOAEPparams oaepP = new RSAESOAEPparams(hashAlgorithm, maskGenAlgorithm, pSourceAlgorithm); in engineGetEncoded()
177 AlgorithmIdentifier hashAlgorithm = new AlgorithmIdentifier( in engineGetEncoded() local
184 …RSASSAPSSparams pssP = new RSASSAPSSparams(hashAlgorithm, maskGenAlgorithm, new ASN1Integer(pssSpe… in engineGetEncoded()
/external/wpa_supplicant_8/src/crypto/
Dtls_openssl_ocsp.c47 X509_ALGOR *hashAlgorithm; member
170 ASN1_SIMPLE(CertID, hashAlgorithm, X509_ALGOR),
405 dgst = EVP_get_digestbyobj(certid->hashAlgorithm->algorithm); in issuer_match()
714 txt = algor_str(sresp->certID->hashAlgorithm); in check_ocsp_resp()
779 (OBJ_cmp(cid1->hashAlgorithm->algorithm, in check_ocsp_resp()
780 cid2->hashAlgorithm->algorithm) != 0 || in check_ocsp_resp()
/external/boringssl/src/include/openssl/
Dx509.h1085 X509_ALGOR *hashAlgorithm; member