]> git.karo-electronics.de Git - karo-tx-linux.git/commit
random: simplify fips mode
authorMatt Mackall <mpm@selenic.com>
Thu, 20 May 2010 09:55:01 +0000 (19:55 +1000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 20 May 2010 09:55:01 +0000 (19:55 +1000)
commite954bc91bdd4bb08b8325478c5004b24a23a3522
treeaa5affa35b799f8a71a6b6740c9828832e05085c
parent921bae54693f26d01fb8e10ee6968b5cd8184551
random: simplify fips mode

Rather than dynamically allocate 10 bytes, move it to static allocation.
This saves space and avoids the need for error checking.

Signed-off-by: Matt Mackall <mpm@selenic.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/random.c