crypto: check if netio crypto key is set if callbacks are enabled