• Trond Myklebust's avatar
    RPCSEC_GSS: Client-side only support for rpcsec_gss integrity · 955ac351
    Trond Myklebust authored
    protection. Since this requires checksumming an entire request,
    instead of just the header, and since the request may include,
    for example, pages with write data, we modify the gss_api
    routines to pass xdr_bufs instead of xdr_netobjs where
    necessary.
    
    We add rpcauth_wrap_req and rpcauth_unwrap_resp to rpcauth.c,
    wrappers for the new rpc cred ops crwrap_req and crunwrap_req,
    which are called just before encoding, and just after decoding,
    respectively.
    955ac351
gss_mech_switch.c 7.11 KB