Home
last modified time | relevance | path

Searched refs:pLen (Results 1 – 6 of 6) sorted by relevance

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/encodings/
DPKCS1Encoding.java43 private int pLen = -1; field in PKCS1Encoding
67 int pLen) in PKCS1Encoding() argument
71 this.pLen = pLen; in PKCS1Encoding()
88 this.pLen = fallback.length; in PKCS1Encoding()
138 if (pLen > 0 && fallback == null && random == null) in init()
243 private static int checkPkcs1Encoding(byte[] encoded, int pLen) in checkPkcs1Encoding() argument
255 pLen /* Length of the PMS */ in checkPkcs1Encoding()
271 correct |= encoded[encoded.length - (pLen + 1)]; in checkPkcs1Encoding()
305 random = new byte[this.pLen]; in decodeBlockOrRandom()
318 int correct = PKCS1Encoding.checkPkcs1Encoding(data, this.pLen); in decodeBlockOrRandom()
[all …]
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/encodings/
DPKCS1Encoding.java45 private int pLen = -1; field in PKCS1Encoding
69 int pLen) in PKCS1Encoding() argument
73 this.pLen = pLen; in PKCS1Encoding()
90 this.pLen = fallback.length; in PKCS1Encoding()
140 if (pLen > 0 && fallback == null && random == null) in init()
245 private static int checkPkcs1Encoding(byte[] encoded, int pLen) in checkPkcs1Encoding() argument
257 pLen /* Length of the PMS */ in checkPkcs1Encoding()
273 correct |= encoded[encoded.length - (pLen + 1)]; in checkPkcs1Encoding()
307 random = new byte[this.pLen]; in decodeBlockOrRandom()
320 int correct = PKCS1Encoding.checkPkcs1Encoding(data, this.pLen); in decodeBlockOrRandom()
[all …]
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/crypto/encodings/
DPKCS1Encoding.java45 private int pLen = -1; field in PKCS1Encoding
69 int pLen) in PKCS1Encoding() argument
73 this.pLen = pLen; in PKCS1Encoding()
90 this.pLen = fallback.length; in PKCS1Encoding()
140 if (pLen > 0 && fallback == null && random == null) in init()
245 private static int checkPkcs1Encoding(byte[] encoded, int pLen) in checkPkcs1Encoding() argument
257 pLen /* Length of the PMS */ in checkPkcs1Encoding()
273 correct |= encoded[encoded.length - (pLen + 1)]; in checkPkcs1Encoding()
307 random = new byte[this.pLen]; in decodeBlockOrRandom()
320 int correct = PKCS1Encoding.checkPkcs1Encoding(data, this.pLen); in decodeBlockOrRandom()
[all …]
/external/icu/icu4c/source/test/cintltst/
Dnfsprep.c218 int32_t pLen=0, sLen=0, reqLen=0, in nfs4_mixed_prepare() local
236pLen = nfs4_prepare(prefix, prefixLen, p, pCapacity, NFS4_MIXED_PREP_PREFIX, parseError, status); in nfs4_mixed_prepare()
239 p = (char*) malloc(pLen); in nfs4_mixed_prepare()
244 pLen = nfs4_prepare(prefix, prefixLen, p, pLen, NFS4_MIXED_PREP_PREFIX, parseError, status); in nfs4_mixed_prepare()
252 s = (char*) malloc(pLen); in nfs4_mixed_prepare()
260 reqLen = pLen+sLen+1 /* for the delimiter */; in nfs4_mixed_prepare()
262 memmove(dest, p, pLen); in nfs4_mixed_prepare()
265 dest[pLen++] = PREFIX_SUFFIX_SEPARATOR; in nfs4_mixed_prepare()
266 memmove(dest+pLen, s, sLen); in nfs4_mixed_prepare()
Dusrchtst.c2611 int32_t pLen = UPRV_LENGTHOF(pattern); in TestStrengthIdentical() local
2628 search = usearch_openFromCollator (pattern, pLen, text, tLen, coll, NULL, &ec); in TestStrengthIdentical()
/external/libese/third_party/NXPNFC_P61_JCOP_Kit/src/
DAla.cpp2263 UINT8 Numof_lengthbytes(UINT8 *read_buf, INT32 *pLen) in Numof_lengthbytes() argument
2316 *pLen = wLen; in Numof_lengthbytes()
2317 ALOGE("%s:exit; len_bytes=0x0%x, Length=%ld", fn, len_byte, *pLen); in Numof_lengthbytes()