Lines Matching defs:seqnum

418 	uint32_t seqnum = 0;
516 seqnum = ++cp->gss_clnt_seqnum;
517 win_setbit(cp->gss_clnt_seqbits, seqnum % cp->gss_clnt_seqwin);
523 gsp->gss_seqnum = seqnum;
532 nfsm_chain_add_32(error, nmc, seqnum);
582 len += NFSX_UNSIGNED; // Add seqnum length
585 nfsm_chain_add_32(error, nmc, seqnum); // Insert seqnum
592 /* Now compute a checksum over the seqnum + args */
607 nfsm_chain_add_32(error, &nmc_tmp, seqnum);
614 len += 3 * NFSX_UNSIGNED; // add confounder & seqnum
633 /* Now compute a checksum over the confounder + seqnum + args */
679 uint32_t seqnum = 0;
780 * - checksum of seqnum + results (37 bytes)
796 nfsm_chain_get_32(error, nmc, seqnum);
798 if (seqnum == gsp->gss_seqnum)
811 reslen -= NFSX_UNSIGNED; // already skipped seqnum
856 reslen -= toklen; // size of confounder + seqnum + results
877 nfsm_chain_get_32(error, nmc, seqnum);
879 if (seqnum == gsp->gss_seqnum)
942 * The args are encrypted along with prepended confounders and seqnum.
943 * First we decrypt, the confounder, seqnum and args then skip to the
945 * The arglen includes 8 bytes of confounder and 4 bytes of seqnum.
1540 * Limit the seqnum list to GSS_CLNT_SEQLISTMAX entries
1938 uint32_t vers, proc, seqnum, service;
1949 vers = proc = seqnum = service = handle_len = 0;
1959 nfsm_chain_get_32(error, nmc, seqnum);
1978 if (seqnum > GSS_MAXSEQ) {
2040 if (!nfs_gss_svc_seqnum_valid(cp, seqnum)) {
2080 nd->nd_gss_seqnum = seqnum;
2114 * - checksum of seqnum + call args (37 bytes)
2131 nfsm_chain_get_32(error, nmc, seqnum);
2132 if (seqnum != nd->nd_gss_seqnum) {
2142 arglen -= NFSX_UNSIGNED; // skipped seqnum
2187 /* decrypt the 8 byte confounder + seqnum + args */
2207 nfsm_chain_get_32(error, nmc, seqnum);
2208 if (seqnum != nd->nd_gss_seqnum) {
2410 /* Encrypt the confounder + seqnum + results */
2916 static uint32_t seqnum = 0;
2965 seqnum++;
2967 plain[i] = (u_char) ((seqnum >> (i * 8)) & 0xff);
3057 int seqnum, i;
3089 seqnum = 0;
3094 seqnum |= plain[i] << (i * 8);
3268 nfs_gss_cksum_rep(gss_key_info *ki, uint32_t seqnum, u_char *cksum)
3271 uint32_t val = htonl(seqnum);
3282 * Compute the digest of the seqnum in network order