Home
last modified time | relevance | path

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

/net/sunrpc/auth_gss/
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()
227 *body_size = toksize; in g_verify_token_header()
/net/rxrpc/
Dkey.c1050 u32 cnlen, toksize, ntoks, tok, zero; in rxrpc_read() local
1071 toksize = 4; /* sec index */ in rxrpc_read()
1075 toksize += 8 * 4; /* viceid, kvno, key*2, begin, in rxrpc_read()
1077 toksize += RND(token->kad->ticket_len); in rxrpc_read()
1082 toksize += 4 + princ->n_name_parts * 4; in rxrpc_read()
1084 toksize += RND(strlen(princ->name_parts[loop])); in rxrpc_read()
1085 toksize += 4 + RND(strlen(princ->realm)); in rxrpc_read()
1088 toksize += 4 + princ->n_name_parts * 4; in rxrpc_read()
1090 toksize += RND(strlen(princ->name_parts[loop])); in rxrpc_read()
1091 toksize += 4 + RND(strlen(princ->realm)); in rxrpc_read()
[all …]