Lines Matching defs:salt
993 /* key: 16-bit salt followed by encrypted key info */
1059 static void encrypt_ms_key(const u8 *key, size_t key_len, u16 salt,
1069 WPA_PUT_BE16(saltbuf, salt);
1199 u16 salt;
1214 if (os_get_random((u8 *) &salt, sizeof(salt)) < 0) {
1218 salt |= 0x8000;
1219 WPA_PUT_BE16(pos, salt);
1221 encrypt_ms_key(send_key, send_key_len, salt, req_authenticator, secret,
1243 salt ^= 1;
1244 WPA_PUT_BE16(pos, salt);
1246 encrypt_ms_key(recv_key, recv_key_len, salt, req_authenticator, secret,
1561 const u8 *salt;
1606 salt = buf + 1;
1631 addr[2] = salt;