Home
last modified time | relevance | path

Searched refs:saltLength (Results 1 – 10 of 10) sorted by relevance

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/
DRSASSAPSSparams.java22 private ASN1Integer saltLength; field in RSASSAPSSparams
52 saltLength = DEFAULT_SALT_LENGTH; in RSASSAPSSparams()
59 ASN1Integer saltLength, in RSASSAPSSparams() argument
64 this.saltLength = saltLength; in RSASSAPSSparams()
73 saltLength = DEFAULT_SALT_LENGTH; in RSASSAPSSparams()
89 saltLength = ASN1Integer.getInstance(o, true); in RSASSAPSSparams()
112 return saltLength.getValue(); in getSaltLength()
160 if (!saltLength.equals(DEFAULT_SALT_LENGTH)) in toASN1Primitive()
162 v.add(new DERTaggedObject(true, 2, saltLength)); in toASN1Primitive()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/pkcs/
DRSASSAPSSparams.java26 private ASN1Integer saltLength; field in RSASSAPSSparams
56 saltLength = DEFAULT_SALT_LENGTH; in RSASSAPSSparams()
63 ASN1Integer saltLength, in RSASSAPSSparams() argument
68 this.saltLength = saltLength; in RSASSAPSSparams()
77 saltLength = DEFAULT_SALT_LENGTH; in RSASSAPSSparams()
93 saltLength = ASN1Integer.getInstance(o, true); in RSASSAPSSparams()
116 return saltLength.getValue(); in getSaltLength()
164 if (!saltLength.equals(DEFAULT_SALT_LENGTH)) in toASN1Primitive()
166 v.add(new DERTaggedObject(true, 2, saltLength)); in toASN1Primitive()
/external/boringssl/src/crypto/x509/
Drsa_pss.c73 ASN1_EXP_OPT(RSA_PSS_PARAMS, saltLength, ASN1_INTEGER,2),
218 pss->saltLength = ASN1_INTEGER_new(); in x509_rsa_ctx_to_pss()
219 if (!pss->saltLength || in x509_rsa_ctx_to_pss()
220 !ASN1_INTEGER_set(pss->saltLength, saltlen)) { in x509_rsa_ctx_to_pss()
264 if (pss->saltLength != NULL) { in x509_rsa_pss_to_ctx()
265 saltlen = ASN1_INTEGER_get(pss->saltLength); in x509_rsa_pss_to_ctx()
356 if (pss->saltLength) { in x509_print_rsa_pss_params()
357 if (i2a_ASN1_INTEGER(bp, pss->saltLength) <= 0) { in x509_print_rsa_pss_params()
/external/conscrypt/common/src/main/java/org/conscrypt/
DPSSParameters.java54 int saltLength = 20; in engineInit() local
61 saltLength = (int) NativeCrypto.asn1_read_uint64(saltRef); in engineInit()
86 saltLength, 1); in engineInit()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DPSSParameters.java58 int saltLength = 20; in engineInit() local
65 saltLength = (int) NativeCrypto.asn1_read_uint64(saltRef); in engineInit()
90 saltLength, 1); in engineInit()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/keystore/bc/
DBcKeyStoreSpi.java819 int saltLength = dIn.readInt(); in engineLoad() local
820 if (saltLength <= 0) in engineLoad()
825 byte[] salt = new byte[saltLength]; in engineLoad()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/keystore/bc/
DBcKeyStoreSpi.java823 int saltLength = dIn.readInt(); in engineLoad() local
824 if (saltLength <= 0) in engineLoad()
829 byte[] salt = new byte[saltLength]; in engineLoad()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/keystore/pkcs12/
DPKCS12KeyStoreSpi.java161 private int saltLength = 20; field in PKCS12KeyStoreSpi
827 saltLength = salt.length; in engineLoad()
1663 byte[] mSalt = new byte[saltLength]; in doStore()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/keystore/pkcs12/
DPKCS12KeyStoreSpi.java165 private int saltLength = 20; field in PKCS12KeyStoreSpi
831 saltLength = salt.length; in engineLoad()
1667 byte[] mSalt = new byte[saltLength]; in doStore()
/external/boringssl/src/include/openssl/
Dx509.h1117 ASN1_INTEGER *saltLength; member