Lines Matching refs:secret
362 int radius_msg_finish(struct radius_msg *msg, const u8 *secret, in radius_msg_finish() argument
365 if (secret) { in radius_msg_finish()
379 hmac_md5(secret, secret_len, wpabuf_head(msg->buf), in radius_msg_finish()
393 int radius_msg_finish_srv(struct radius_msg *msg, const u8 *secret, in radius_msg_finish_srv() argument
411 hmac_md5(secret, secret_len, wpabuf_head(msg->buf), in radius_msg_finish_srv()
421 addr[3] = secret; in radius_msg_finish_srv()
434 int radius_msg_finish_das_resp(struct radius_msg *msg, const u8 *secret, in radius_msg_finish_das_resp() argument
453 hmac_md5(secret, secret_len, wpabuf_head(msg->buf), in radius_msg_finish_das_resp()
459 addr[1] = secret; in radius_msg_finish_das_resp()
473 void radius_msg_finish_acct(struct radius_msg *msg, const u8 *secret, in radius_msg_finish_acct() argument
483 addr[1] = secret; in radius_msg_finish_acct()
494 void radius_msg_finish_acct_resp(struct radius_msg *msg, const u8 *secret, in radius_msg_finish_acct_resp() argument
504 addr[1] = secret; in radius_msg_finish_acct_resp()
515 int radius_msg_verify_acct_req(struct radius_msg *msg, const u8 *secret, in radius_msg_verify_acct_req() argument
530 addr[3] = secret; in radius_msg_verify_acct_req()
537 int radius_msg_verify_das_req(struct radius_msg *msg, const u8 *secret, in radius_msg_verify_das_req() argument
557 addr[3] = secret; in radius_msg_verify_das_req()
587 hmac_md5(secret, secret_len, wpabuf_head(msg->buf), in radius_msg_verify_das_req()
786 int radius_msg_verify_msg_auth(struct radius_msg *msg, const u8 *secret, in radius_msg_verify_msg_auth() argument
818 hmac_md5(secret, secret_len, wpabuf_head(msg->buf), in radius_msg_verify_msg_auth()
835 int radius_msg_verify(struct radius_msg *msg, const u8 *secret, in radius_msg_verify() argument
848 radius_msg_verify_msg_auth(msg, secret, secret_len, in radius_msg_verify()
860 addr[3] = secret; in radius_msg_verify()
984 const u8 *secret, size_t secret_len, size_t *reslen) in decrypt_ms_key() argument
1020 addr[0] = secret; in decrypt_ms_key()
1060 const u8 *secret, size_t secret_len, in encrypt_ms_key() argument
1084 addr[0] = secret; in encrypt_ms_key()
1108 const u8 *secret, size_t secret_len) in radius_msg_get_ms_keys() argument
1127 secret, secret_len, in radius_msg_get_ms_keys()
1142 secret, secret_len, in radius_msg_get_ms_keys()
1157 const u8 *secret, size_t secret_len) in radius_msg_get_cisco_keys() argument
1176 secret, secret_len, in radius_msg_get_cisco_keys()
1187 const u8 *secret, size_t secret_len, in radius_msg_add_mppe_keys() argument
1216 encrypt_ms_key(send_key, send_key_len, salt, req_authenticator, secret, in radius_msg_add_mppe_keys()
1241 encrypt_ms_key(recv_key, recv_key_len, salt, req_authenticator, secret, in radius_msg_add_mppe_keys()
1285 const u8 *secret, size_t secret_len, in radius_user_password_hide() argument
1307 addr[0] = secret; in radius_user_password_hide()
1318 addr[0] = secret; in radius_user_password_hide()
1339 const u8 *secret, size_t secret_len) in radius_msg_add_attr_user_password() argument
1345 secret, secret_len, buf, sizeof(buf)); in radius_msg_add_attr_user_password()
1506 const u8 *secret, size_t secret_len, in radius_msg_get_tunnel_password() argument
1563 addr[0] = secret; in radius_msg_get_tunnel_password()
1578 addr[0] = secret; in radius_msg_get_tunnel_password()