Home
last modified time | relevance | path

Searched refs:maskGenAlgorithm (Results 1 – 8 of 8) sorted by relevance

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/
DRSAESOAEPparams.java19 private AlgorithmIdentifier maskGenAlgorithm; field in RSAESOAEPparams
47 maskGenAlgorithm = DEFAULT_MASK_GEN_FUNCTION; in RSAESOAEPparams()
53 AlgorithmIdentifier maskGenAlgorithm, in RSAESOAEPparams() argument
57 this.maskGenAlgorithm = maskGenAlgorithm; in RSAESOAEPparams()
69 maskGenAlgorithm = DEFAULT_MASK_GEN_FUNCTION; in RSAESOAEPparams()
82 maskGenAlgorithm = AlgorithmIdentifier.getInstance(o, true); in RSAESOAEPparams()
100 return maskGenAlgorithm; in getMaskGenAlgorithm()
143 if (!maskGenAlgorithm.equals(DEFAULT_MASK_GEN_FUNCTION)) in toASN1Primitive()
145 v.add(new DERTaggedObject(true, 1, maskGenAlgorithm)); in toASN1Primitive()
DRSASSAPSSparams.java21 private AlgorithmIdentifier maskGenAlgorithm; field in RSASSAPSSparams
51 maskGenAlgorithm = DEFAULT_MASK_GEN_FUNCTION; in RSASSAPSSparams()
58 AlgorithmIdentifier maskGenAlgorithm, in RSASSAPSSparams() argument
63 this.maskGenAlgorithm = maskGenAlgorithm; in RSASSAPSSparams()
72 maskGenAlgorithm = DEFAULT_MASK_GEN_FUNCTION; in RSASSAPSSparams()
86 maskGenAlgorithm = AlgorithmIdentifier.getInstance(o, true); in RSASSAPSSparams()
107 return maskGenAlgorithm; in getMaskGenAlgorithm()
155 if (!maskGenAlgorithm.equals(DEFAULT_MASK_GEN_FUNCTION)) in toASN1Primitive()
157 v.add(new DERTaggedObject(true, 1, maskGenAlgorithm)); in toASN1Primitive()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/pkcs/
DRSAESOAEPparams.java23 private AlgorithmIdentifier maskGenAlgorithm; field in RSAESOAEPparams
51 maskGenAlgorithm = DEFAULT_MASK_GEN_FUNCTION; in RSAESOAEPparams()
57 AlgorithmIdentifier maskGenAlgorithm, in RSAESOAEPparams() argument
61 this.maskGenAlgorithm = maskGenAlgorithm; in RSAESOAEPparams()
73 maskGenAlgorithm = DEFAULT_MASK_GEN_FUNCTION; in RSAESOAEPparams()
86 maskGenAlgorithm = AlgorithmIdentifier.getInstance(o, true); in RSAESOAEPparams()
104 return maskGenAlgorithm; in getMaskGenAlgorithm()
147 if (!maskGenAlgorithm.equals(DEFAULT_MASK_GEN_FUNCTION)) in toASN1Primitive()
149 v.add(new DERTaggedObject(true, 1, maskGenAlgorithm)); in toASN1Primitive()
DRSASSAPSSparams.java25 private AlgorithmIdentifier maskGenAlgorithm; field in RSASSAPSSparams
55 maskGenAlgorithm = DEFAULT_MASK_GEN_FUNCTION; in RSASSAPSSparams()
62 AlgorithmIdentifier maskGenAlgorithm, in RSASSAPSSparams() argument
67 this.maskGenAlgorithm = maskGenAlgorithm; in RSASSAPSSparams()
76 maskGenAlgorithm = DEFAULT_MASK_GEN_FUNCTION; in RSASSAPSSparams()
90 maskGenAlgorithm = AlgorithmIdentifier.getInstance(o, true); in RSASSAPSSparams()
111 return maskGenAlgorithm; in getMaskGenAlgorithm()
159 if (!maskGenAlgorithm.equals(DEFAULT_MASK_GEN_FUNCTION)) in toASN1Primitive()
161 v.add(new DERTaggedObject(true, 1, maskGenAlgorithm)); in toASN1Primitive()
/external/boringssl/src/crypto/x509/
Drsa_pss.c72 ASN1_EXP_OPT(RSA_PSS_PARAMS, maskGenAlgorithm, X509_ALGOR,1),
108 *pmaskHash = rsa_mgf1_decode(pss->maskGenAlgorithm); in rsa_pss_decode()
226 !rsa_md_to_mgf1(&pss->maskGenAlgorithm, 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()
333 if (pss->maskGenAlgorithm) { in x509_print_rsa_pss_params()
334 if (i2a_ASN1_OBJECT(bp, pss->maskGenAlgorithm->algorithm) <= 0 || in x509_print_rsa_pss_params()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DAlgorithmParametersSpi.java68 AlgorithmIdentifier maskGenAlgorithm = new AlgorithmIdentifier( in engineGetEncoded() local
74 … RSAESOAEPparams oaepP = new RSAESOAEPparams(hashAlgorithm, maskGenAlgorithm, pSourceAlgorithm); in engineGetEncoded()
191 AlgorithmIdentifier maskGenAlgorithm = new AlgorithmIdentifier( in engineGetEncoded() local
194 …RSASSAPSSparams pssP = new RSASSAPSSparams(hashAlgorithm, maskGenAlgorithm, new ASN1Integer(pssSpe… in engineGetEncoded()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DAlgorithmParametersSpi.java61 AlgorithmIdentifier maskGenAlgorithm = new AlgorithmIdentifier( in engineGetEncoded() local
67 … RSAESOAEPparams oaepP = new RSAESOAEPparams(hashAlgorithm, maskGenAlgorithm, pSourceAlgorithm); in engineGetEncoded()
181 AlgorithmIdentifier maskGenAlgorithm = new AlgorithmIdentifier( in engineGetEncoded() local
184 …RSASSAPSSparams pssP = new RSASSAPSSparams(hashAlgorithm, maskGenAlgorithm, new ASN1Integer(pssSpe… in engineGetEncoded()
/external/boringssl/src/include/openssl/
Dx509.h1116 X509_ALGOR *maskGenAlgorithm; member