crypto: get rid of compiler warnings