Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 347343
b: refs/heads/master
c: 62ba63d
h: refs/heads/master
i:
  347341: a124477
  347339: e6814e2
  347335: 08766f6
  347327: 021a0c3
v: v3
  • Loading branch information
David S. Miller committed Dec 19, 2012
1 parent da2d88d commit 4dec3a8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b3a37947074fa0a488d6c7ede58125b2278ab4e8
refs/heads/master: 62ba63dc892cf836ecb9ce4fdb7644d45c95070b
3 changes: 3 additions & 0 deletions trunk/arch/sparc/crypto/camellia_glue.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ static int __ecb_crypt(struct blkcipher_desc *desc,

blkcipher_walk_init(&walk, dst, src, nbytes);
err = blkcipher_walk_virt(desc, &walk);
desc->flags &= ~CRYPTO_TFM_REQ_MAY_SLEEP;

if (encrypt)
key = &ctx->encrypt_key[0];
Expand Down Expand Up @@ -160,6 +161,7 @@ static int cbc_encrypt(struct blkcipher_desc *desc,

blkcipher_walk_init(&walk, dst, src, nbytes);
err = blkcipher_walk_virt(desc, &walk);
desc->flags &= ~CRYPTO_TFM_REQ_MAY_SLEEP;

key = &ctx->encrypt_key[0];
camellia_sparc64_load_keys(key, ctx->key_len);
Expand Down Expand Up @@ -198,6 +200,7 @@ static int cbc_decrypt(struct blkcipher_desc *desc,

blkcipher_walk_init(&walk, dst, src, nbytes);
err = blkcipher_walk_virt(desc, &walk);
desc->flags &= ~CRYPTO_TFM_REQ_MAY_SLEEP;

key = &ctx->decrypt_key[0];
camellia_sparc64_load_keys(key, ctx->key_len);
Expand Down

0 comments on commit 4dec3a8

Please sign in to comment.