Lines Matching refs:eaccept_op

388 	struct encl_op_eaccept eaccept_op;  variable
470 eaccept_op.flags = SGX_SECINFO_TRIM | SGX_SECINFO_MODIFIED;
471 eaccept_op.header.type = ENCL_OP_EACCEPT;
476 eaccept_op.epc_addr = addr + i;
477 eaccept_op.ret = 0;
479 EXPECT_EQ(ENCL_CALL(&eaccept_op, &self->run, true), 0);
484 ASSERT_EQ(eaccept_op.ret, 0);
783 struct encl_op_eaccept eaccept_op; in TEST_F() local
883 eaccept_op.epc_addr = data_start; in TEST_F()
884 eaccept_op.flags = SGX_SECINFO_R | SGX_SECINFO_REG | SGX_SECINFO_PR; in TEST_F()
885 eaccept_op.ret = 0; in TEST_F()
886 eaccept_op.header.type = ENCL_OP_EACCEPT; in TEST_F()
888 EXPECT_EQ(ENCL_CALL(&eaccept_op, &self->run, true), 0); in TEST_F()
894 EXPECT_EQ(eaccept_op.ret, 0); in TEST_F()
981 struct encl_op_eaccept eaccept_op; in TEST_F() local
1058 eaccept_op.epc_addr = self->encl.encl_base + total_size; in TEST_F()
1059 eaccept_op.flags = SGX_SECINFO_R | SGX_SECINFO_W | SGX_SECINFO_REG | SGX_SECINFO_PENDING; in TEST_F()
1060 eaccept_op.ret = 0; in TEST_F()
1061 eaccept_op.header.type = ENCL_OP_EACCEPT; in TEST_F()
1063 EXPECT_EQ(ENCL_CALL(&eaccept_op, &self->run, true), 0); in TEST_F()
1069 EXPECT_EQ(eaccept_op.ret, 0); in TEST_F()
1111 struct encl_op_eaccept eaccept_op; in TEST_F() local
1159 eaccept_op.epc_addr = self->encl.encl_base + total_size; in TEST_F()
1160 eaccept_op.flags = SGX_SECINFO_R | SGX_SECINFO_W | SGX_SECINFO_REG | SGX_SECINFO_PENDING; in TEST_F()
1161 eaccept_op.ret = 0; in TEST_F()
1162 eaccept_op.header.type = ENCL_OP_EACCEPT; in TEST_F()
1164 EXPECT_EQ(ENCL_CALL(&eaccept_op, &self->run, true), 0); in TEST_F()
1177 EXPECT_EQ(eaccept_op.ret, 0); in TEST_F()
1234 struct encl_op_eaccept eaccept_op; in TEST_F() local
1308 eaccept_op.epc_addr = (unsigned long)stack_end; in TEST_F()
1309 eaccept_op.flags = SGX_SECINFO_R | SGX_SECINFO_W | SGX_SECINFO_REG | SGX_SECINFO_PENDING; in TEST_F()
1310 eaccept_op.ret = 0; in TEST_F()
1311 eaccept_op.header.type = ENCL_OP_EACCEPT; in TEST_F()
1313 EXPECT_EQ(ENCL_CALL(&eaccept_op, &self->run, true), 0); in TEST_F()
1326 EXPECT_EQ(eaccept_op.ret, 0); in TEST_F()
1328 eaccept_op.epc_addr = (unsigned long)ssa; in TEST_F()
1330 EXPECT_EQ(ENCL_CALL(&eaccept_op, &self->run, true), 0); in TEST_F()
1336 EXPECT_EQ(eaccept_op.ret, 0); in TEST_F()
1338 eaccept_op.epc_addr = (unsigned long)tcs; in TEST_F()
1340 EXPECT_EQ(ENCL_CALL(&eaccept_op, &self->run, true), 0); in TEST_F()
1346 EXPECT_EQ(eaccept_op.ret, 0); in TEST_F()
1390 eaccept_op.epc_addr = (unsigned long)tcs; in TEST_F()
1391 eaccept_op.flags = SGX_SECINFO_TCS | SGX_SECINFO_MODIFIED; in TEST_F()
1392 eaccept_op.ret = 0; in TEST_F()
1393 eaccept_op.header.type = ENCL_OP_EACCEPT; in TEST_F()
1395 EXPECT_EQ(ENCL_CALL(&eaccept_op, &self->run, true), 0); in TEST_F()
1401 EXPECT_EQ(eaccept_op.ret, 0); in TEST_F()
1458 eaccept_op.epc_addr = (unsigned long)stack_end; in TEST_F()
1459 eaccept_op.flags = SGX_SECINFO_TRIM | SGX_SECINFO_MODIFIED; in TEST_F()
1460 eaccept_op.ret = 0; in TEST_F()
1461 eaccept_op.header.type = ENCL_OP_EACCEPT; in TEST_F()
1463 EXPECT_EQ(ENCL_CALL(&eaccept_op, &self->run, true), 0); in TEST_F()
1469 EXPECT_EQ(eaccept_op.ret, 0); in TEST_F()
1471 eaccept_op.epc_addr = (unsigned long)tcs; in TEST_F()
1472 eaccept_op.ret = 0; in TEST_F()
1474 EXPECT_EQ(ENCL_CALL(&eaccept_op, &self->run, true), 0); in TEST_F()
1480 EXPECT_EQ(eaccept_op.ret, 0); in TEST_F()
1482 eaccept_op.epc_addr = (unsigned long)ssa; in TEST_F()
1483 eaccept_op.ret = 0; in TEST_F()
1485 EXPECT_EQ(ENCL_CALL(&eaccept_op, &self->run, true), 0); in TEST_F()
1491 EXPECT_EQ(eaccept_op.ret, 0); in TEST_F()
1510 eaccept_op.epc_addr = (unsigned long)tcs; in TEST_F()
1511 eaccept_op.flags = SGX_SECINFO_R | SGX_SECINFO_W | SGX_SECINFO_REG | SGX_SECINFO_PENDING; in TEST_F()
1512 eaccept_op.ret = 0; in TEST_F()
1513 eaccept_op.header.type = ENCL_OP_EACCEPT; in TEST_F()
1515 EXPECT_EQ(ENCL_CALL(&eaccept_op, &self->run, true), 0); in TEST_F()
1521 EXPECT_EQ(eaccept_op.ret, 0); in TEST_F()
1793 struct encl_op_eaccept eaccept_op; in TEST_F() local
1879 eaccept_op.epc_addr = (unsigned long)data_start; in TEST_F()
1880 eaccept_op.ret = 0; in TEST_F()
1881 eaccept_op.flags = SGX_SECINFO_TRIM | SGX_SECINFO_MODIFIED; in TEST_F()
1882 eaccept_op.header.type = ENCL_OP_EACCEPT; in TEST_F()
1884 EXPECT_EQ(ENCL_CALL(&eaccept_op, &self->run, true), 0); in TEST_F()
1890 EXPECT_EQ(eaccept_op.ret, 0); in TEST_F()
1917 struct encl_op_eaccept eaccept_op; in TEST_F() local
1969 eaccept_op.epc_addr = data_start; in TEST_F()
1970 eaccept_op.flags = SGX_SECINFO_TRIM | SGX_SECINFO_MODIFIED; in TEST_F()
1971 eaccept_op.ret = 0; in TEST_F()
1972 eaccept_op.header.type = ENCL_OP_EACCEPT; in TEST_F()
1974 EXPECT_EQ(ENCL_CALL(&eaccept_op, &self->run, true), 0); in TEST_F()
1979 EXPECT_EQ(eaccept_op.ret, 0); in TEST_F()