Home
last modified time | relevance | path

Searched refs:authinfo (Results 1 – 7 of 7) sorted by relevance

/f-stack/freebsd/netinet/
H A Dsctp_auth.c797 if (authinfo == NULL) in sctp_free_authinfo()
800 if (authinfo->random != NULL) in sctp_free_authinfo()
801 sctp_free_key(authinfo->random); in sctp_free_authinfo()
802 if (authinfo->peer_random != NULL) in sctp_free_authinfo()
804 if (authinfo->assoc_key != NULL) in sctp_free_authinfo()
805 sctp_free_key(authinfo->assoc_key); in sctp_free_authinfo()
806 if (authinfo->recv_key != NULL) in sctp_free_authinfo()
807 sctp_free_key(authinfo->recv_key); in sctp_free_authinfo()
1156 stcb->asoc.authinfo.recv_key = NULL; in sctp_clear_cachedkeys()
1530 stcb->asoc.authinfo.assoc_key = in sctp_fill_hmac_digest_m()
[all …]
H A Dsctp_auth.h170 extern void sctp_free_authinfo(sctp_authinfo_t *authinfo);
H A Dsctp_output.c3462 struct sctp_authinfo authinfo; in sctp_find_cmsg() local
3545 sndrcvinfo->sinfo_keynumber = authinfo.auth_keynumber; in sctp_find_cmsg()
4763 if (stcb->asoc.authinfo.random != NULL) { in sctp_send_initiate()
4774 memcpy(randp, stcb->asoc.authinfo.random->key, parameter_len); in sctp_send_initiate()
6386 sp->auth_keyid = stcb->asoc.authinfo.active_keyid; in sctp_msg_append()
7818 auth_keyid = stcb->asoc.authinfo.active_keyid; in sctp_med_chunk_output()
8170 stcb->asoc.authinfo.active_keyid, in sctp_med_chunk_output()
8448 stcb->asoc.authinfo.active_keyid, in sctp_med_chunk_output()
9424 auth_keyid = stcb->asoc.authinfo.active_keyid; in sctp_chunk_retransmission()
9487 auth_offset, auth, stcb->asoc.authinfo.active_keyid, in sctp_chunk_retransmission()
[all …]
H A Dsctp_structs.h1083 sctp_authinfo_t authinfo; /* randoms, cached keys */ member
H A Dsctp_pcb.c5141 sctp_free_authinfo(&asoc->authinfo); in sctp_free_assoc()
6649 if (stcb->asoc.authinfo.peer_random != NULL) in sctp_load_addresses_from_init()
6650 sctp_free_key(stcb->asoc.authinfo.peer_random); in sctp_load_addresses_from_init()
6651 stcb->asoc.authinfo.peer_random = new_key; in sctp_load_addresses_from_init()
6652 sctp_clear_cachedkeys(stcb, stcb->asoc.authinfo.assoc_keyid); in sctp_load_addresses_from_init()
6653 sctp_clear_cachedkeys(stcb, stcb->asoc.authinfo.recv_keyid); in sctp_load_addresses_from_init()
H A Dsctputil.c1344 asoc->authinfo.random = NULL; in sctp_init_asoc()
1345 asoc->authinfo.active_keyid = 0; in sctp_init_asoc()
1346 asoc->authinfo.assoc_key = NULL; in sctp_init_asoc()
1347 asoc->authinfo.assoc_keyid = 0; in sctp_init_asoc()
1348 asoc->authinfo.recv_key = NULL; in sctp_init_asoc()
1349 asoc->authinfo.recv_keyid = 0; in sctp_init_asoc()
H A Dsctp_usrreq.c2893 scact->scact_keynumber = stcb->asoc.authinfo.active_keyid;