1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-19 18:15:18 -07:00

Implement randombytes_set_implementation()

This commit is contained in:
Frank Denis 2013-01-21 13:52:37 -08:00
parent 5788f3d6a8
commit 8a54e2efa8

View File

@ -16,6 +16,14 @@ static randombytes_implementation implementation = {
.randombytes_close = salsa20_random_close
};
int
randombytes_set_implementation(randombytes_implementation *impl)
{
implementation = *impl;
return 0;
}
const char *
randombytes_implementation_name(void)
{