/kernel/linux/linux-5.10/drivers/crypto/bcm/ |
D | cipher.c | 709 hash_parms.key_len = ctx->authkeylen; in handle_ahash_req() 1315 hash_parms.key_len = ctx->authkeylen; in handle_aead_req() 1319 (ctx->authkeylen < SHA224_DIGEST_SIZE)) in handle_aead_req() 1883 ctx->spu_resp_hdr_len = spu->spu_response_hdr_len(ctx->authkeylen, in skcipher_setkey() 1938 ctx->authkeylen); in ahash_enqueue() 1985 ctx->spu_resp_hdr_len = spu->spu_response_hdr_len(ctx->authkeylen, 0, in __ahash_init() 2052 if (ctx->authkeylen > 0) { in ahash_init() 2054 ctx->authkeylen); in ahash_init() 2283 ctx->authkeylen = keylen; in ahash_setkey() 2383 ctx->authkeylen = digestsize; in ahash_hmac_setkey() [all …]
|
D | cipher.h | 183 unsigned int authkeylen; member
|
/kernel/linux/linux-5.10/include/crypto/ |
D | authenc.h | 25 unsigned int authkeylen; member
|
/kernel/linux/linux-5.10/drivers/crypto/marvell/octeontx/ |
D | otx_cptvf_algs.c | 745 int authkeylen = ctx->auth_key_len; in aead_hmac_init() local 777 if (authkeylen > bs) { in aead_hmac_init() 779 authkeylen, ipad); in aead_hmac_init() 783 authkeylen = ds; in aead_hmac_init() 785 memcpy(ipad, ctx->key, authkeylen); in aead_hmac_init() 788 memset(ipad + authkeylen, 0, bs - authkeylen); in aead_hmac_init() 841 int enckeylen = 0, authkeylen = 0; in otx_cpt_aead_cbc_aes_sha_setkey() local 864 authkeylen = keylen - enckeylen; in otx_cpt_aead_cbc_aes_sha_setkey() 883 ctx->auth_key_len = authkeylen; in otx_cpt_aead_cbc_aes_sha_setkey()
|
/kernel/linux/linux-5.10/crypto/ |
D | authenc.c | 76 keys->authkeylen = keylen - keys->enckeylen; in crypto_authenc_extractkeys() 78 keys->enckey = key + keys->authkeylen; in crypto_authenc_extractkeys() 99 err = crypto_ahash_setkey(auth, keys.authkey, keys.authkeylen); in crypto_authenc_setkey()
|
D | authencesn.c | 73 err = crypto_ahash_setkey(auth, keys.authkey, keys.authkeylen); in crypto_authenc_esn_setkey()
|
D | essiv.c | 114 crypto_shash_finup(desc, keys.authkey, keys.authkeylen, salt); in essiv_aead_setkey()
|
/kernel/linux/linux-5.10/drivers/crypto/ |
D | talitos.c | 858 unsigned int authkeylen; member 898 if (keys.authkeylen + keys.enckeylen > TALITOS_MAX_KEY_SIZE) in aead_setkey() 904 memcpy(ctx->key, keys.authkey, keys.authkeylen); in aead_setkey() 905 memcpy(&ctx->key[keys.authkeylen], keys.enckey, keys.enckeylen); in aead_setkey() 907 ctx->keylen = keys.authkeylen + keys.enckeylen; in aead_setkey() 909 ctx->authkeylen = keys.authkeylen; in aead_setkey() 934 if (keys.authkeylen + keys.enckeylen > TALITOS_MAX_KEY_SIZE) in aead_des3_setkey() 944 memcpy(ctx->key, keys.authkey, keys.authkeylen); in aead_des3_setkey() 945 memcpy(&ctx->key[keys.authkeylen], keys.enckey, keys.enckeylen); in aead_des3_setkey() 947 ctx->keylen = keys.authkeylen + keys.enckeylen; in aead_des3_setkey() [all …]
|
D | ixp4xx_crypto.c | 1158 if (keys.authkeylen > sizeof(ctx->authkey)) in aead_setkey() 1164 memcpy(ctx->authkey, keys.authkey, keys.authkeylen); in aead_setkey() 1166 ctx->authkey_len = keys.authkeylen; in aead_setkey() 1188 if (keys.authkeylen > sizeof(ctx->authkey)) in des3_aead_setkey() 1195 memcpy(ctx->authkey, keys.authkey, keys.authkeylen); in des3_aead_setkey() 1197 ctx->authkey_len = keys.authkeylen; in des3_aead_setkey()
|
D | picoxcell_crypto.c | 478 if (keys.authkeylen > sizeof(ctx->hash_ctx)) in spacc_aead_setkey() 484 memcpy(ctx->hash_ctx, keys.authkey, keys.authkeylen); in spacc_aead_setkey() 485 ctx->hash_key_len = keys.authkeylen; in spacc_aead_setkey()
|
D | sa2ul.c | 1816 cfg.akey_len = keys.authkeylen; in sa_aead_setkey() 1820 keys.authkey, keys.authkeylen, in sa_aead_setkey() 1834 keys.authkey, keys.authkeylen, in sa_aead_setkey()
|
D | atmel-aes.c | 2054 keys.authkey, keys.authkeylen, in atmel_aes_authenc_setkey()
|
/kernel/linux/linux-5.10/drivers/crypto/hisilicon/sec2/ |
D | sec_crypto.c | 859 if (!keys->authkeylen) { in sec_aead_auth_set_key() 865 if (keys->authkeylen > blocksize) { in sec_aead_auth_set_key() 867 keys->authkeylen, ctx->a_key); in sec_aead_auth_set_key() 874 memcpy(ctx->a_key, keys->authkey, keys->authkeylen); in sec_aead_auth_set_key() 875 ctx->a_key_len = keys->authkeylen; in sec_aead_auth_set_key()
|
/kernel/linux/linux-5.10/drivers/crypto/chelsio/ |
D | chcr_algo.c | 3626 if (keys.authkeylen > bs) { in chcr_authenc_setkey() 3628 keys.authkeylen, in chcr_authenc_setkey() 3634 keys.authkeylen = max_authsize; in chcr_authenc_setkey() 3636 memcpy(o_ptr, keys.authkey, keys.authkeylen); in chcr_authenc_setkey() 3639 memset(pad + keys.authkeylen, 0, bs - keys.authkeylen); in chcr_authenc_setkey() 3640 memcpy(pad, o_ptr, keys.authkeylen); in chcr_authenc_setkey() 3648 memset(pad + keys.authkeylen, 0, bs - keys.authkeylen); in chcr_authenc_setkey() 3649 memcpy(pad, o_ptr, keys.authkeylen); in chcr_authenc_setkey()
|
/kernel/linux/linux-5.10/drivers/crypto/caam/ |
D | caamalg_qi.c | 208 keys.authkeylen + keys.enckeylen, keys.enckeylen, in aead_setkey() 209 keys.authkeylen); in aead_setkey() 218 ctx->adata.keylen = keys.authkeylen; in aead_setkey() 225 memcpy(ctx->key, keys.authkey, keys.authkeylen); in aead_setkey() 235 keys.authkeylen, CAAM_MAX_KEY_SIZE - in aead_setkey()
|
D | caamalg.c | 588 keys.authkeylen + keys.enckeylen, keys.enckeylen, in aead_setkey() 589 keys.authkeylen); in aead_setkey() 598 ctx->adata.keylen = keys.authkeylen; in aead_setkey() 605 memcpy(ctx->key, keys.authkey, keys.authkeylen); in aead_setkey() 615 keys.authkeylen, CAAM_MAX_KEY_SIZE - in aead_setkey()
|
D | caamalg_qi2.c | 295 keys.authkeylen + keys.enckeylen, keys.enckeylen, in aead_setkey() 296 keys.authkeylen); in aead_setkey() 300 ctx->adata.keylen = keys.authkeylen; in aead_setkey() 307 memcpy(ctx->key, keys.authkey, keys.authkeylen); in aead_setkey()
|
/kernel/linux/linux-5.10/drivers/crypto/qat/qat_common/ |
D | qat_algs.c | 267 if (qat_alg_do_precomputes(hash, ctx, keys->authkey, keys->authkeylen)) in qat_alg_aead_init_enc_session() 354 if (qat_alg_do_precomputes(hash, ctx, keys->authkey, keys->authkeylen)) in qat_alg_aead_init_dec_session()
|
/kernel/linux/linux-5.10/drivers/md/ |
D | dm-crypt.c | 2362 unsigned enckeylen, unsigned authkeylen) in crypt_copy_authenckey() argument 2373 memcpy(p, key + enckeylen, authkeylen); in crypt_copy_authenckey() 2374 p += authkeylen; in crypt_copy_authenckey()
|
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/ |
D | 0016_linux_drivers_crypto.patch | 943 + dev_err(jrdev, "keylen %d enckeylen %d authkeylen %d\n", 944 + keys.authkeylen + keys.enckeylen, keys.enckeylen, 945 + keys.authkeylen); 955 + ctx->adata.keylen = keys.authkeylen; 962 + memcpy(ctx->key, keys.authkey, keys.authkeylen); 972 + keys.authkeylen, CAAM_MAX_KEY_SIZE - 1654 + dev_err(dev, "keylen %d enckeylen %d authkeylen %d\n", 1655 + keys.authkeylen + keys.enckeylen, keys.enckeylen, 1656 + keys.authkeylen); 1661 + ctx->adata.keylen = keys.authkeylen; [all …]
|
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/ |
D | 0003_linux_crypto.patch | 767 + err = crypto_ahash_setkey(auth, keys.authkey, keys.authkeylen);
|
/kernel/linux/linux-5.10/drivers/crypto/ccree/ |
D | cc_aead.c | 566 ctx->auth_keylen = keys.authkeylen; in cc_aead_setkey()
|
/kernel/linux/linux-5.10/drivers/crypto/inside-secure/ |
D | safexcel_cipher.c | 488 if (safexcel_hmac_setkey(&ctx->base, keys.authkey, keys.authkeylen, in safexcel_aead_setkey()
|