+9
−0
+1
−0
+2
−0
crypto/seqiv.c
0 → 100644
+186
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
This generator generates an IV based on a sequence number by xoring it
with a salt. This algorithm is mainly useful for CTR and similar modes.
This patch also sets it as the default IV generator for ctr.
Signed-off-by:
Herbert Xu <herbert@gondor.apana.org.au>