Searched refs:toksize (Results 1 - 3 of 3) sorted by relevance
/linux-4.1.27/net/sunrpc/auth_gss/ |
H A D | gss_generic_token.c | 181 unsigned char **buf_in, int toksize) g_verify_token_header() 188 if ((toksize-=1) < 0) g_verify_token_header() 193 if ((seqsize = der_read_length(&buf, &toksize)) < 0) g_verify_token_header() 196 if (seqsize != toksize) g_verify_token_header() 199 if ((toksize-=1) < 0) g_verify_token_header() 204 if ((toksize-=1) < 0) g_verify_token_header() 208 if ((toksize-=toid.len) < 0) g_verify_token_header() 219 if ((toksize-=2) < 0) g_verify_token_header() 227 *body_size = toksize; g_verify_token_header() 180 g_verify_token_header(struct xdr_netobj *mech, int *body_size, unsigned char **buf_in, int toksize) g_verify_token_header() argument
|
/linux-4.1.27/net/rxrpc/ |
H A D | ar-key.c | 1053 u32 cnlen, toksize, ntoks, tok, zero; rxrpc_read() local 1074 toksize = 4; /* sec index */ rxrpc_read() 1078 toksize += 8 * 4; /* viceid, kvno, key*2, begin, rxrpc_read() 1080 toksize += RND(token->kad->ticket_len); rxrpc_read() 1085 toksize += 4 + princ->n_name_parts * 4; rxrpc_read() 1087 toksize += RND(strlen(princ->name_parts[loop])); rxrpc_read() 1088 toksize += 4 + RND(strlen(princ->realm)); rxrpc_read() 1091 toksize += 4 + princ->n_name_parts * 4; rxrpc_read() 1093 toksize += RND(strlen(princ->name_parts[loop])); rxrpc_read() 1094 toksize += 4 + RND(strlen(princ->realm)); rxrpc_read() 1096 toksize += 8 + RND(token->k5->session.data_len); rxrpc_read() 1098 toksize += 4 * 8 + 2 * 4; rxrpc_read() 1100 toksize += 4 + token->k5->n_addresses * 8; rxrpc_read() 1102 toksize += RND(token->k5->addresses[loop].data_len); rxrpc_read() 1104 toksize += 4 + RND(token->k5->ticket_len); rxrpc_read() 1105 toksize += 4 + RND(token->k5->ticket2_len); rxrpc_read() 1107 toksize += 4 + token->k5->n_authdata * 8; rxrpc_read() 1109 toksize += RND(token->k5->authdata[loop].data_len); rxrpc_read() 1117 _debug("token[%u]: toksize=%u", ntoks, toksize); rxrpc_read() 1118 ASSERTCMP(toksize, <=, AFSTOKEN_LENGTH_MAX); rxrpc_read() 1120 toksizes[ntoks++] = toksize; rxrpc_read() 1121 size += toksize + 4; /* each token has a length word */ rxrpc_read() 1167 toksize = toksizes[tok++]; rxrpc_read() 1168 ENCODE(toksize); rxrpc_read() 1231 toksize); rxrpc_read()
|
/linux-4.1.27/include/linux/sunrpc/ |
H A D | gss_asn1.h | 72 int toksize);
|
Completed in 158 milliseconds