@@ -901,21 +901,20 @@ static struct ahash_alg dcp_sha1_alg = {
.digest = dcp_sha_digest,
.import = dcp_sha_import,
.export = dcp_sha_export,
.halg = {
.digestsize = SHA1_DIGEST_SIZE,
.statesize = sizeof(struct dcp_export_state),
.base = {
.cra_name = "sha1",
.cra_driver_name = "sha1-dcp",
.cra_priority = 400,
- .cra_alignmask = 63,
.cra_flags = CRYPTO_ALG_ASYNC,
.cra_blocksize = SHA1_BLOCK_SIZE,
.cra_ctxsize = sizeof(struct dcp_async_ctx),
.cra_module = THIS_MODULE,
.cra_init = dcp_sha_cra_init,
.cra_exit = dcp_sha_cra_exit,
},
},
};
@@ -928,21 +927,20 @@ static struct ahash_alg dcp_sha256_alg = {
.digest = dcp_sha_digest,
.import = dcp_sha_import,
.export = dcp_sha_export,
.halg = {
.digestsize = SHA256_DIGEST_SIZE,
.statesize = sizeof(struct dcp_export_state),
.base = {
.cra_name = "sha256",
.cra_driver_name = "sha256-dcp",
.cra_priority = 400,
- .cra_alignmask = 63,
.cra_flags = CRYPTO_ALG_ASYNC,
.cra_blocksize = SHA256_BLOCK_SIZE,
.cra_ctxsize = sizeof(struct dcp_async_ctx),
.cra_module = THIS_MODULE,
.cra_init = dcp_sha_cra_init,
.cra_exit = dcp_sha_cra_exit,
},
},
};