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

/system/keymaster/
H A Dae.h75 int ae_init(ae_ctx* ctx, const void* key, int key_len, int nonce_len, int tag_len);
85 * tag_len - Length of tags to be produced for this key, in bytes
138 * tag - Pointer to tag_len (defined in ae_init) bytes; or NULL
H A Docb.c634 unsigned tag_len; member in struct:_ae_ctx
703 int ae_init(ae_ctx* ctx, const void* key, int key_len, int nonce_len, int tag_len) { argument
738 ctx->tag_len = tag_len;
740 (void)tag_len; /* Suppress var not used error */
768 tmp.u32[0] = 0x01000000 + ((ctx->tag_len * 8 % 128) << 1);
770 tmp.u32[0] = 0x00000001 + ((ctx->tag_len * 8 % 128) << 25);
1090 memcpy((char*)tag, &offset, ctx->tag_len);
1097 memcpy((char*)ct + pt_len, &offset, ctx->tag_len);
1098 pt_len += ctx->tag_len;
[all...]
/system/connectivity/wifilogd/
H A Dprotocol.h82 tag_len = new_tag_len;
92 uint8_t tag_len; member in struct:android::wifilogd::protocol::AsciiMessage
95 // uint8_t tag[tag_len];
H A Dcommand_processor.cpp266 GetStringFromMemoryReader(&buffer_reader, ascii_message_header.tag_len);
/system/connectivity/wifilogd/tests/
H A Dprotocol_unittest.cpp43 EXPECT_EQ(2U, offsetof(AsciiMessage, tag_len));
44 EXPECT_EQ(1U, sizeof(AsciiMessage::tag_len));
H A Dcommand_processor_unittest.cpp95 GetMaxVal<decltype(protocol::AsciiMessage::tag_len)>()))
100 EXPECT_EQ(adjusted_tag_len, ascii_message_header.tag_len);
/system/core/liblog/
H A Dpmsg_reader.c510 size_t sequence, tag_len; local
518 tag_len = strlen(names->name) + sizeof(char); /* tag + nul */
523 add_len = content->entry.len - tag_len - sizeof(prio);
567 (char*)&content->entry + content->entry.hdr_size + tag_len +

Completed in 378 milliseconds