Home
last modified time | relevance | path

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

/openbmc/linux/net/sunrpc/auth_gss/
H A Dgss_generic_token.c181 unsigned char **buf_in, int toksize) in g_verify_token_header() argument
188 if ((toksize-=1) < 0) in g_verify_token_header()
193 if ((seqsize = der_read_length(&buf, &toksize)) < 0) in g_verify_token_header()
196 if (seqsize != toksize) in g_verify_token_header()
199 if ((toksize-=1) < 0) in g_verify_token_header()
204 if ((toksize-=1) < 0) in g_verify_token_header()
208 if ((toksize-=toid.len) < 0) in g_verify_token_header()
219 if ((toksize-=2) < 0) in g_verify_token_header()
226 *body_size = toksize; in g_verify_token_header()
/openbmc/linux/net/rxrpc/
H A Dkey.c568 u32 cnlen, toksize, ntoks, tok, zero; in rxrpc_read() local
588 toksize = 4; /* sec index */ in rxrpc_read()
592 toksize += 8 * 4; /* viceid, kvno, key*2, begin, in rxrpc_read()
595 toksize += RND(token->kad->ticket_len); in rxrpc_read()
604 _debug("token[%u]: toksize=%u", ntoks, toksize); in rxrpc_read()
605 if (WARN_ON(toksize > AFSTOKEN_LENGTH_MAX)) in rxrpc_read()
608 toksizes[ntoks++] = toksize; in rxrpc_read()
609 size += toksize + 4; /* each token has a length word */ in rxrpc_read()
658 toksize = toksizes[tok++]; in rxrpc_read()
659 ENCODE(toksize); in rxrpc_read()
[all …]
/openbmc/linux/include/linux/sunrpc/
H A Dgss_asn1.h72 int toksize);