]> git.cryptolib.org Git - arm-crypto-lib.git/blobdiff - jh/jh_simple_speed_core.c
added CAST5, CAST6, RC5 and RC6
[arm-crypto-lib.git] / jh / jh_simple_speed_core.c
index 36a58208568586c4f13f73db2051c6faf297babc..6af0bf7ebbd19e6d1037e5eb7c4be94ea0eabcab 100644 (file)
@@ -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){