Lines Matching refs:addr
34 const unsigned char *addr[5];
37 addr[0] = identity;
39 addr[1] = kc;
41 addr[2] = nonce_mt;
43 addr[3] = ver_list;
45 addr[4] = sel_ver;
51 sha1_vector(5, addr, len, mk);
59 const u8 *addr[3];
62 addr[0] = identity;
64 addr[1] = ik;
66 addr[2] = ck;
70 sha1_vector(3, addr, len, mk);
115 const u8 *addr[4];
123 addr[0] = identity;
125 addr[1] = counter;
127 addr[2] = nonce_s;
129 addr[3] = mk;
143 sha1_vector(4, addr, len, xkey);
169 const u8 *addr[2];
182 addr[0] = tmp;
184 addr[1] = extra;
195 hmac_sha1_vector(k_aut, EAP_SIM_K_AUT_LEN, 2, addr, len, hmac);
208 const u8 *addr[2];
211 addr[0] = msg;
213 addr[1] = extra;
223 hmac_sha1_vector(k_aut, EAP_SIM_K_AUT_LEN, 2, addr, len, hmac);
236 const u8 *addr[5];
250 addr[0] = hash;
252 addr[1] = (const u8 *) seed1;
254 addr[2] = seed2;
256 addr[3] = seed3;
258 addr[4] = &iter;
265 hmac_sha256_vector(k, 32, 5, addr, len, hash);
363 const u8 *addr[2];
376 addr[0] = tmp;
378 addr[1] = extra;
389 hmac_sha256_vector(k_aut, EAP_AKA_PRIME_K_AUT_LEN, 2, addr, len, hmac);
402 const u8 *addr[2];
405 addr[0] = msg;
407 addr[1] = extra;
417 hmac_sha256_vector(k_aut, EAP_AKA_PRIME_K_AUT_LEN, 2, addr, len, hmac);
430 const u8 *addr[5];
470 addr[0] = &fc;
472 addr[1] = network_name;
475 addr[2] = l0;
477 addr[3] = sqn_ak;
480 addr[4] = l1;
483 hmac_sha256_vector(key, sizeof(key), 5, addr, len, hash);