X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=jh%2Fjh_simple_speed_core.c;fp=jh%2Fjh_simple_speed_core.c;h=6af0bf7ebbd19e6d1037e5eb7c4be94ea0eabcab;hb=3fdf0954404224cef94db2086348b3fa6020aaa4;hp=36a58208568586c4f13f73db2051c6faf297babc;hpb=4f19c43af8afeb3c569eb7b4aa15907832cf8e5c;p=arm-crypto-lib.git diff --git a/jh/jh_simple_speed_core.c b/jh/jh_simple_speed_core.c index 36a5820..6af0bf7 100644 --- a/jh/jh_simple_speed_core.c +++ b/jh/jh_simple_speed_core.c @@ -62,15 +62,6 @@ void jh_round(uint8_t* a, uint8_t roundno){ } } -static -uint8_t jh_l_inv(uint8_t a){ - uint8_t v,w; - v = a>>4; - w = a&0xf; - v ^= ((w<<1)^(w>>3)^((w>>2)&2))&0xf; - w ^= ((v<<1)^(v>>3)^((v>>2)&2))&0xf; - return w|(v<<4); -} static inline void group(uint8_t *a){