Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 109839
b: refs/heads/master
c: ba95487
h: refs/heads/master
i:
  109837: a20fd68
  109835: b0740a2
  109831: 17baace
  109823: 06cad18
v: v3
  • Loading branch information
Kim Phillips authored and Herbert Xu committed Sep 14, 2008
1 parent 0388b50 commit 8846da7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 212387055902b65f79463d1934033255aa6b99e1
refs/heads/master: ba95487df97f9c45cfdae2a47de56235e7a13dc5
2 changes: 0 additions & 2 deletions trunk/.mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,4 @@ Tejun Heo <htejun@gmail.com>
Thomas Graf <tgraf@suug.ch>
Tony Luck <tony.luck@intel.com>
Tsuneo Yoshioka <Tsuneo.Yoshioka@f-secure.com>
Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com>
Uwe Kleine-König <ukleinek@informatik.uni-freiburg.de>
Valdis Kletnieks <Valdis.Kletnieks@vt.edu>
6 changes: 4 additions & 2 deletions trunk/drivers/crypto/talitos.c
Original file line number Diff line number Diff line change
Expand Up @@ -1157,6 +1157,8 @@ static int aead_authenc_givencrypt(
edesc->desc.hdr = ctx->desc_hdr_template | DESC_HDR_MODE0_ENCRYPT;

memcpy(req->giv, ctx->iv, crypto_aead_ivsize(authenc));
/* avoid consecutive packets going out with same IV */
*(__be64 *)req->giv ^= cpu_to_be64(req->seq);

return ipsec_esp(edesc, areq, req->giv, req->seq,
ipsec_esp_encrypt_done);
Expand Down Expand Up @@ -1449,6 +1451,8 @@ static int talitos_probe(struct of_device *ofdev,

priv->ofdev = ofdev;

INIT_LIST_HEAD(&priv->alg_list);

tasklet_init(&priv->done_task, talitos_done, (unsigned long)dev);
tasklet_init(&priv->error_task, talitos_error, (unsigned long)dev);

Expand Down Expand Up @@ -1575,8 +1579,6 @@ static int talitos_probe(struct of_device *ofdev,
}

/* register crypto algorithms the device supports */
INIT_LIST_HEAD(&priv->alg_list);

for (i = 0; i < ARRAY_SIZE(driver_algs); i++) {
if (hw_supports(dev, driver_algs[i].desc_hdr_template)) {
struct talitos_crypto_alg *t_alg;
Expand Down

0 comments on commit 8846da7

Please sign in to comment.