Home
last modified time | relevance | path

Searched refs:tagLen (Results 1 – 14 of 14) sorted by relevance

/external/boringssl/src/util/fipstools/acvp/acvptool/test/vectors/
DACVP-AES-CCM.bz21[ 2 { 3 "time": "2020-12-01T19:04:10-08 ...
DACVP-AES-GCM.bz21[ 2 { 3 "time": "2020-12-17T10:10:25-08 ...
/external/grpc-grpc-java/alts/src/test/java/io/grpc/alts/internal/
DChannelCrypterNettyTestBase.java76 int tagLen = client.getSuffixLength(); in frameDecryptOfEncrypt() local
80 Collections.singletonList(out.slice(out.readerIndex(), out.readableBytes() - tagLen)); in frameDecryptOfEncrypt()
81 frameDecrypt.tag = out.slice(out.readerIndex() + out.readableBytes() - tagLen, tagLen); in frameDecryptOfEncrypt()
144 int tagLen = client.getSuffixLength(); in encryptDecryptComposite() local
148 ByteBuf cipher1 = getDirectBuffer(outLen - lastLen - tagLen, ref); in encryptDecryptComposite()
150 cipher1.writeBytes(out, 0, outLen - lastLen - tagLen); in encryptDecryptComposite()
151 cipher2.writeBytes(out, outLen - tagLen - lastLen, lastLen); in encryptDecryptComposite()
154 frameDecrypt.tag = out.slice(out.readerIndex() + out.readableBytes() - tagLen, tagLen); in encryptDecryptComposite()
/external/ppp/pppd/plugins/rp-pppoe/
Dcommon.c49 UINT16_t tagType, tagLen; in parsePacket() local
71 tagLen = (curTag[2] << 8) + curTag[3]; in parsePacket()
75 if ((curTag - packet->payload) + tagLen + TAG_HDR_SIZE > len) { in parsePacket()
76 error("Invalid PPPoE tag length (%u)", tagLen); in parsePacket()
79 func(tagType, tagLen, curTag+TAG_HDR_SIZE, extra); in parsePacket()
80 curTag = curTag + TAG_HDR_SIZE + tagLen; in parsePacket()
Dpppoe-discovery.c266 UINT16_t tagType, tagLen; in parsePacket() local
290 tagLen = (curTag[2] << 8) + curTag[3]; in parsePacket()
294 if ((curTag - packet->payload) + tagLen + TAG_HDR_SIZE > len) { in parsePacket()
295 fprintf(stderr, "Invalid PPPoE tag length (%u)\n", tagLen); in parsePacket()
298 func(tagType, tagLen, curTag+TAG_HDR_SIZE, extra); in parsePacket()
299 curTag = curTag + TAG_HDR_SIZE + tagLen; in parsePacket()
/external/icu/icu4c/source/tools/gencnval/
Dgencnval.c185 getTagNumber(const char *tag, uint16_t tagLen);
530 getTagNumber(const char *tag, uint16_t tagLen) { in getTagNumber() argument
533 UBool preferredName = ((tagLen > 0) ? (tag[tagLen - 1] == '*') : (FALSE)); in getTagNumber()
542 tagLen--; in getTagNumber()
547 if (uprv_strlen(currTag) == tagLen && !uprv_strnicmp(currTag, tag, tagLen)) { in getTagNumber()
559 atag = allocString(&tagBlock, tag, tagLen); in getTagNumber()
566 else if (tagLen > 0 && strcmp(tag, ALL_TAG_STR) != 0) { in getTagNumber()
/external/icu/icu4c/source/common/
Duloc_tag.cpp306 ultag_parse(const char* tag, int32_t tagLen, int32_t* parsedLen, UErrorCode* status);
2001 ultag_parse(const char* tag, int32_t tagLen, int32_t* parsedLen, UErrorCode* status) { in ultag_parse() argument
2021 if (tagLen < 0) { in ultag_parse()
2022 tagLen = (int32_t)uprv_strlen(tag); in ultag_parse()
2026 tagBuf = (char*)uprv_malloc(tagLen + 1); in ultag_parse()
2031 uprv_memcpy(tagBuf, tag, tagLen); in ultag_parse()
2032 *(tagBuf + tagLen) = 0; in ultag_parse()
2045 if (tagLen < MINLEN) { in ultag_parse()
2057 if (tagLen < checkLegacyLen) { in ultag_parse()
2060 if (tagLen > checkLegacyLen && tagBuf[checkLegacyLen] != '-') { in ultag_parse()
[all …]
Dulocimp.h148 int32_t tagLen,
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/charsetdet/
DDetectingViewer.java192 int tagLen = tag.length; in openTag() local
196 for (b = 0; b < tagLen && b < bufRem; b += 1) { in openTag()
202 return b == tagLen; in openTag()
/external/mesa3d/include/android_stub/log/
Dlogprint.h64 size_t tagLen; member
/external/icu/libicu/cts_headers/
Dulocimp.h148 int32_t tagLen,
/external/libese/third_party/NXPNFC_P61_JCOP_Kit/src/
DAla.cpp2345 UINT8 tagLen = 0; in Write_Response_To_OutFile() local
2375 tagLen = tag44off+2; in Write_Response_To_OutFile()
2382 tagLen = tag44off+2; in Write_Response_To_OutFile()
2399 tagLen = tag44off+3; in Write_Response_To_OutFile()
2407 tagLen = tag44off+3; in Write_Response_To_OutFile()
2426 tagLen = tag44off+4; in Write_Response_To_OutFile()
2452 while(tempLen < tagLen) in Write_Response_To_OutFile()
/external/conscrypt/common/src/jni/main/cpp/conscrypt/
Dnative_crypto.cc3577 static jint evp_aead_ctx_op_common(JNIEnv* env, jlong evpAeadRef, jbyteArray keyArray, jint tagLen, in evp_aead_ctx_op_common() argument
3608 static_cast<size_t>(tagLen), nullptr)) { in evp_aead_ctx_op_common()
3613 evpAead, keyArray, tagLen, outBuffer, nonceArray, inBuffer, in evp_aead_ctx_op_common()
3629 evpAead, keyArray, tagLen, outBuffer, nonceArray, inBuffer, in evp_aead_ctx_op_common()
3634 static jint evp_aead_ctx_op(JNIEnv* env, jlong evpAeadRef, jbyteArray keyArray, jint tagLen, in evp_aead_ctx_op() argument
3639 JNI_TRACE("evp_aead_ctx_op(%p, %p, %d, %p, %d, %p, %p, %d, %d, %p)", evpAead, keyArray, tagLen, in evp_aead_ctx_op()
3650 evpAead, keyArray, tagLen, outArray, outOffset, nonceArray, inArray, inOffset, in evp_aead_ctx_op()
3665 evpAead, keyArray, tagLen, outArray, outOffset, nonceArray, inArray, inOffset, in evp_aead_ctx_op()
3674 …return evp_aead_ctx_op_common(env, evpAeadRef, keyArray, tagLen, outTmp + outOffset, nonceArray, i… in evp_aead_ctx_op()
3678 static jint evp_aead_ctx_op_buf(JNIEnv* env, jlong evpAeadRef, jbyteArray keyArray, jint tagLen, in evp_aead_ctx_op_buf() argument
[all …]
/external/boringssl/src/util/fipstools/acvp/modulewrapper/
Dmodulewrapper.cc304 "tagLen": [32, 64, 96, 104, 112, 120, 128], in GetConfig()
350 "tagLen": [32], in GetConfig()