sctp_auth_bytes
struct sctp_auth_bytes *key;
static inline void sctp_auth_key_hold(struct sctp_auth_bytes *key)
void sctp_auth_key_put(struct sctp_auth_bytes *key);
struct sctp_auth_bytes *asoc_shared_key;
static int sctp_auth_compare_vectors(struct sctp_auth_bytes *vector1,
struct sctp_auth_bytes *vector2)
static struct sctp_auth_bytes *sctp_auth_make_key_vector(
struct sctp_auth_bytes *new;
static struct sctp_auth_bytes *sctp_auth_make_local_vector(
static struct sctp_auth_bytes *sctp_auth_make_peer_vector(
static struct sctp_auth_bytes *sctp_auth_asoc_set_secret(
struct sctp_auth_bytes *first_vector,
struct sctp_auth_bytes *last_vector,
struct sctp_auth_bytes *secret;
static struct sctp_auth_bytes *sctp_auth_asoc_create_secret(
struct sctp_auth_bytes *local_key_vector;
struct sctp_auth_bytes *peer_key_vector;
struct sctp_auth_bytes *first_vector,
struct sctp_auth_bytes *secret = NULL;
struct sctp_auth_bytes *secret;
void sctp_auth_key_put(struct sctp_auth_bytes *key)
static struct sctp_auth_bytes *sctp_auth_create_key(__u32 key_len, gfp_t gfp)
struct sctp_auth_bytes *key;
struct sctp_auth_bytes *asoc_key;
if (key_len > (INT_MAX - sizeof(struct sctp_auth_bytes)))
key = kmalloc(sizeof(struct sctp_auth_bytes) + key_len, gfp);
struct sctp_auth_bytes *key;