aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/crypto/mv_cesa.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/crypto/mv_cesa.c')
-rw-r--r--drivers/crypto/mv_cesa.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/drivers/crypto/mv_cesa.c b/drivers/crypto/mv_cesa.c
index 597235a2f8f9..8ad2883505a5 100644
--- a/drivers/crypto/mv_cesa.c
+++ b/drivers/crypto/mv_cesa.c
@@ -898,7 +898,8 @@ struct crypto_alg mv_aes_alg_ecb = {
898 .cra_name = "ecb(aes)", 898 .cra_name = "ecb(aes)",
899 .cra_driver_name = "mv-ecb-aes", 899 .cra_driver_name = "mv-ecb-aes",
900 .cra_priority = 300, 900 .cra_priority = 300,
901 .cra_flags = CRYPTO_ALG_TYPE_ABLKCIPHER | CRYPTO_ALG_ASYNC, 901 .cra_flags = CRYPTO_ALG_TYPE_ABLKCIPHER |
902 CRYPTO_ALG_KERN_DRIVER_ONLY | CRYPTO_ALG_ASYNC,
902 .cra_blocksize = 16, 903 .cra_blocksize = 16,
903 .cra_ctxsize = sizeof(struct mv_ctx), 904 .cra_ctxsize = sizeof(struct mv_ctx),
904 .cra_alignmask = 0, 905 .cra_alignmask = 0,
@@ -920,7 +921,8 @@ struct crypto_alg mv_aes_alg_cbc = {
920 .cra_name = "cbc(aes)", 921 .cra_name = "cbc(aes)",
921 .cra_driver_name = "mv-cbc-aes", 922 .cra_driver_name = "mv-cbc-aes",
922 .cra_priority = 300, 923 .cra_priority = 300,
923 .cra_flags = CRYPTO_ALG_TYPE_ABLKCIPHER | CRYPTO_ALG_ASYNC, 924 .cra_flags = CRYPTO_ALG_TYPE_ABLKCIPHER |
925 CRYPTO_ALG_KERN_DRIVER_ONLY | CRYPTO_ALG_ASYNC,
924 .cra_blocksize = AES_BLOCK_SIZE, 926 .cra_blocksize = AES_BLOCK_SIZE,
925 .cra_ctxsize = sizeof(struct mv_ctx), 927 .cra_ctxsize = sizeof(struct mv_ctx),
926 .cra_alignmask = 0, 928 .cra_alignmask = 0,
@@ -952,7 +954,8 @@ struct ahash_alg mv_sha1_alg = {
952 .cra_driver_name = "mv-sha1", 954 .cra_driver_name = "mv-sha1",
953 .cra_priority = 300, 955 .cra_priority = 300,
954 .cra_flags = 956 .cra_flags =
955 CRYPTO_ALG_ASYNC | CRYPTO_ALG_NEED_FALLBACK, 957 CRYPTO_ALG_ASYNC | CRYPTO_ALG_KERN_DRIVER_ONLY |
958 CRYPTO_ALG_NEED_FALLBACK,
956 .cra_blocksize = SHA1_BLOCK_SIZE, 959 .cra_blocksize = SHA1_BLOCK_SIZE,
957 .cra_ctxsize = sizeof(struct mv_tfm_hash_ctx), 960 .cra_ctxsize = sizeof(struct mv_tfm_hash_ctx),
958 .cra_init = mv_cra_hash_sha1_init, 961 .cra_init = mv_cra_hash_sha1_init,
@@ -976,7 +979,8 @@ struct ahash_alg mv_hmac_sha1_alg = {
976 .cra_driver_name = "mv-hmac-sha1", 979 .cra_driver_name = "mv-hmac-sha1",
977 .cra_priority = 300, 980 .cra_priority = 300,
978 .cra_flags = 981 .cra_flags =
979 CRYPTO_ALG_ASYNC | CRYPTO_ALG_NEED_FALLBACK, 982 CRYPTO_ALG_ASYNC | CRYPTO_ALG_KERN_DRIVER_ONLY |
983 CRYPTO_ALG_NEED_FALLBACK,
980 .cra_blocksize = SHA1_BLOCK_SIZE, 984 .cra_blocksize = SHA1_BLOCK_SIZE,
981 .cra_ctxsize = sizeof(struct mv_tfm_hash_ctx), 985 .cra_ctxsize = sizeof(struct mv_tfm_hash_ctx),
982 .cra_init = mv_cra_hash_hmac_sha1_init, 986 .cra_init = mv_cra_hash_hmac_sha1_init,