Searched refs:tag_len (Results 1 - 3 of 3) 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.c633 unsigned tag_len; member in struct:_ae_ctx
702 int ae_init(ae_ctx* ctx, const void* key, int key_len, int nonce_len, int tag_len) { argument
737 ctx->tag_len = tag_len;
739 (void)tag_len; /* Suppress var not used error */
767 tmp.u32[0] = 0x01000000 + ((ctx->tag_len * 8 % 128) << 1);
769 tmp.u32[0] = 0x00000001 + ((ctx->tag_len * 8 % 128) << 25);
1089 memcpy((char*)tag, &offset, ctx->tag_len);
1096 memcpy((char*)ct + pt_len, &offset, ctx->tag_len);
1097 pt_len += ctx->tag_len;
[all...]
/system/core/liblog/
H A Dpmsg_reader.c498 size_t sequence, tag_len; local
506 tag_len = strlen(names->name) + sizeof(char); /* tag + nul */
511 add_len = content->entry.len - tag_len - sizeof(prio);
556 tag_len + sizeof(prio),

Completed in 289 milliseconds