Home
last modified time | relevance | path

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

/system/connectivity/wifilogd/
Dprotocol.h82 tag_len = new_tag_len; in set_tag_len()
92 uint8_t tag_len; member
Dcommand_processor.cpp266 GetStringFromMemoryReader(&buffer_reader, ascii_message_header.tag_len); in FormatAsciiMessage()
/system/connectivity/wifilogd/tests/
Dprotocol_unittest.cpp43 EXPECT_EQ(2U, offsetof(AsciiMessage, tag_len)); in TEST()
44 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/keymaster/
Dae.h75 int ae_init(ae_ctx* ctx, const void* key, int key_len, int nonce_len, int tag_len);
Docb.c634 unsigned tag_len; member
703 int ae_init(ae_ctx* ctx, const void* key, int key_len, int nonce_len, int tag_len) { in ae_init() argument
738 ctx->tag_len = tag_len; in ae_init()
740 (void)tag_len; /* Suppress var not used error */ in ae_init()
768 tmp.u32[0] = 0x01000000 + ((ctx->tag_len * 8 % 128) << 1); in gen_offset_from_nonce()
770 tmp.u32[0] = 0x00000001 + ((ctx->tag_len * 8 % 128) << 25); in gen_offset_from_nonce()
1090 memcpy((char*)tag, &offset, ctx->tag_len); in ae_encrypt()
1097 memcpy((char*)ct + pt_len, &offset, ctx->tag_len); in ae_encrypt()
1098 pt_len += ctx->tag_len; in ae_encrypt()
1146 ct_len -= ctx->tag_len; in ae_decrypt()
[all …]
/system/core/liblog/
Dpmsg_reader.c510 size_t sequence, tag_len; in __android_log_pmsg_file_read() local
518 tag_len = strlen(names->name) + sizeof(char); /* tag + nul */ in __android_log_pmsg_file_read()
523 add_len = content->entry.len - tag_len - sizeof(prio); in __android_log_pmsg_file_read()
567 (char*)&content->entry + content->entry.hdr_size + tag_len + in __android_log_pmsg_file_read()