Searched refs:authenc_keys (Results 1 – 3 of 3) sorted by relevance
| /linux-6.15/drivers/crypto/qce/ |
| H A D | aead.c | 598 struct crypto_authenc_keys authenc_keys; in qce_aead_setkey() local 607 if (authenc_keys.enckeylen > QCE_MAX_KEY_SIZE || in qce_aead_setkey() 608 authenc_keys.authkeylen > QCE_MAX_KEY_SIZE) in qce_aead_setkey() 612 err = verify_aead_des_key(tfm, authenc_keys.enckey, authenc_keys.enckeylen); in qce_aead_setkey() 616 err = verify_aead_des3_key(tfm, authenc_keys.enckey, authenc_keys.enckeylen); in qce_aead_setkey() 634 authenc_keys.enckeylen != AES_KEYSIZE_256) in qce_aead_setkey() 636 if (authenc_keys.enckeylen == AES_KEYSIZE_192) in qce_aead_setkey() 640 ctx->enc_keylen = authenc_keys.enckeylen; in qce_aead_setkey() 641 ctx->auth_keylen = authenc_keys.authkeylen; in qce_aead_setkey() 643 memcpy(ctx->enc_key, authenc_keys.enckey, authenc_keys.enckeylen); in qce_aead_setkey() [all …]
|
| /linux-6.15/drivers/crypto/marvell/octeontx/ |
| H A D | otx_cptvf_algs.c | 831 struct crypto_authenc_keys authenc_keys; in otx_cpt_aead_cbc_aes_sha_setkey() local 834 status = crypto_authenc_extractkeys(&authenc_keys, key, keylen); in otx_cpt_aead_cbc_aes_sha_setkey() 838 status = aead_hmac_init(cipher, &authenc_keys); in otx_cpt_aead_cbc_aes_sha_setkey()
|
| /linux-6.15/drivers/crypto/marvell/octeontx2/ |
| H A D | otx2_cptvf_algs.c | 920 struct crypto_authenc_keys authenc_keys; in otx2_cpt_aead_cbc_aes_sha_setkey() local 922 return crypto_authenc_extractkeys(&authenc_keys, key, keylen) ?: in otx2_cpt_aead_cbc_aes_sha_setkey() 923 aead_hmac_init(cipher, &authenc_keys); in otx2_cpt_aead_cbc_aes_sha_setkey()
|