|
|
|
@ -1109,7 +1109,7 @@ static struct aead_alg qat_aeads[] = { { |
|
|
|
|
.cra_name = "authenc(hmac(sha1),cbc(aes))", |
|
|
|
|
.cra_driver_name = "qat_aes_cbc_hmac_sha1", |
|
|
|
|
.cra_priority = 4001, |
|
|
|
|
.cra_flags = CRYPTO_ALG_ASYNC | CRYPTO_ALG_AEAD_NEW, |
|
|
|
|
.cra_flags = CRYPTO_ALG_ASYNC, |
|
|
|
|
.cra_blocksize = AES_BLOCK_SIZE, |
|
|
|
|
.cra_ctxsize = sizeof(struct qat_alg_aead_ctx), |
|
|
|
|
.cra_module = THIS_MODULE, |
|
|
|
@ -1126,7 +1126,7 @@ static struct aead_alg qat_aeads[] = { { |
|
|
|
|
.cra_name = "authenc(hmac(sha256),cbc(aes))", |
|
|
|
|
.cra_driver_name = "qat_aes_cbc_hmac_sha256", |
|
|
|
|
.cra_priority = 4001, |
|
|
|
|
.cra_flags = CRYPTO_ALG_ASYNC | CRYPTO_ALG_AEAD_NEW, |
|
|
|
|
.cra_flags = CRYPTO_ALG_ASYNC, |
|
|
|
|
.cra_blocksize = AES_BLOCK_SIZE, |
|
|
|
|
.cra_ctxsize = sizeof(struct qat_alg_aead_ctx), |
|
|
|
|
.cra_module = THIS_MODULE, |
|
|
|
@ -1143,7 +1143,7 @@ static struct aead_alg qat_aeads[] = { { |
|
|
|
|
.cra_name = "authenc(hmac(sha512),cbc(aes))", |
|
|
|
|
.cra_driver_name = "qat_aes_cbc_hmac_sha512", |
|
|
|
|
.cra_priority = 4001, |
|
|
|
|
.cra_flags = CRYPTO_ALG_ASYNC | CRYPTO_ALG_AEAD_NEW, |
|
|
|
|
.cra_flags = CRYPTO_ALG_ASYNC, |
|
|
|
|
.cra_blocksize = AES_BLOCK_SIZE, |
|
|
|
|
.cra_ctxsize = sizeof(struct qat_alg_aead_ctx), |
|
|
|
|
.cra_module = THIS_MODULE, |
|
|
|
@ -1197,7 +1197,7 @@ int qat_algs_register(void) |
|
|
|
|
goto unlock; |
|
|
|
|
|
|
|
|
|
for (i = 0; i < ARRAY_SIZE(qat_aeads); i++) |
|
|
|
|
qat_aeads[i].base.cra_flags = CRYPTO_ALG_ASYNC | CRYPTO_ALG_AEAD_NEW; |
|
|
|
|
qat_aeads[i].base.cra_flags = CRYPTO_ALG_ASYNC; |
|
|
|
|
|
|
|
|
|
ret = crypto_register_aeads(qat_aeads, ARRAY_SIZE(qat_aeads)); |
|
|
|
|
if (ret) |
|
|
|
|