Home
last modified time | relevance | path

Searched refs:sctp_auth_bytes (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/net/sctp/
Dauth.c61 void sctp_auth_key_put(struct sctp_auth_bytes *key) in sctp_auth_key_put()
73 static struct sctp_auth_bytes *sctp_auth_create_key(__u32 key_len, gfp_t gfp) in sctp_auth_create_key()
75 struct sctp_auth_bytes *key; in sctp_auth_create_key()
78 if (key_len > (INT_MAX - sizeof(struct sctp_auth_bytes))) in sctp_auth_create_key()
82 key = kmalloc(sizeof(struct sctp_auth_bytes) + key_len, gfp); in sctp_auth_create_key()
163 static int sctp_auth_compare_vectors(struct sctp_auth_bytes *vector1, in sctp_auth_compare_vectors()
164 struct sctp_auth_bytes *vector2) in sctp_auth_compare_vectors()
199 static struct sctp_auth_bytes *sctp_auth_make_key_vector( in sctp_auth_make_key_vector()
205 struct sctp_auth_bytes *new; in sctp_auth_make_key_vector()
236 static struct sctp_auth_bytes *sctp_auth_make_local_vector( in sctp_auth_make_local_vector()
[all …]
/Linux-v4.19/include/net/sctp/
Dauth.h56 struct sctp_auth_bytes { struct
65 struct sctp_auth_bytes *key; argument
77 static inline void sctp_auth_key_hold(struct sctp_auth_bytes *key) in sctp_auth_key_hold()
85 void sctp_auth_key_put(struct sctp_auth_bytes *key);
Dstructs.h2046 struct sctp_auth_bytes *asoc_shared_key;