Lines Matching defs:salt
957 /* key: 16-bit salt followed by encrypted key info */
1017 static void encrypt_ms_key(const u8 *key, size_t key_len, u16 salt,
1027 WPA_PUT_BE16(saltbuf, salt);
1149 u16 salt;
1164 salt = os_random() | 0x8000;
1165 WPA_PUT_BE16(pos, salt);
1167 encrypt_ms_key(send_key, send_key_len, salt, req_authenticator, secret,
1189 salt ^= 1;
1190 WPA_PUT_BE16(pos, salt);
1192 encrypt_ms_key(recv_key, recv_key_len, salt, req_authenticator, secret,
1418 const u8 *salt;
1464 salt = buf + 1;
1489 addr[2] = salt;