mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-06-02 02:43:52 +08:00
libsodium: Disable unused function
This commit is contained in:
parent
303dbe5f05
commit
054f66bfff
@ -72,12 +72,14 @@ crypto_onetimeauth_poly1305_statebytes(void)
|
||||
return sizeof(crypto_onetimeauth_poly1305_state);
|
||||
}
|
||||
|
||||
#ifndef __rtems__
|
||||
void
|
||||
crypto_onetimeauth_poly1305_keygen(
|
||||
unsigned char k[crypto_onetimeauth_poly1305_KEYBYTES])
|
||||
{
|
||||
randombytes_buf(k, crypto_onetimeauth_poly1305_KEYBYTES);
|
||||
}
|
||||
#endif /* __rtems__ */
|
||||
|
||||
int
|
||||
_crypto_onetimeauth_poly1305_pick_best_implementation(void)
|
||||
|
Loading…
x
Reference in New Issue
Block a user