Skip to content

Commit

Permalink
[CRYPTO] all: Add missing cra_alignmask
Browse files Browse the repository at this point in the history
The "des3_ede" and "serpent" lack cra_alignmask.

Signed-off-by: Atsushi Nemoto <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
  • Loading branch information
atsushi-nemoto authored and herbertx committed Mar 21, 2006
1 parent bbeb563 commit 20ea340
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions crypto/des.c
Original file line number Diff line number Diff line change
Expand Up @@ -965,6 +965,7 @@ static struct crypto_alg des3_ede_alg = {
.cra_blocksize = DES3_EDE_BLOCK_SIZE,
.cra_ctxsize = sizeof(struct des3_ede_ctx),
.cra_module = THIS_MODULE,
.cra_alignmask = 3,
.cra_list = LIST_HEAD_INIT(des3_ede_alg.cra_list),
.cra_u = { .cipher = {
.cia_min_keysize = DES3_EDE_KEY_SIZE,
Expand Down
1 change: 1 addition & 0 deletions crypto/serpent.c
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,7 @@ static struct crypto_alg serpent_alg = {
.cra_flags = CRYPTO_ALG_TYPE_CIPHER,
.cra_blocksize = SERPENT_BLOCK_SIZE,
.cra_ctxsize = sizeof(struct serpent_ctx),
.cra_alignmask = 3,
.cra_module = THIS_MODULE,
.cra_list = LIST_HEAD_INIT(serpent_alg.cra_list),
.cra_u = { .cipher = {
Expand Down

0 comments on commit 20ea340

Please sign in to comment.