Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 91651
b: refs/heads/master
c: fd4609a
h: refs/heads/master
i:
  91649: 671f97a
  91647: 1e16c17
v: v3
  • Loading branch information
Marcin Slusarz authored and Herbert Xu committed Apr 21, 2008
1 parent c5fc401 commit 22a58fc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: f0df30b1f7f2bf8588613b2c012b8859b06849f1
refs/heads/master: fd4609a8e00a867303783ade62d67953fb72adc8
5 changes: 3 additions & 2 deletions trunk/crypto/lrw.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,9 @@ struct sinfo {

static inline void inc(be128 *iv)
{
if (!(iv->b = cpu_to_be64(be64_to_cpu(iv->b) + 1)))
iv->a = cpu_to_be64(be64_to_cpu(iv->a) + 1);
be64_add_cpu(&iv->b, 1);
if (!iv->b)
be64_add_cpu(&iv->a, 1);
}

static inline void lrw_round(struct sinfo *s, void *dst, const void *src)
Expand Down

0 comments on commit 22a58fc

Please sign in to comment.