Lines Matching refs:context
35 const char *label, const u8 *context,
63 os_memcpy(buf + lab_len + 2, context, ctx_len);
94 u8 context[2 * ETH_ALEN];
96 joint_two_mac(mac1, mac2, context);
98 context, sizeof(context) * 8, 8 * cak_bytes, cak);
113 u8 *context;
116 context = os_zalloc(ctx_len);
117 if (!context) {
121 os_memcpy(context, sid, sid_bytes);
122 joint_two_mac(mac1, mac2, context + sid_bytes);
125 context, ctx_len * 8, 128, ckn);
126 os_free(context);
140 u8 context[16];
143 os_memset(context, 0, sizeof(context));
144 os_memcpy(context, ckn, (ckn_bytes < 16) ? ckn_bytes : 16);
147 context, sizeof(context) * 8,
161 u8 context[16];
164 os_memset(context, 0, sizeof(context));
165 os_memcpy(context, ckn, (ckn_bytes < 16) ? ckn_bytes : 16);
168 context, sizeof(context) * 8,