hmac_ctx
const struct hmac_ctx *tctx = crypto_shash_ctx(pdesc->tfm);
const struct hmac_ctx *tctx = crypto_shash_ctx(pdesc->tfm);
const struct hmac_ctx *tctx = crypto_shash_ctx(parent);
struct hmac_ctx *tctx = crypto_shash_ctx(parent);
struct hmac_ctx *sctx = crypto_shash_ctx(src);
struct hmac_ctx *dctx = crypto_shash_ctx(dst);
struct hmac_ctx *tctx = crypto_shash_ctx(parent);
inst->alg.base.cra_ctxsize = sizeof(struct hmac_ctx) + (ss * 2);
struct hmac_ctx *tctx = crypto_shash_ctx(parent);
const struct hmac_ctx *tctx = crypto_shash_ctx(pdesc->tfm);
static inline struct hmac_ctx *HMAC_CTX(struct chcr_context *ctx)
struct hmac_ctx *hmacctx = HMAC_CTX(ctx);
struct hmac_ctx *hmacctx = HMAC_CTX(h_ctx(tfm));
struct hmac_ctx *hmacctx = HMAC_CTX(h_ctx(rtfm));
#define SZ_AHASH_H_CTX (sizeof(struct chcr_context) + sizeof(struct hmac_ctx))
struct hmac_ctx hmacctx;
struct hmac_md5_ctx hmac_ctx;
hmac_md5_init_usingrawkey(&hmac_ctx, nt_hash, CIFS_NTHASH_SIZE);
hmac_md5_update(&hmac_ctx, (const u8 *)user, 2 * len);
hmac_md5_update(&hmac_ctx, (const u8 *)domain, 2 * len);
hmac_md5_update(&hmac_ctx, (const u8 *)server, 2 * len);
hmac_md5_final(&hmac_ctx, ntlmv2_hash);
struct hmac_sha256_ctx hmac_ctx;
hmac_sha256_init_usingrawkey(&hmac_ctx, key, sizeof(key));
hmac_sha256_update(&hmac_ctx, iov[0].iov_base, iov[0].iov_len);
&(struct cifs_calc_sig_ctx){ .hmac = &hmac_ctx });
struct hmac_sha256_ctx hmac_ctx;
hmac_sha256_init_usingrawkey(&hmac_ctx, ses->auth_key.response,
hmac_sha256_update(&hmac_ctx, i, 4);
hmac_sha256_update(&hmac_ctx, label.iov_base, label.iov_len);
hmac_sha256_update(&hmac_ctx, &zero, 1);
hmac_sha256_update(&hmac_ctx, context.iov_base, context.iov_len);
hmac_sha256_update(&hmac_ctx, L256, 4);
hmac_sha256_update(&hmac_ctx, L128, 4);
hmac_sha256_final(&hmac_ctx, prfhash);
hmac_sha1_init_usingrawkey(&hmac_ctx, key, keylen);
hmac_sha1_update(&hmac_ctx, data, dlen);
hmac_sha1_final(&hmac_ctx, digest);
struct hmac_sha1_ctx hmac_ctx;