Clang doesn't support push_options, pop_options and optimize pragmas. Since "Ofast" is only applied to rng_pool_get() we can use function attributes instead of pragmas. Please note that clang doesn't support applying optimizations to functions. This change was verified by comparing assembler output. Signed-off-by: Patryk Duda <pdk@semihalf.com> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| entropy_b91_trng.c | ||
| entropy_bt_hci.c | ||
| entropy_cc13xx_cc26xx.c | ||
| entropy_esp32.c | ||
| entropy_gecko_se.c | ||
| entropy_gecko_trng.c | ||
| entropy_handlers.c | ||
| entropy_litex.c | ||
| entropy_mcux_caam.c | ||
| entropy_mcux_css.c | ||
| entropy_mcux_rng.c | ||
| entropy_mcux_rnga.c | ||
| entropy_mcux_trng.c | ||
| entropy_neorv32_trng.c | ||
| entropy_nrf5.c | ||
| entropy_psa_crypto.c | ||
| entropy_rv32m1_trng.c | ||
| entropy_sam.c | ||
| entropy_smartbond.c | ||
| entropy_stm32.c | ||
| fake_entropy_native_posix.c | ||
| Kconfig | ||
| Kconfig.b91 | ||
| Kconfig.bt_hci | ||
| Kconfig.cc13xx_cc26xx | ||
| Kconfig.esp32 | ||
| Kconfig.gecko | ||
| Kconfig.litex | ||
| Kconfig.mcux | ||
| Kconfig.native_posix | ||
| Kconfig.neorv32 | ||
| Kconfig.nrf5 | ||
| Kconfig.psa_crypto | ||
| Kconfig.rv32m1 | ||
| Kconfig.sam | ||
| Kconfig.smartbond | ||
| Kconfig.stm32 | ||