• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/bsd/nfs/

Lines Matching defs:results

710 	 * Now we may have to check integrity or decrypt the results
719 * Here's what we expect in the integrity results:
721 * - length of seq num + results (4 bytes)
723 * - results (variable bytes)
725 * - checksum of seqnum + results (37 bytes)
727 nfsm_chain_get_32(error, nmc, reslen); // length of results
733 /* Compute a checksum over the sequence number + results */
738 * Get the sequence number prepended to the results
752 * Advance to the end of the results and
757 nfsm_chain_adv(error, &nmc_tmp, reslen); // skip over the results
779 * Here's what we expect in the privacy results:
781 * - length of confounder + seq num + token + results
785 * - results (encrypted)
787 nfsm_chain_get_32(error, nmc, reslen); // length of results
793 /* Get the token that prepends the encrypted results */
802 reslen -= toklen; // size of confounder + seqnum + results
804 /* decrypt the confounder + sequence number + results */
808 /* Compute a checksum over the confounder + sequence number + results */
820 * Get the sequence number prepended to the results
1960 /* Compute a checksum over the sequence number + results */
2051 * The results aren't available yet, but if they need to be
2054 * for the results length, as well as the sequence number.
2056 * when the results are available.
2090 * The results are checksummed or encrypted for return to the client
2098 mbuf_t mb, results;
2109 * and the second which holds just the results that we're going to
2113 nfs_gss_nfsm_chain(nmc_res, mrep); // set up the results chain
2115 results = mbuf_next(mb); // first mbuf in the results
2116 reslen = nfs_gss_mchain_length(results); // length of results
2127 nfs_gss_append_chain(nmc_pre, results); // Append the results mbufs
2129 /* Now compute the checksum over the results data */
2130 nfs_gss_cksum_mchain(cp->gss_svc_sched, results, krb5_mic, 0, reslen, cksum);
2154 /* Now compute the checksum over the results data */
2155 nfs_gss_cksum_mchain(cp->gss_svc_sched, results, krb5_wrap, 0, reslen, cksum);
2164 nfs_gss_append_chain(nmc_pre, results); // Append the results mbufs
2166 /* Encrypt the confounder + seqnum + results */
2167 nfs_gss_encrypt_mchain(cp->gss_svc_skey, results, 0, reslen, DES_ENCRYPT);
2310 sz = 7 * NFSX_UNSIGNED + nfsm_rndup(cp->gss_svc_tokenlen); // size of results
2859 * Append an args or results mbuf chain to the header chain