| /drivers/crypto/qce/ |
| A D | sha.c | 86 rctx->authkey = ctx->authkey; in qce_ahash_async_req_handle() 89 rctx->authkey = ctx->authkey; in qce_ahash_async_req_handle() 344 memset(ctx->authkey, 0, sizeof(ctx->authkey)); in qce_ahash_hmac_setkey() 347 memcpy(ctx->authkey, key, keylen); in qce_ahash_hmac_setkey() 381 ahash_request_set_crypt(req, &sg, ctx->authkey, keylen); in qce_ahash_hmac_setkey()
|
| A D | sha.h | 20 u8 authkey[QCE_SHA_MAX_BLOCKSIZE]; member 56 u8 *authkey; member
|
| A D | common.c | 181 qce_cpu_to_be32p_array(mackey, rctx->authkey, rctx->authklen); in qce_setup_regs_ahash() 429 u32 authkey[QCE_SHA_HMAC_KEY_SIZE / sizeof(u32)] = {0}; in qce_setup_regs_aead() local 470 authkey_words = qce_be32_to_cpu_array(authkey, ctx->auth_key, auth_keylen); in qce_setup_regs_aead() 471 qce_write_array(qce, REG_AUTH_KEY0, (u32 *)authkey, authkey_words); in qce_setup_regs_aead()
|
| A D | aead.c | 646 memcpy(ctx->auth_key, authenc_keys.authkey, authenc_keys.authkeylen); in qce_aead_setkey()
|
| /drivers/crypto/bcm/ |
| A D | cipher.c | 707 hash_parms.key_buf = (u8 *)ctx->authkey; in handle_ahash_req() 1312 hash_parms.key_buf = (u8 *)ctx->authkey; in handle_aead_req() 1935 NULL, 0, NULL, 0, ctx->authkey, in ahash_enqueue() 2051 ret = crypto_shash_setkey(hash, ctx->authkey, in ahash_init() 2280 memcpy(ctx->authkey, key, keylen); in ahash_setkey() 2386 memcpy(ctx->authkey, key, keylen); in ahash_hmac_setkey() 2396 memcpy(ctx->ipad, ctx->authkey, ctx->authkeylen); in ahash_hmac_setkey() 2749 memset(ctx->authkey, 0, sizeof(ctx->authkey)); in aead_authenc_setkey() 2750 memcpy(ctx->authkey, keys.authkey, keys.authkeylen); in aead_authenc_setkey() 2788 flow_dump(" auth: ", ctx->authkey, ctx->authkeylen); in aead_authenc_setkey() [all …]
|
| A D | cipher.h | 183 u8 authkey[MAX_KEY_SIZE + ARC4_STATE_SIZE]; member
|
| /drivers/crypto/intel/ixp4xx/ |
| A D | ixp4xx_crypto.c | 182 u8 authkey[MAX_KEYLEN]; member 1226 ret = setup_auth(&tfm->base, 0, authsize, ctx->authkey, in aead_setup() 1230 ret = setup_auth(&tfm->base, 1, authsize, ctx->authkey, in aead_setup() 1256 if (keys.authkeylen > sizeof(ctx->authkey)) in aead_setkey() 1262 memcpy(ctx->authkey, keys.authkey, keys.authkeylen); in aead_setkey() 1286 if (keys.authkeylen > sizeof(ctx->authkey)) in des3_aead_setkey() 1293 memcpy(ctx->authkey, keys.authkey, keys.authkeylen); in des3_aead_setkey()
|
| /drivers/crypto/ |
| A D | sa2ul.h | 314 u8 authkey[SHA512_BLOCK_SIZE]; member
|
| A D | sa2ul.c | 1453 memset(ctx->authkey, 0, bs); in sa_sha_setup() 1805 cfg.akey = keys.authkey; in sa_aead_setkey() 1810 keys.enckeylen, keys.authkey, keys.authkeylen, in sa_aead_setkey() 1824 keys.enckeylen, keys.authkey, keys.authkeylen, in sa_aead_setkey()
|
| A D | talitos.c | 905 memcpy(ctx->key, keys.authkey, keys.authkeylen); in aead_setkey() 945 memcpy(ctx->key, keys.authkey, keys.authkeylen); in aead_des3_setkey()
|
| A D | atmel-aes.c | 1919 keys.authkey, keys.authkeylen, in atmel_aes_authenc_setkey()
|
| /drivers/crypto/ccree/ |
| A D | cc_aead.c | 410 static int cc_get_plain_hmac_key(struct crypto_aead *tfm, const u8 *authkey, in cc_get_plain_hmac_key() argument 443 key = kmemdup(authkey, keylen, GFP_KERNEL); in cc_get_plain_hmac_key() 549 const u8 *enckey, *authkey; in cc_aead_setkey() local 564 authkey = keys.authkey; in cc_aead_setkey() 583 authkey = NULL; in cc_aead_setkey() 599 memcpy(ctx->auth_state.xcbc.xcbc_keys, authkey, in cc_aead_setkey() 602 rc = cc_get_plain_hmac_key(tfm, authkey, ctx->auth_keylen); in cc_aead_setkey()
|
| /drivers/crypto/inside-secure/eip93/ |
| A D | eip93-aead.c | 151 ret = eip93_hmac_setkey(ctx->flags, keys.authkey, keys.authkeylen, in eip93_aead_setkey()
|
| /drivers/crypto/intel/qat/qat_common/ |
| A D | qat_algs.c | 264 if (qat_alg_do_precomputes(hash, ctx, keys->authkey, keys->authkeylen)) in qat_alg_aead_init_enc_session() 351 if (qat_alg_do_precomputes(hash, ctx, keys->authkey, keys->authkeylen)) in qat_alg_aead_init_dec_session()
|
| /drivers/crypto/marvell/octeontx/ |
| A D | otx_cptvf_algs.c | 761 ret = crypto_shash_digest(&ctx->sdesc->shash, keys->authkey, in aead_hmac_init() 767 memcpy(ctx->key, keys->authkey, authkeylen); in aead_hmac_init()
|
| /drivers/crypto/marvell/octeontx2/ |
| A D | otx2_cptvf_algs.c | 850 ret = crypto_shash_digest(&ctx->sdesc->shash, keys->authkey, in aead_hmac_init() 857 memcpy(ctx->key, keys->authkey, authkeylen); in aead_hmac_init()
|
| /drivers/crypto/caam/ |
| A D | caamalg_qi.c | 230 memcpy(ctx->key, keys.authkey, keys.authkeylen); in aead_setkey() 239 ret = gen_split_key(jrdev, ctx->key, &ctx->adata, keys.authkey, in aead_setkey()
|
| A D | caamalg.c | 615 memcpy(ctx->key, keys.authkey, keys.authkeylen); in aead_setkey() 624 ret = gen_split_key(ctx->jrdev, ctx->key, &ctx->adata, keys.authkey, in aead_setkey()
|
| A D | caamalg_qi2.c | 313 memcpy(ctx->key, keys.authkey, keys.authkeylen); in aead_setkey()
|
| /drivers/crypto/hisilicon/sec2/ |
| A D | sec_crypto.c | 1354 ret = crypto_shash_tfm_digest(hash_tfm, keys->authkey, in sec_aead_auth_set_key() 1363 memcpy(ctx->a_key, keys->authkey, keys->authkeylen); in sec_aead_auth_set_key()
|
| /drivers/crypto/chelsio/ |
| A D | chcr_algo.c | 3630 err = crypto_shash_digest(shash, keys.authkey, in chcr_authenc_setkey() 3639 memcpy(o_ptr, keys.authkey, keys.authkeylen); in chcr_authenc_setkey()
|
| /drivers/crypto/inside-secure/ |
| A D | safexcel_cipher.c | 488 if (safexcel_hmac_setkey(&ctx->base, keys.authkey, keys.authkeylen, in safexcel_aead_setkey()
|