aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
Diffstat (limited to 'crypto')
-rw-r--r--crypto/aes.c1
-rw-r--r--crypto/anubis.c1
-rw-r--r--crypto/blowfish.c1
-rw-r--r--crypto/cast5.c1
-rw-r--r--crypto/cast6.c1
-rw-r--r--crypto/des.c1
-rw-r--r--crypto/khazad.c1
-rw-r--r--crypto/serpent.c1
-rw-r--r--crypto/tea.c3
-rw-r--r--crypto/twofish.c1
10 files changed, 12 insertions, 0 deletions
diff --git a/crypto/aes.c b/crypto/aes.c
index b9b2afb42792..0a6a5c143686 100644
--- a/crypto/aes.c
+++ b/crypto/aes.c
@@ -423,6 +423,7 @@ static struct crypto_alg aes_alg = {
423 .cra_flags = CRYPTO_ALG_TYPE_CIPHER, 423 .cra_flags = CRYPTO_ALG_TYPE_CIPHER,
424 .cra_blocksize = AES_BLOCK_SIZE, 424 .cra_blocksize = AES_BLOCK_SIZE,
425 .cra_ctxsize = sizeof(struct aes_ctx), 425 .cra_ctxsize = sizeof(struct aes_ctx),
426 .cra_alignmask = 3,
426 .cra_module = THIS_MODULE, 427 .cra_module = THIS_MODULE,
427 .cra_list = LIST_HEAD_INIT(aes_alg.cra_list), 428 .cra_list = LIST_HEAD_INIT(aes_alg.cra_list),
428 .cra_u = { 429 .cra_u = {
diff --git a/crypto/anubis.c b/crypto/anubis.c
index 94c4b1f3e3a7..2c796bdb91a6 100644
--- a/crypto/anubis.c
+++ b/crypto/anubis.c
@@ -677,6 +677,7 @@ static struct crypto_alg anubis_alg = {
677 .cra_flags = CRYPTO_ALG_TYPE_CIPHER, 677 .cra_flags = CRYPTO_ALG_TYPE_CIPHER,
678 .cra_blocksize = ANUBIS_BLOCK_SIZE, 678 .cra_blocksize = ANUBIS_BLOCK_SIZE,
679 .cra_ctxsize = sizeof (struct anubis_ctx), 679 .cra_ctxsize = sizeof (struct anubis_ctx),
680 .cra_alignmask = 3,
680 .cra_module = THIS_MODULE, 681 .cra_module = THIS_MODULE,
681 .cra_list = LIST_HEAD_INIT(anubis_alg.cra_list), 682 .cra_list = LIST_HEAD_INIT(anubis_alg.cra_list),
682 .cra_u = { .cipher = { 683 .cra_u = { .cipher = {
diff --git a/crypto/blowfish.c b/crypto/blowfish.c
index 99fc45950d50..7f710b201f20 100644
--- a/crypto/blowfish.c
+++ b/crypto/blowfish.c
@@ -453,6 +453,7 @@ static struct crypto_alg alg = {
453 .cra_flags = CRYPTO_ALG_TYPE_CIPHER, 453 .cra_flags = CRYPTO_ALG_TYPE_CIPHER,
454 .cra_blocksize = BF_BLOCK_SIZE, 454 .cra_blocksize = BF_BLOCK_SIZE,
455 .cra_ctxsize = sizeof(struct bf_ctx), 455 .cra_ctxsize = sizeof(struct bf_ctx),
456 .cra_alignmask = 3,
456 .cra_module = THIS_MODULE, 457 .cra_module = THIS_MODULE,
457 .cra_list = LIST_HEAD_INIT(alg.cra_list), 458 .cra_list = LIST_HEAD_INIT(alg.cra_list),
458 .cra_u = { .cipher = { 459 .cra_u = { .cipher = {
diff --git a/crypto/cast5.c b/crypto/cast5.c
index 282641c974a8..8834c8580c04 100644
--- a/crypto/cast5.c
+++ b/crypto/cast5.c
@@ -809,6 +809,7 @@ static struct crypto_alg alg = {
809 .cra_flags = CRYPTO_ALG_TYPE_CIPHER, 809 .cra_flags = CRYPTO_ALG_TYPE_CIPHER,
810 .cra_blocksize = CAST5_BLOCK_SIZE, 810 .cra_blocksize = CAST5_BLOCK_SIZE,
811 .cra_ctxsize = sizeof(struct cast5_ctx), 811 .cra_ctxsize = sizeof(struct cast5_ctx),
812 .cra_alignmask = 3,
812 .cra_module = THIS_MODULE, 813 .cra_module = THIS_MODULE,
813 .cra_list = LIST_HEAD_INIT(alg.cra_list), 814 .cra_list = LIST_HEAD_INIT(alg.cra_list),
814 .cra_u = { 815 .cra_u = {
diff --git a/crypto/cast6.c b/crypto/cast6.c
index d317fff6ea10..9e28740ba775 100644
--- a/crypto/cast6.c
+++ b/crypto/cast6.c
@@ -513,6 +513,7 @@ static struct crypto_alg alg = {
513 .cra_flags = CRYPTO_ALG_TYPE_CIPHER, 513 .cra_flags = CRYPTO_ALG_TYPE_CIPHER,
514 .cra_blocksize = CAST6_BLOCK_SIZE, 514 .cra_blocksize = CAST6_BLOCK_SIZE,
515 .cra_ctxsize = sizeof(struct cast6_ctx), 515 .cra_ctxsize = sizeof(struct cast6_ctx),
516 .cra_alignmask = 3,
516 .cra_module = THIS_MODULE, 517 .cra_module = THIS_MODULE,
517 .cra_list = LIST_HEAD_INIT(alg.cra_list), 518 .cra_list = LIST_HEAD_INIT(alg.cra_list),
518 .cra_u = { 519 .cra_u = {
diff --git a/crypto/des.c b/crypto/des.c
index dae42981012c..7bb548653dc6 100644
--- a/crypto/des.c
+++ b/crypto/des.c
@@ -949,6 +949,7 @@ static struct crypto_alg des_alg = {
949 .cra_blocksize = DES_BLOCK_SIZE, 949 .cra_blocksize = DES_BLOCK_SIZE,
950 .cra_ctxsize = sizeof(struct des_ctx), 950 .cra_ctxsize = sizeof(struct des_ctx),
951 .cra_module = THIS_MODULE, 951 .cra_module = THIS_MODULE,
952 .cra_alignmask = 3,
952 .cra_list = LIST_HEAD_INIT(des_alg.cra_list), 953 .cra_list = LIST_HEAD_INIT(des_alg.cra_list),
953 .cra_u = { .cipher = { 954 .cra_u = { .cipher = {
954 .cia_min_keysize = DES_KEY_SIZE, 955 .cia_min_keysize = DES_KEY_SIZE,
diff --git a/crypto/khazad.c b/crypto/khazad.c
index 6809210362c1..807f2bf4ea24 100644
--- a/crypto/khazad.c
+++ b/crypto/khazad.c
@@ -857,6 +857,7 @@ static struct crypto_alg khazad_alg = {
857 .cra_flags = CRYPTO_ALG_TYPE_CIPHER, 857 .cra_flags = CRYPTO_ALG_TYPE_CIPHER,
858 .cra_blocksize = KHAZAD_BLOCK_SIZE, 858 .cra_blocksize = KHAZAD_BLOCK_SIZE,
859 .cra_ctxsize = sizeof (struct khazad_ctx), 859 .cra_ctxsize = sizeof (struct khazad_ctx),
860 .cra_alignmask = 7,
860 .cra_module = THIS_MODULE, 861 .cra_module = THIS_MODULE,
861 .cra_list = LIST_HEAD_INIT(khazad_alg.cra_list), 862 .cra_list = LIST_HEAD_INIT(khazad_alg.cra_list),
862 .cra_u = { .cipher = { 863 .cra_u = { .cipher = {
diff --git a/crypto/serpent.c b/crypto/serpent.c
index a950ff85f632..52ad1a492620 100644
--- a/crypto/serpent.c
+++ b/crypto/serpent.c
@@ -553,6 +553,7 @@ static struct crypto_alg tnepres_alg = {
553 .cra_flags = CRYPTO_ALG_TYPE_CIPHER, 553 .cra_flags = CRYPTO_ALG_TYPE_CIPHER,
554 .cra_blocksize = SERPENT_BLOCK_SIZE, 554 .cra_blocksize = SERPENT_BLOCK_SIZE,
555 .cra_ctxsize = sizeof(struct serpent_ctx), 555 .cra_ctxsize = sizeof(struct serpent_ctx),
556 .cra_alignmask = 3,
556 .cra_module = THIS_MODULE, 557 .cra_module = THIS_MODULE,
557 .cra_list = LIST_HEAD_INIT(serpent_alg.cra_list), 558 .cra_list = LIST_HEAD_INIT(serpent_alg.cra_list),
558 .cra_u = { .cipher = { 559 .cra_u = { .cipher = {
diff --git a/crypto/tea.c b/crypto/tea.c
index e0077c72ec2a..a6a02b30e470 100644
--- a/crypto/tea.c
+++ b/crypto/tea.c
@@ -240,6 +240,7 @@ static struct crypto_alg tea_alg = {
240 .cra_flags = CRYPTO_ALG_TYPE_CIPHER, 240 .cra_flags = CRYPTO_ALG_TYPE_CIPHER,
241 .cra_blocksize = TEA_BLOCK_SIZE, 241 .cra_blocksize = TEA_BLOCK_SIZE,
242 .cra_ctxsize = sizeof (struct tea_ctx), 242 .cra_ctxsize = sizeof (struct tea_ctx),
243 .cra_alignmask = 3,
243 .cra_module = THIS_MODULE, 244 .cra_module = THIS_MODULE,
244 .cra_list = LIST_HEAD_INIT(tea_alg.cra_list), 245 .cra_list = LIST_HEAD_INIT(tea_alg.cra_list),
245 .cra_u = { .cipher = { 246 .cra_u = { .cipher = {
@@ -255,6 +256,7 @@ static struct crypto_alg xtea_alg = {
255 .cra_flags = CRYPTO_ALG_TYPE_CIPHER, 256 .cra_flags = CRYPTO_ALG_TYPE_CIPHER,
256 .cra_blocksize = XTEA_BLOCK_SIZE, 257 .cra_blocksize = XTEA_BLOCK_SIZE,
257 .cra_ctxsize = sizeof (struct xtea_ctx), 258 .cra_ctxsize = sizeof (struct xtea_ctx),
259 .cra_alignmask = 3,
258 .cra_module = THIS_MODULE, 260 .cra_module = THIS_MODULE,
259 .cra_list = LIST_HEAD_INIT(xtea_alg.cra_list), 261 .cra_list = LIST_HEAD_INIT(xtea_alg.cra_list),
260 .cra_u = { .cipher = { 262 .cra_u = { .cipher = {
@@ -270,6 +272,7 @@ static struct crypto_alg xeta_alg = {
270 .cra_flags = CRYPTO_ALG_TYPE_CIPHER, 272 .cra_flags = CRYPTO_ALG_TYPE_CIPHER,
271 .cra_blocksize = XTEA_BLOCK_SIZE, 273 .cra_blocksize = XTEA_BLOCK_SIZE,
272 .cra_ctxsize = sizeof (struct xtea_ctx), 274 .cra_ctxsize = sizeof (struct xtea_ctx),
275 .cra_alignmask = 3,
273 .cra_module = THIS_MODULE, 276 .cra_module = THIS_MODULE,
274 .cra_list = LIST_HEAD_INIT(xtea_alg.cra_list), 277 .cra_list = LIST_HEAD_INIT(xtea_alg.cra_list),
275 .cra_u = { .cipher = { 278 .cra_u = { .cipher = {
diff --git a/crypto/twofish.c b/crypto/twofish.c
index b501d5ab9c45..a26d885486fb 100644
--- a/crypto/twofish.c
+++ b/crypto/twofish.c
@@ -879,6 +879,7 @@ static struct crypto_alg alg = {
879 .cra_flags = CRYPTO_ALG_TYPE_CIPHER, 879 .cra_flags = CRYPTO_ALG_TYPE_CIPHER,
880 .cra_blocksize = TF_BLOCK_SIZE, 880 .cra_blocksize = TF_BLOCK_SIZE,
881 .cra_ctxsize = sizeof(struct twofish_ctx), 881 .cra_ctxsize = sizeof(struct twofish_ctx),
882 .cra_alignmask = 3,
882 .cra_module = THIS_MODULE, 883 .cra_module = THIS_MODULE,
883 .cra_list = LIST_HEAD_INIT(alg.cra_list), 884 .cra_list = LIST_HEAD_INIT(alg.cra_list),
884 .cra_u = { .cipher = { 885 .cra_u = { .cipher = {