Lines Matching +full:special +full:- +full:purpose
4 * Adapted from MIT Kerberos 5-1.2.1 lib/gssapi/krb5/k5seal.c
6 * Copyright (c) 2000-2008 The Regents of the University of Michigan.
17 * and its documentation for any purpose is hereby granted without fee,
24 * purpose. It is provided "as is" without express or implied warranty.
28 * EVENT SHALL OPENVISION BE LIABLE FOR ANY SPECIAL, INDIRECT OR
46 * distribute this software and its documentation for any purpose and
53 * this software for any purpose. It is provided "as is" without express
58 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
81 if ((ctx->flags & KRB5_CTX_FLAG_INITIATOR) == 0) in setup_token_v2()
83 if (ctx->flags & KRB5_CTX_FLAG_ACCEPTOR_SUBKEY) in setup_token_v2()
89 krb5_hdr = (u16 *)token->data; in setup_token_v2()
100 token->len = GSS_KRB5_TOK_HDR_LEN + ctx->gk5e->cksumlength; in setup_token_v2()
108 struct crypto_ahash *tfm = ctx->initiate ? in gss_krb5_get_mic_v2()
109 ctx->initiator_sign : ctx->acceptor_sign; in gss_krb5_get_mic_v2()
111 .len = ctx->gk5e->cksumlength, in gss_krb5_get_mic_v2()
121 /* Set up the sequence number. Now 64-bits in clear in gss_krb5_get_mic_v2()
123 seq_send_be64 = cpu_to_be64(atomic64_fetch_inc(&ctx->seq_send64)); in gss_krb5_get_mic_v2()
132 return (ctx->endtime < now) ? GSS_S_CONTEXT_EXPIRED : GSS_S_COMPLETE; in gss_krb5_get_mic_v2()