/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/ |
D | RSAESOAEPparams.java | 18 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()
|
D | RSASSAPSSparams.java | 20 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/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/pkcs/ |
D | RSAESOAEPparams.java | 22 private AlgorithmIdentifier hashAlgorithm; field in RSAESOAEPparams 50 hashAlgorithm = DEFAULT_HASH_ALGORITHM; in RSAESOAEPparams() 56 AlgorithmIdentifier hashAlgorithm, in RSAESOAEPparams() argument 60 this.hashAlgorithm = hashAlgorithm; in RSAESOAEPparams() 72 hashAlgorithm = DEFAULT_HASH_ALGORITHM; in RSAESOAEPparams() 83 hashAlgorithm = AlgorithmIdentifier.getInstance(o, true); in RSAESOAEPparams() 99 return hashAlgorithm; in getHashAlgorithm() 142 if (!hashAlgorithm.equals(DEFAULT_HASH_ALGORITHM)) in toASN1Primitive() 144 v.add(new DERTaggedObject(true, 0, hashAlgorithm)); in toASN1Primitive()
|
D | RSASSAPSSparams.java | 24 private AlgorithmIdentifier hashAlgorithm; field in RSASSAPSSparams 54 hashAlgorithm = DEFAULT_HASH_ALGORITHM; in RSASSAPSSparams() 61 AlgorithmIdentifier hashAlgorithm, in RSASSAPSSparams() argument 66 this.hashAlgorithm = hashAlgorithm; in RSASSAPSSparams() 75 hashAlgorithm = DEFAULT_HASH_ALGORITHM; in RSASSAPSSparams() 87 hashAlgorithm = AlgorithmIdentifier.getInstance(o, true); in RSASSAPSSparams() 106 return hashAlgorithm; in getHashAlgorithm() 154 if (!hashAlgorithm.equals(DEFAULT_HASH_ALGORITHM)) in toASN1Primitive() 156 v.add(new DERTaggedObject(true, 0, hashAlgorithm)); in toASN1Primitive()
|
/external/conscrypt/common/src/main/java/org/conscrypt/ct/ |
D | DigitallySigned.java | 63 private final HashAlgorithm hashAlgorithm; field in DigitallySigned 67 public DigitallySigned(HashAlgorithm hashAlgorithm, in DigitallySigned() argument 70 this.hashAlgorithm = hashAlgorithm; in DigitallySigned() 75 public DigitallySigned(int hashAlgorithm, in DigitallySigned() argument 79 HashAlgorithm.valueOf(hashAlgorithm), in DigitallySigned() 86 return hashAlgorithm; in getHashAlgorithm() 100 return String.format("%swith%s", hashAlgorithm, signatureAlgorithm); in getAlgorithm()
|
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ct/ |
D | DigitallySigned.java | 71 private final HashAlgorithm hashAlgorithm; field in DigitallySigned 75 public DigitallySigned(HashAlgorithm hashAlgorithm, in DigitallySigned() argument 78 this.hashAlgorithm = hashAlgorithm; in DigitallySigned() 83 public DigitallySigned(int hashAlgorithm, in DigitallySigned() argument 87 HashAlgorithm.valueOf(hashAlgorithm), in DigitallySigned() 94 return hashAlgorithm; in getHashAlgorithm() 108 return String.format("%swith%s", hashAlgorithm, signatureAlgorithm); in getAlgorithm()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ocsp/ |
D | CertID.java | 16 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/ |
D | rsa_pss.c | 71 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/ |
D | DsaTest.java | 799 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()
|
D | EcdsaTest.java | 677 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()
|
D | RsaSignatureTest.java | 1079 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/ |
D | AlgorithmParametersSpi.java | 57 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/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/rsa/ |
D | AlgorithmParametersSpi.java | 64 AlgorithmIdentifier hashAlgorithm = new AlgorithmIdentifier( in engineGetEncoded() local 74 … RSAESOAEPparams oaepP = new RSAESOAEPparams(hashAlgorithm, maskGenAlgorithm, pSourceAlgorithm); in engineGetEncoded() 187 AlgorithmIdentifier hashAlgorithm = new AlgorithmIdentifier( in engineGetEncoded() local 194 …RSASSAPSSparams pssP = new RSASSAPSSparams(hashAlgorithm, maskGenAlgorithm, new ASN1Integer(pssSpe… in engineGetEncoded()
|
/external/arm-trusted-firmware/tools/cert_create/src/ |
D | ext.c | 23 X509_ALGOR *hashAlgorithm; member 28 ASN1_SIMPLE(HASH, hashAlgorithm, X509_ALGOR), 198 hash->hashAlgorithm = x509_algor; in ext_new_hash()
|
/external/wpa_supplicant_8/src/crypto/ |
D | tls_openssl_ocsp.c | 47 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/python/pyasn1-modules/tools/ |
D | ocspclient.py | 81 hashAlgorithm = reqCert.setComponentByName('hashAlgorithm').getComponentByName('hashAlgorithm') 82 hashAlgorithm.setComponentByName('algorithm', sha1oid)
|
/external/scapy/test/ |
D | x509.uts | 243 assert(singleResponse.certID.hashAlgorithm.algorithm == ASN1_OID("sha1")) 244 assert(singleResponse.certID.hashAlgorithm.parameters == ASN1_NULL(0))
|
/external/boringssl/src/include/openssl/ |
D | x509.h | 1115 X509_ALGOR *hashAlgorithm; member
|