crypto: fix cipher function signature mismatch with nettle & xts