Home
last modified time | relevance | path

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

/system/connectivity/wifilogd/tests/
Dprotocol_unittest.cpp42 EXPECT_EQ(tagLen, ascii_message_header.tag_len); in TEST()
53 EXPECT_EQ(tagLen, ascii_message_header.tag_len); in TEST()
64 EXPECT_EQ(2U, offsetof(AsciiMessage, tag_len)); in TEST()
65 EXPECT_EQ(1U, sizeof(AsciiMessage::tag_len)); in TEST()
Dcommand_processor_unittest.cpp95 GetMaxVal<decltype(protocol::AsciiMessage::tag_len)>())) in BuildAsciiMessageCommandWithAdjustments()
100 EXPECT_EQ(adjusted_tag_len, ascii_message_header.tag_len); in BuildAsciiMessageCommandWithAdjustments()
/system/connectivity/wifilogd/
Dprotocol.h82 tag_len = new_tag_len; in set_tag_len()
92 uint8_t tag_len; member
Dcommand_processor.cpp265 GetStringFromMemoryReader(&buffer_reader, ascii_message_header.tag_len); in FormatAsciiMessage()
/system/keymaster/include/keymaster/key_blob_utils/
Dae.h75 int ae_init(ae_ctx* ctx, const void* key, int key_len, int nonce_len, int tag_len);
/system/keymaster/key_blob_utils/
Docb.c634 unsigned tag_len; member
705 int ae_init(ae_ctx* ctx, const void* key, int key_len, int nonce_len, int tag_len) { in ae_init() argument
740 ctx->tag_len = tag_len; in ae_init()
742 (void)tag_len; /* Suppress var not used error */ in ae_init()
770 tmp.u32[0] = 0x01000000 + ((ctx->tag_len * 8 % 128) << 1); in gen_offset_from_nonce()
772 tmp.u32[0] = 0x00000001 + ((ctx->tag_len * 8 % 128) << 25); in gen_offset_from_nonce()
1092 memcpy((char*)tag, &offset, ctx->tag_len); in ae_encrypt()
1099 memcpy((char*)ct + pt_len, &offset, ctx->tag_len); in ae_encrypt()
1100 pt_len += ctx->tag_len; in ae_encrypt()
1148 ct_len -= ctx->tag_len; in ae_decrypt()
[all …]
/system/core/liblog/
Dpmsg_reader.cpp502 size_t sequence, tag_len; in __android_log_pmsg_file_read() local
510 tag_len = strlen(names->name) + sizeof(char); /* tag + nul */ in __android_log_pmsg_file_read()
515 add_len = content->entry.len - tag_len - sizeof(prio); in __android_log_pmsg_file_read()
558 memcpy(buf + len, (char*)&content->entry + content->entry.hdr_size + tag_len + sizeof(prio), in __android_log_pmsg_file_read()
/system/core/logd/
DLogBuffer.cpp215 size_t tag_len = 0; in log() local
219 tag_len = strlen(tag); in log()
224 tag_len = strnlen(tag, len - 1); in log()
226 if (!__android_log_is_loggable_len(prio, tag, tag_len, in log()