Home
last modified time | relevance | path

Searched refs:tLen (Results 1 – 12 of 12) sorted by relevance

/external/conscrypt/common/src/main/java/org/conscrypt/
DGCMParameters.java41 private int tLen; field in GCMParameters
48 GCMParameters(int tLen, byte[] iv) { in GCMParameters() argument
49 this.tLen = tLen; in GCMParameters()
57 return tLen; in getTLen()
74 this.tLen = params.tLen; in engineInit()
95 this.tLen = newTlen; in engineInit()
115 return aClass.cast(Platform.toGCMParameterSpec(tLen, iv)); in engineGetParameterSpec()
129 if (this.tLen != DEFAULT_TLEN) { in engineGetEncoded()
130 NativeCrypto.asn1_write_uint64(seqRef, this.tLen / 8); in engineGetEncoded()
/external/icu/icu4c/source/test/intltest/
Dtscoll.cpp94 … *coll, const UChar source[], int32_t sLen, const UChar target[], int32_t tLen, int32_t pieceSize,… in compareUsingPartials() argument
106 uiter_setString(&tIter, target, tLen); in compareUsingPartials()
148 int32_t sLen = source.length(), tLen = target.length(); in doTestVariant() local
156 uiter_setString(&tIter, trg, tLen); in doTestVariant()
170 u_strToUTF8(utf8Target, 256, &utf8TargetLen, trg, tLen, &status); in doTestVariant()
213 …partialSKResult = compareUsingPartials(myCollation, src, sLen, trg, tLen, partialSizes[i], status); in doTestVariant()
221 …partialNormalizedSKResult = compareUsingPartials(myCollation, src, sLen, trg, tLen, partialSizes[i… in doTestVariant()
Dtscoll.h54 … *coll, const UChar source[], int32_t sLen, const UChar target[], int32_t tLen, int32_t pieceSize,…
/external/icu/icu4c/source/test/cintltst/
Dcmsccoll.c49 const UChar *target, const int tLen);
2758 int32_t sLen = 0, tLen = 0; in TestSettings() local
2768 tLen = u_unescape(cases[j], target, 256); in TestSettings()
2769 source[tLen] = 0; in TestSettings()
3586 int32_t rLen, tLen, ruleLen, sLen, kLen; in TestVI5913() local
3656 tLen = u_strlen(tData[j]); in TestVI5913()
3657 log_verbose("\n Data :%s \tlen: %d key: ", tData[j], tLen); in TestVI5913()
3658 rLen = ucol_getSortKey(coll, tData[j], tLen, resColl, 100); in TestVI5913()
3680 tLen = u_strlen(tData[j]); in TestVI5913()
3681 log_verbose("\n Data :%s \tlen: %d key: ", tData[j], tLen); in TestVI5913()
[all …]
Dcallcoll.c232 … *coll, const UChar source[], int32_t sLen, const UChar target[], int32_t tLen, int32_t pieceSize,… in compareUsingPartials() argument
249 uiter_setString(&tIter, target, tLen); in compareUsingPartials()
277 uint32_t tLen = u_strlen(target); in doTestVariant() local
285 compareResult = ucol_strcoll(myCollation, source, sLen, target, tLen); in doTestVariant()
297 uiter_setString(&tIter, target, tLen); in doTestVariant()
312 u_strToUTF8(utf8Target, 256, &utf8TargetLen, target, tLen, &status); in doTestVariant()
377 …partialSKResult = compareUsingPartials(myCollation, source, sLen, target, tLen, partialSizes[i], &… in doTestVariant()
387 …partialNormalizedSKResult = compareUsingPartials(myCollation, source, sLen, target, tLen, partialS… in doTestVariant()
399 sortklen2=ucol_getSortKey(myCollation, target, tLen, NULL, 0); in doTestVariant()
412 ucol_getSortKey(myCollation, target, tLen, sortKey2, sortklen2+1); in doTestVariant()
Dusrchtst.c2610 int32_t tLen = UPRV_LENGTHOF(text); in TestStrengthIdentical() local
2626 search = usearch_openFromCollator (pattern, pLen, text, tLen, coll, NULL, &ec); in TestStrengthIdentical()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/
DGcmSpecUtil.java56 Method tLen = gcmSpecClass.getDeclaredMethod("getTLen", new Class[0]); in extractGcmParameters() local
59 …return new GCMParameters((byte[])iv.invoke(paramSpec, new Object[0]), ((Integer)tLen.invoke(paramS… in extractGcmParameters()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/
DBaseMac.java220 Method tLen = gcmSpecClass.getDeclaredMethod("getTLen", new Class[0]); in engineInit() local
223 …param = new AEADParameters(keyParam, ((Integer)tLen.invoke(params, new Object[0])).intValue(), (by… in engineInit()
DBaseBlockCipher.java840 Method tLen = gcmSpecClass.getDeclaredMethod("getTLen", new Class[0]); in engineInit() local
852 …param = aeadParams = new AEADParameters(keyParam, ((Integer)tLen.invoke(params, new Object[0])).in… in engineInit()
/external/conscrypt/android/src/main/java/org/conscrypt/
DPlatform.java553 int tLen; in fromGCMParameterSpec() local
558 tLen = (int) getTLenMethod.invoke(params); in fromGCMParameterSpec()
561 return new GCMParameters(tLen, iv); in fromGCMParameterSpec()
/external/icu/icu4c/source/tools/genrb/
Dwrtxml.cpp806 int32_t tLen = ( outDir == NULL) ? 0 :(int32_t)uprv_strlen(outDir); in bin_write_xml() local
807 char* fn = (char*) uprv_malloc(sizeof(char) * (tLen+1024 + in bin_write_xml()
/external/bouncycastle/patches/
Dbcprov.patch7261 Method tLen = gcmSpecClass.getDeclaredMethod("getTLen", new Class[0]);
7266 - param = aeadParams = new AEADParameters(null, ((Integer)tLen.invoke(params, ne…
7272 + // param = aeadParams = new AEADParameters(null, ((Integer)tLen.invoke(params,…
7277 …Params = new AEADParameters(new KeyParameter(key.getEncoded()), ((Integer)tLen.invoke(params, new …