Symbol: hmac_ctx
crypto/drbg.c
147
struct hmac_sha512_ctx hmac_ctx;
crypto/drbg.c
152
hmac_sha512_init(&hmac_ctx, &drbg->key);
crypto/drbg.c
153
hmac_sha512_update(&hmac_ctx, drbg->V, DRBG_STATE_LEN);
crypto/drbg.c
154
hmac_sha512_update(&hmac_ctx, &i, 1);
crypto/drbg.c
155
hmac_sha512_update(&hmac_ctx, data1, data1_len);
crypto/drbg.c
156
hmac_sha512_update(&hmac_ctx, data2, data2_len);
crypto/drbg.c
157
hmac_sha512_final(&hmac_ctx, new_key);
crypto/hmac.c
108
const struct hmac_ctx *tctx = crypto_shash_ctx(pdesc->tfm);
crypto/hmac.c
117
const struct hmac_ctx *tctx = crypto_shash_ctx(pdesc->tfm);
crypto/hmac.c
137
const struct hmac_ctx *tctx = crypto_shash_ctx(parent);
crypto/hmac.c
151
struct hmac_ctx *tctx = crypto_shash_ctx(parent);
crypto/hmac.c
163
struct hmac_ctx *tctx = crypto_shash_ctx(parent);
crypto/hmac.c
210
inst->alg.base.cra_ctxsize = sizeof(struct hmac_ctx) + (ss * 2);
crypto/hmac.c
41
struct hmac_ctx *tctx = crypto_shash_ctx(parent);
crypto/hmac.c
92
const struct hmac_ctx *tctx = crypto_shash_ctx(pdesc->tfm);
drivers/crypto/chelsio/chcr_algo.c
108
static inline struct hmac_ctx *HMAC_CTX(struct chcr_context *ctx)
drivers/crypto/chelsio/chcr_algo.c
1532
struct hmac_ctx *hmacctx = HMAC_CTX(ctx);
drivers/crypto/chelsio/chcr_algo.c
2170
struct hmac_ctx *hmacctx = HMAC_CTX(h_ctx(tfm));
drivers/crypto/chelsio/chcr_algo.c
2251
struct hmac_ctx *hmacctx = HMAC_CTX(h_ctx(rtfm));
drivers/crypto/chelsio/chcr_algo.c
4292
#define SZ_AHASH_H_CTX (sizeof(struct chcr_context) + sizeof(struct hmac_ctx))
drivers/crypto/chelsio/chcr_crypto.h
250
struct hmac_ctx hmacctx;
fs/smb/client/cifsencrypt.c
243
struct hmac_md5_ctx hmac_ctx;
fs/smb/client/cifsencrypt.c
251
hmac_md5_init_usingrawkey(&hmac_ctx, nt_hash, CIFS_NTHASH_SIZE);
fs/smb/client/cifsencrypt.c
266
hmac_md5_update(&hmac_ctx, (const u8 *)user, 2 * len);
fs/smb/client/cifsencrypt.c
279
hmac_md5_update(&hmac_ctx, (const u8 *)domain, 2 * len);
fs/smb/client/cifsencrypt.c
290
hmac_md5_update(&hmac_ctx, (const u8 *)server, 2 * len);
fs/smb/client/cifsencrypt.c
294
hmac_md5_final(&hmac_ctx, ntlmv2_hash);
fs/smb/client/smb2transport.c
215
struct hmac_sha256_ctx hmac_ctx;
fs/smb/client/smb2transport.c
230
hmac_sha256_init_usingrawkey(&hmac_ctx, key, sizeof(key));
fs/smb/client/smb2transport.c
241
hmac_sha256_update(&hmac_ctx, iov[0].iov_base, iov[0].iov_len);
fs/smb/client/smb2transport.c
248
&(struct cifs_calc_sig_ctx){ .hmac = &hmac_ctx });
fs/smb/client/smb2transport.c
265
struct hmac_sha256_ctx hmac_ctx;
fs/smb/client/smb2transport.c
270
hmac_sha256_init_usingrawkey(&hmac_ctx, ses->auth_key.response,
fs/smb/client/smb2transport.c
272
hmac_sha256_update(&hmac_ctx, i, 4);
fs/smb/client/smb2transport.c
273
hmac_sha256_update(&hmac_ctx, label.iov_base, label.iov_len);
fs/smb/client/smb2transport.c
274
hmac_sha256_update(&hmac_ctx, &zero, 1);
fs/smb/client/smb2transport.c
275
hmac_sha256_update(&hmac_ctx, context.iov_base, context.iov_len);
fs/smb/client/smb2transport.c
279
hmac_sha256_update(&hmac_ctx, L256, 4);
fs/smb/client/smb2transport.c
281
hmac_sha256_update(&hmac_ctx, L128, 4);
fs/smb/client/smb2transport.c
283
hmac_sha256_final(&hmac_ctx, prfhash);
security/keys/trusted-keys/trusted_tpm1.c
105
struct hmac_sha1_ctx hmac_ctx;
security/keys/trusted-keys/trusted_tpm1.c
111
hmac_sha1_init_usingrawkey(&hmac_ctx, key, keylen);
security/keys/trusted-keys/trusted_tpm1.c
123
hmac_sha1_update(&hmac_ctx, data, dlen);
security/keys/trusted-keys/trusted_tpm1.c
127
hmac_sha1_final(&hmac_ctx, digest);