mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-07-22 07:58:31 +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);
|
return sizeof(crypto_onetimeauth_poly1305_state);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef __rtems__
|
||||||
void
|
void
|
||||||
crypto_onetimeauth_poly1305_keygen(
|
crypto_onetimeauth_poly1305_keygen(
|
||||||
unsigned char k[crypto_onetimeauth_poly1305_KEYBYTES])
|
unsigned char k[crypto_onetimeauth_poly1305_KEYBYTES])
|
||||||
{
|
{
|
||||||
randombytes_buf(k, crypto_onetimeauth_poly1305_KEYBYTES);
|
randombytes_buf(k, crypto_onetimeauth_poly1305_KEYBYTES);
|
||||||
}
|
}
|
||||||
|
#endif /* __rtems__ */
|
||||||
|
|
||||||
int
|
int
|
||||||
_crypto_onetimeauth_poly1305_pick_best_implementation(void)
|
_crypto_onetimeauth_poly1305_pick_best_implementation(void)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user