vhost/crypto: fix data length check