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()
151 static int sctp_auth_compare_vectors(struct sctp_auth_bytes *vector1, in sctp_auth_compare_vectors()
152 struct sctp_auth_bytes *vector2) in sctp_auth_compare_vectors()
187 static struct sctp_auth_bytes *sctp_auth_make_key_vector( in sctp_auth_make_key_vector()
193 struct sctp_auth_bytes *new; in sctp_auth_make_key_vector()
224 static struct sctp_auth_bytes *sctp_auth_make_local_vector( in sctp_auth_make_local_vector()
236 static struct sctp_auth_bytes *sctp_auth_make_peer_vector( in sctp_auth_make_peer_vector()
256 static struct sctp_auth_bytes *sctp_auth_asoc_set_secret( in sctp_auth_asoc_set_secret()
258 struct sctp_auth_bytes *first_vector, in sctp_auth_asoc_set_secret()
259 struct sctp_auth_bytes *last_vector, in sctp_auth_asoc_set_secret()
262 struct sctp_auth_bytes *secret; in sctp_auth_asoc_set_secret()
290 static struct sctp_auth_bytes *sctp_auth_asoc_create_secret( in sctp_auth_asoc_create_secret()
295 struct sctp_auth_bytes *local_key_vector; in sctp_auth_asoc_create_secret()
296 struct sctp_auth_bytes *peer_key_vector; in sctp_auth_asoc_create_secret()
297 struct sctp_auth_bytes *first_vector, in sctp_auth_asoc_create_secret()
299 struct sctp_auth_bytes *secret = NULL; in sctp_auth_asoc_create_secret()
389 struct sctp_auth_bytes *secret; in sctp_auth_asoc_init_active_key()
714 struct sctp_auth_bytes *asoc_key; in sctp_auth_calculate_hmac()
828 struct sctp_auth_bytes *key; in sctp_auth_set_key()