/drivers/crypto/qce/ |
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() 342 memset(ctx->authkey, 0, sizeof(ctx->authkey)); in qce_ahash_hmac_setkey() 345 memcpy(ctx->authkey, key, keylen); in qce_ahash_hmac_setkey() 379 ahash_request_set_crypt(req, &sg, ctx->authkey, keylen); in qce_ahash_hmac_setkey()
|
D | sha.h | 20 u8 authkey[QCE_SHA_MAX_BLOCKSIZE]; member 56 u8 *authkey; member
|
D | common.c | 180 qce_cpu_to_be32p_array(mackey, rctx->authkey, rctx->authklen); in qce_setup_regs_ahash() 428 u32 authkey[QCE_SHA_HMAC_KEY_SIZE / sizeof(u32)] = {0}; in qce_setup_regs_aead() local 469 authkey_words = qce_be32_to_cpu_array(authkey, ctx->auth_key, auth_keylen); in qce_setup_regs_aead() 470 qce_write_array(qce, REG_AUTH_KEY0, (u32 *)authkey, authkey_words); in qce_setup_regs_aead()
|
D | aead.c | 646 memcpy(ctx->auth_key, authenc_keys.authkey, authenc_keys.authkeylen); in qce_aead_setkey()
|
/drivers/crypto/bcm/ |
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() 2333 rc = do_shash("md5", ctx->authkey, key, keylen, NULL, in ahash_hmac_setkey() 2337 rc = do_shash("sha1", ctx->authkey, key, keylen, NULL, in ahash_hmac_setkey() 2341 rc = do_shash("sha224", ctx->authkey, key, keylen, NULL, in ahash_hmac_setkey() 2345 rc = do_shash("sha256", ctx->authkey, key, keylen, NULL, in ahash_hmac_setkey() 2349 rc = do_shash("sha384", ctx->authkey, key, keylen, NULL, in ahash_hmac_setkey() [all …]
|
D | cipher.h | 183 u8 authkey[MAX_KEY_SIZE + ARC4_STATE_SIZE]; member
|
/drivers/crypto/ |
D | ixp4xx_crypto.c | 183 u8 authkey[MAX_KEYLEN]; member 1221 ret = setup_auth(&tfm->base, 0, authsize, ctx->authkey, in aead_setup() 1225 ret = setup_auth(&tfm->base, 1, authsize, ctx->authkey, in aead_setup() 1251 if (keys.authkeylen > sizeof(ctx->authkey)) in aead_setkey() 1257 memcpy(ctx->authkey, keys.authkey, keys.authkeylen); in aead_setkey() 1281 if (keys.authkeylen > sizeof(ctx->authkey)) in des3_aead_setkey() 1288 memcpy(ctx->authkey, keys.authkey, keys.authkeylen); in des3_aead_setkey()
|
D | sa2ul.h | 313 u8 authkey[SHA512_BLOCK_SIZE]; member
|
D | sa2ul.c | 1461 memset(ctx->authkey, 0, bs); in sa_sha_setup() 1835 cfg.akey = keys.authkey; in sa_aead_setkey() 1840 keys.enckeylen, keys.authkey, keys.authkeylen, in sa_aead_setkey() 1854 keys.enckeylen, keys.authkey, keys.authkeylen, in sa_aead_setkey()
|
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()
|
D | atmel-aes.c | 2117 keys.authkey, keys.authkeylen, in atmel_aes_authenc_setkey()
|
/drivers/crypto/ccree/ |
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/qat/qat_common/ |
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/caam/ |
D | caamalg_qi.c | 225 memcpy(ctx->key, keys.authkey, keys.authkeylen); in aead_setkey() 234 ret = gen_split_key(jrdev, ctx->key, &ctx->adata, keys.authkey, in aead_setkey()
|
D | caamalg.c | 606 memcpy(ctx->key, keys.authkey, keys.authkeylen); in aead_setkey() 615 ret = gen_split_key(ctx->jrdev, ctx->key, &ctx->adata, keys.authkey, in aead_setkey()
|
D | caamalg_qi2.c | 310 memcpy(ctx->key, keys.authkey, keys.authkeylen); in aead_setkey()
|
/drivers/crypto/hisilicon/sec2/ |
D | sec_crypto.c | 1055 ret = crypto_shash_tfm_digest(hash_tfm, keys->authkey, in sec_aead_auth_set_key() 1063 memcpy(ctx->a_key, keys->authkey, keys->authkeylen); in sec_aead_auth_set_key()
|
/drivers/crypto/chelsio/ |
D | chcr_algo.c | 3621 err = crypto_shash_digest(shash, keys.authkey, in chcr_authenc_setkey() 3630 memcpy(o_ptr, keys.authkey, keys.authkeylen); in chcr_authenc_setkey()
|
/drivers/crypto/inside-secure/ |
D | safexcel_cipher.c | 489 if (safexcel_hmac_setkey(&ctx->base, keys.authkey, keys.authkeylen, in safexcel_aead_setkey()
|