crypto-input: fix broken buffer trace issue