Home
last modified time | relevance | path

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

/net/sctp/
Dauth.c260 __u32 auth_len; in sctp_auth_asoc_set_secret() local
262 auth_len = first_vector->len + last_vector->len; in sctp_auth_asoc_set_secret()
264 auth_len += ep_key->key->len; in sctp_auth_asoc_set_secret()
266 secret = sctp_auth_create_key(auth_len, gfp); in sctp_auth_asoc_set_secret()
Doutput.c415 int auth_len = 0; in sctp_packet_pack() local
434 auth_len = padded; in sctp_packet_pack()
435 else if (auth_len + padded + packet->overhead > in sctp_packet_pack()
/net/key/
Daf_key.c1619 int len, auth_len, enc_len, i; in compose_sadb_supported() local
1621 auth_len = xfrm_count_pfkey_auth_supported(); in compose_sadb_supported()
1622 if (auth_len) { in compose_sadb_supported()
1623 auth_len *= sizeof(struct sadb_alg); in compose_sadb_supported()
1624 auth_len += sizeof(struct sadb_supported); in compose_sadb_supported()
1633 len = enc_len + auth_len + sizeof(struct sadb_msg); in compose_sadb_supported()
1644 if (auth_len) { in compose_sadb_supported()
1648 sp = skb_put(skb, auth_len); in compose_sadb_supported()
1651 sp->sadb_supported_len = auth_len / sizeof(uint64_t); in compose_sadb_supported()