gost28147: inline gost_val function to speed up code
* cipher/gost28147.c (gost_val): mark function as inline
This improves the speed of the cipher
Cipher:
GOST28147 | nanosecs/byte mebibytes/sec cycles/byte
Before:
ECB enc | 18.89 ns/B 50.48 MiB/s - c/B ECB dec | 18.71 ns/B 50.96 MiB/s - c/B
After:
ECB enc | 17.83 ns/B 53.48 MiB/s - c/B ECB dec | 17.38 ns/B 54.89 MiB/s - c/B
- Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>