Searched refs:gk5e (Results 1 - 8 of 8) sorted by relevance

/linux-master/net/sunrpc/auth_gss/
H A Dgss_krb5_internal.h36 int (*derive_key)(const struct gss_krb5_enctype *gk5e,
64 const struct gss_krb5_enctype *gk5e; /* enctype-specific info */ member in struct:krb5_ctx
106 int krb5_derive_key_v2(const struct gss_krb5_enctype *gk5e,
112 int krb5_kdf_hmac_sha2(const struct gss_krb5_enctype *gk5e,
118 int krb5_kdf_feedback_cmac(const struct gss_krb5_enctype *gk5e,
143 const struct gss_krb5_enctype *gk5e = kctx->gk5e; local
153 return gk5e->derive_key(gk5e, inkey, outkey, &label, gfp_mask);
H A Dgss_krb5_unseal.c78 .len = ctx->gk5e->cksumlength,
112 ctx->gk5e->cksumlength))
H A Dgss_krb5_keys.c150 static int krb5_DK(const struct gss_krb5_enctype *gk5e, argument
160 keybytes = gk5e->keybytes;
161 keylength = gk5e->keylength;
166 cipher = crypto_alloc_sync_skcipher(gk5e->encrypt_name, 0, 0);
228 static int krb5_random_to_key_v2(const struct gss_krb5_enctype *gk5e, argument
256 * @gk5e: Kerberos 5 enctype profile
267 int krb5_derive_key_v2(const struct gss_krb5_enctype *gk5e, argument
276 inblock.len = gk5e->keybytes;
281 ret = krb5_DK(gk5e, inkey, inblock.data, label, gfp_mask);
283 ret = krb5_random_to_key_v2(gk5e,
368 krb5_kdf_feedback_cmac(const struct gss_krb5_enctype *gk5e, const struct xdr_netobj *inkey, struct xdr_netobj *outkey, const struct xdr_netobj *constant, gfp_t gfp_mask) argument
500 krb5_kdf_hmac_sha2(const struct gss_krb5_enctype *gk5e, const struct xdr_netobj *inkey, struct xdr_netobj *outkey, const struct xdr_netobj *label, gfp_t gfp_mask) argument
[all...]
H A Dgss_krb5_mech.c286 tfm = crypto_alloc_ahash(kctx->gk5e->cksum_name, 0, CRYPTO_ALG_ASYNC);
300 .len = ctx->gk5e->keylength,
311 keyout.len = ctx->gk5e->Ke_length;
315 ctx->initiator_enc = gss_krb5_alloc_cipher_v2(ctx->gk5e->encrypt_name,
319 if (ctx->gk5e->aux_cipher) {
321 gss_krb5_alloc_cipher_v2(ctx->gk5e->aux_cipher,
331 ctx->acceptor_enc = gss_krb5_alloc_cipher_v2(ctx->gk5e->encrypt_name,
335 if (ctx->gk5e->aux_cipher) {
337 gss_krb5_alloc_cipher_v2(ctx->gk5e->aux_cipher,
344 keyout.len = ctx->gk5e
[all...]
H A Dgss_krb5_crypto.c222 if (cksumout->len < kctx->gk5e->cksumlength) {
224 __func__, cksumout->len, kctx->gk5e->name);
232 tfm = crypto_alloc_ahash(kctx->gk5e->cksum_name, 0, CRYPTO_ALG_ASYNC);
246 kctx->gk5e->keylength);
268 switch (kctx->gk5e->ctype) {
275 checksumdata + checksumlen - kctx->gk5e->cksumlength,
276 kctx->gk5e->cksumlength);
279 memcpy(cksumout->data, checksumdata, kctx->gk5e->cksumlength);
285 cksumout->len = kctx->gk5e->cksumlength;
824 hmac.len = kctx->gk5e
[all...]
H A Dgss_krb5_seal.c100 token->len = GSS_KRB5_TOK_HDR_LEN + ctx->gk5e->cksumlength;
111 .len = ctx->gk5e->cksumlength,
H A Dgss_krb5_test.c46 const struct gss_krb5_enctype *gk5e; local
51 gk5e = gss_krb5_lookup_enctype(param->enctype);
52 if (!gk5e)
61 err = gk5e->derive_key(gk5e, param->base_key, &derivedkey,
79 const struct gss_krb5_enctype *gk5e; local
85 gk5e = gss_krb5_lookup_enctype(param->enctype);
86 if (!gk5e)
89 Kc.len = gk5e->Kc_length;
92 err = gk5e
531 const struct gss_krb5_enctype *gk5e; local
1118 const struct gss_krb5_enctype *gk5e; local
1613 const struct gss_krb5_enctype *gk5e; local
1788 const struct gss_krb5_enctype *gk5e; local
[all...]
H A Dgss_krb5_wrap.c133 err = (*kctx->gk5e->encrypt)(kctx, offset, buf, pages);
187 err = (*kctx->gk5e->decrypt)(kctx, offset, len, buf,

Completed in 119 milliseconds