Searched refs:authenc_keys (Results 1 – 2 of 2) sorted by relevance
| /linux/drivers/crypto/qce/ |
| H A D | aead.c | 598 struct crypto_authenc_keys authenc_keys; in qce_aead_setkey() local 603 err = crypto_authenc_extractkeys(&authenc_keys, key, keylen); in qce_aead_setkey() 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() 625 memcpy(_key, authenc_keys.enckey, DES3_EDE_KEY_SIZE); in qce_aead_setkey() 632 if (authenc_keys.enckeylen != AES_KEYSIZE_128 && in qce_aead_setkey() 633 authenc_keys.enckeylen != AES_KEYSIZE_192 && in qce_aead_setkey() 634 authenc_keys.enckeylen != AES_KEYSIZE_256) in qce_aead_setkey() [all …]
|
| /linux/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()
|