OSDN Git Service

random_seed: rewrite generic code.
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 11 Jun 2012 09:47:59 +0000 (11:47 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 11 Jun 2012 10:19:11 +0000 (12:19 +0200)
commit66531c75d3bfd8a013acd8bd3c04a131dae2a1a0
tree35603190093cb5b93515c9fcd4ced55a98ff4386
parent37f1a7d51d750f9bdf8bf6aba61f49bd9ae0565c
random_seed: rewrite generic code.

The new code is faster and reuses the previous state in case of
multiple calls. For testing the iterations are reduced and several
entropy sources are disabled.
Its based on SHA-1

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavutil/random_seed.c