mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-19 10:02:33 +01:00
eapol: Add eapol_sm_set_pmk
This commit is contained in:
parent
ff92e5c5e1
commit
f85c860cc3
@ -456,3 +456,8 @@ void eapol_sm_set_aa_address(struct eapol_sm *sm, const uint8_t *aa_addr)
|
|||||||
{
|
{
|
||||||
memcpy(sm->aa_addr, aa_addr, sizeof(sm->aa_addr));
|
memcpy(sm->aa_addr, aa_addr, sizeof(sm->aa_addr));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void eapol_sm_set_pmk(struct eapol_sm *sm, const uint8_t *pmk)
|
||||||
|
{
|
||||||
|
memcpy(sm->pmk, pmk, sizeof(sm->pmk));
|
||||||
|
}
|
||||||
|
@ -127,3 +127,4 @@ void eapol_sm_free(struct eapol_sm *sm);
|
|||||||
|
|
||||||
void eapol_sm_set_sta_address(struct eapol_sm *sm, const uint8_t *sta_addr);
|
void eapol_sm_set_sta_address(struct eapol_sm *sm, const uint8_t *sta_addr);
|
||||||
void eapol_sm_set_aa_address(struct eapol_sm *sm, const uint8_t *aa_addr);
|
void eapol_sm_set_aa_address(struct eapol_sm *sm, const uint8_t *aa_addr);
|
||||||
|
void eapol_sm_set_pmk(struct eapol_sm *sm, const uint8_t *pmk);
|
||||||
|
Loading…
Reference in New Issue
Block a user