def test_scheduler_aes_cbc_sha2_hmac(self): if cc.is_test_skip(self): return eal_opt_str = cc.get_eal_opt_str(self) crypto_perf_opt_str = self._get_crypto_perf_opt_str() result = self._run_crypto_perf_throughput( eal_opt_str, crypto_perf_opt_str, "scheduler_aes_cbc_sha2_hmac") self.verify(result, "Test failed")
def test_qat_aes_cbc_sha1_hmac(self): if cc.is_test_skip(self): return eal_opt_str = cc.get_eal_opt_str(self, {"vdev": None}) crypto_perf_opt_str = self._get_crypto_perf_opt_str() result = self._run_crypto_perf_throughput(eal_opt_str, crypto_perf_opt_str, "qat_aes_cbc_sha1_hmac") self.verify(result, "Test failed")
def test_sw_zuc(self): if cc.is_test_skip(self): return eal_opt_str = cc.get_eal_opt_str(self, {"w": None}) crypto_perf_opt_str = self._get_crypto_perf_opt_str() result = self._run_crypto_perf_throughput(eal_opt_str, crypto_perf_opt_str, "sw_zuc") self.verify(result, "Test failed")
def test_sw_aes_128_ctr_ipv6_transport(self): if cc.is_test_skip(self): return self.logger.info("Test sw_aes_128_ctr_ipv6_transport") self.pcap_filename = "test_sw_aes_128_ctr_ipv6_transport" ipsec_gw_opt_str = self._get_ipsec_gw_opt_str() self.logger.debug(ipsec_gw_opt_str) result = self._execute_ipsec_gw_test(ipsec_gw_opt_str) self.verify(result, "FAIL")
def test_sw_aes_gcm_ipv4_tunnel(self): if cc.is_test_skip(self): return self.logger.info("Test sw_aes_gcm_ipv4_tunnel") self.pcap_filename = "test_sw_aes_gcm_ipv4_tunnel" ipsec_gw_opt_str = self._get_ipsec_gw_opt_str() self.logger.debug(ipsec_gw_opt_str) result = self._execute_ipsec_gw_test(ipsec_gw_opt_str) self.verify(result, "FAIL")
def test_virtio_aes_cbc_sha1_hmac(self): if cc.is_test_skip(self): return eal_opt_str = cc.get_eal_opt_str(self, {"vdev": None}) crypto_perf_opt_str = cc.get_opt_str(self, self._default_crypto_perf_opts) out = self._run_crypto_perf(eal_opt_str, crypto_perf_opt_str) self.logger.info(out) self.verify("Failed" not in out, "Test fail") self.verify("Error" not in out, "Test fail")