Lines Matching refs:sctp_auth_bytes
46 void sctp_auth_key_put(struct sctp_auth_bytes *key)
58 static struct sctp_auth_bytes *sctp_auth_create_key(__u32 key_len, gfp_t gfp)
60 struct sctp_auth_bytes *key;
63 if (key_len > (INT_MAX - sizeof(struct sctp_auth_bytes)))
67 key = kmalloc(sizeof(struct sctp_auth_bytes) + key_len, gfp);
148 static int sctp_auth_compare_vectors(struct sctp_auth_bytes *vector1,
149 struct sctp_auth_bytes *vector2)
184 static struct sctp_auth_bytes *sctp_auth_make_key_vector(
190 struct sctp_auth_bytes *new;
221 static struct sctp_auth_bytes *sctp_auth_make_local_vector(
232 static struct sctp_auth_bytes *sctp_auth_make_peer_vector(
252 static struct sctp_auth_bytes *sctp_auth_asoc_set_secret(
254 struct sctp_auth_bytes *first_vector,
255 struct sctp_auth_bytes *last_vector,
258 struct sctp_auth_bytes *secret;
286 static struct sctp_auth_bytes *sctp_auth_asoc_create_secret(
291 struct sctp_auth_bytes *local_key_vector;
292 struct sctp_auth_bytes *peer_key_vector;
293 struct sctp_auth_bytes *first_vector,
295 struct sctp_auth_bytes *secret = NULL;
385 struct sctp_auth_bytes *secret;
711 struct sctp_auth_bytes *asoc_key;
822 struct sctp_auth_bytes *key;