summaryrefslogtreecommitdiffstats
path: root/contrib/wpa/src/crypto/ms_funcs.h
diff options
context:
space:
mode:
authorgordon <gordon@FreeBSD.org>2019-05-14 22:59:32 +0000
committergordon <gordon@FreeBSD.org>2019-05-14 22:59:32 +0000
commitc51de0e18513f3dc43d8d73d3f29ad2a77cbe4e7 (patch)
tree923c6369d7262cfd0117e47703700077f8c0f5fb /contrib/wpa/src/crypto/ms_funcs.h
parented1ea5a2f782b0ebdb7476975c216cb4d1c97755 (diff)
downloadFreeBSD-src-c51de0e18513f3dc43d8d73d3f29ad2a77cbe4e7.zip
FreeBSD-src-c51de0e18513f3dc43d8d73d3f29ad2a77cbe4e7.tar.gz
Update hostapd/wpa_supplicant to 2.8 to fix multiple vulnerabilities.
Approved by: so Security: FreeBSD-SA-19:03.wpa Security: CVE-2019-9494 Security: CVE-2019-9495 Security: CVE-2019-9496 Security: CVE-2019-9497 Security: CVE-2019-9498 Security: CVE-2019-9499 Security: CVE-2019-11555
Diffstat (limited to 'contrib/wpa/src/crypto/ms_funcs.h')
-rw-r--r--contrib/wpa/src/crypto/ms_funcs.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/wpa/src/crypto/ms_funcs.h b/contrib/wpa/src/crypto/ms_funcs.h
index b5b5918..b8d55f0 100644
--- a/contrib/wpa/src/crypto/ms_funcs.h
+++ b/contrib/wpa/src/crypto/ms_funcs.h
@@ -31,8 +31,8 @@ int generate_authenticator_response_pwhash(
int nt_challenge_response(const u8 *challenge, const u8 *password,
size_t password_len, u8 *response);
-void challenge_response(const u8 *challenge, const u8 *password_hash,
- u8 *response);
+int challenge_response(const u8 *challenge, const u8 *password_hash,
+ u8 *response);
int challenge_hash(const u8 *peer_challenge, const u8 *auth_challenge,
const u8 *username, size_t username_len, u8 *challenge);
int nt_password_hash(const u8 *password, size_t password_len,
@@ -50,8 +50,8 @@ int __must_check new_password_encrypted_with_old_nt_password_hash(
const u8 *new_password, size_t new_password_len,
const u8 *old_password, size_t old_password_len,
u8 *encrypted_pw_block);
-void nt_password_hash_encrypted_with_block(const u8 *password_hash,
- const u8 *block, u8 *cypher);
+int nt_password_hash_encrypted_with_block(const u8 *password_hash,
+ const u8 *block, u8 *cypher);
int old_nt_password_hash_encrypted_with_new_nt_password_hash(
const u8 *new_password, size_t new_password_len,
const u8 *old_password, size_t old_password_len,
OpenPOWER on IntegriCloud