xous-core/services/engine-sha512
bunnie e288286bda reduce binary burden of backup SHA implementations
When the hardware engine is unavailable, the implementation
falls back to a software SHA. This code path is actually
rarely used, but it is the top object code consumer according
to our bloat analysis tool (40kiB for each instance of
the compress function alone).

This patch annotates the SHA functions with `#[inline(never)]`
to reduce the size of these rarely-used functions.

...it might actually be that on our small-cache system,
reducing the in-lining could improve performance as well
because it helps the whole routine fit inside L2 cache.

Anyways, it's a rarely-used path (I've never seen the code
used once tbh) so let's reduce its overhead and keep
Xous trim.
2022-06-10 18:02:52 +08:00
..
src reduce binary burden of backup SHA implementations 2022-06-10 18:02:52 +08:00
Cargo.toml clarify the dependency policy 2022-01-10 16:50:10 +08:00