test/crypto: fix autotest function parameters