Lines Matching refs:sctp_auth_bytes
61 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()
247 static struct sctp_auth_bytes *sctp_auth_make_peer_vector( in sctp_auth_make_peer_vector()
267 static struct sctp_auth_bytes *sctp_auth_asoc_set_secret( in sctp_auth_asoc_set_secret()
269 struct sctp_auth_bytes *first_vector, in sctp_auth_asoc_set_secret()
270 struct sctp_auth_bytes *last_vector, in sctp_auth_asoc_set_secret()
273 struct sctp_auth_bytes *secret; in sctp_auth_asoc_set_secret()
301 static struct sctp_auth_bytes *sctp_auth_asoc_create_secret( in sctp_auth_asoc_create_secret()
306 struct sctp_auth_bytes *local_key_vector; in sctp_auth_asoc_create_secret()
307 struct sctp_auth_bytes *peer_key_vector; in sctp_auth_asoc_create_secret()
308 struct sctp_auth_bytes *first_vector, in sctp_auth_asoc_create_secret()
310 struct sctp_auth_bytes *secret = NULL; in sctp_auth_asoc_create_secret()
400 struct sctp_auth_bytes *secret; in sctp_auth_asoc_init_active_key()
731 struct sctp_auth_bytes *asoc_key; in sctp_auth_calculate_hmac()
849 struct sctp_auth_bytes *key; in sctp_auth_set_key()