| /optee_test/host/xtest/ |
| A D | regression_5000.c | 169 uint8_t val[] = { 54, 76, 98, 32 }; in Allocate_InOut() local 193 uint8_t val[] = { 32, 65, 43, 21, 98 }; in Register_In() local 199 shm.buffer = val; in Register_In() 219 uint8_t val[] = { 56, 67, 78, 99 }; in Register_notZeroLength_Out() local 225 shm.buffer = val; in Register_notZeroLength_Out() 251 shm.buffer = val; in Register_InOut() 269 uint8_t val[] = { 65, 76, 98, 32 }; in Register_zeroLength_Out() local 276 shm.buffer = val; in Register_zeroLength_Out() 401 shm.buffer = val; in RegisterSameMemory_twice() 454 uint8_t val[SHM_32K_SIZE] = { }; in Register_sharedMemory_32k() local [all …]
|
| A D | regression_2000.c | 545 int val = 0; in test_2003_accept_cb() local 550 val = 4 * 1024; in test_2003_accept_cb() 551 if (setsockopt(fd, SOL_SOCKET, SO_RCVBUF, &val, sizeof(val))) in test_2003_accept_cb() 566 uint32_t val = 0; in xtest_tee_test_2003() local 587 blen = sizeof(val); in xtest_tee_test_2003() 588 val = 4 * 1024; in xtest_tee_test_2003() 590 TEE_TCP_SET_RECVBUF, &val, &blen, &ret_orig))) in xtest_tee_test_2003() 593 blen = sizeof(val); in xtest_tee_test_2003() 594 val = 4 * 1024; in xtest_tee_test_2003() 596 TEE_TCP_SET_SENDBUF, &val, &blen, &ret_orig))) in xtest_tee_test_2003()
|
| A D | regression_4100.c | 583 uint32_t h, int32_t *val) in cmd_get_value_s32() argument 596 *val = op.params[1].value.a; in cmd_get_value_s32() 917 const char str[], int32_t val, in compare_s32() argument 932 res = cmd_cmp_s32(c, s, h, val, &cres); in compare_s32() 982 int32_t val; in test_4104() member 1015 data_s32[n].str, data_s32[n].val, in test_4104() 1225 const char *val; in test_4106() member 1246 &session, data[n].val, h1))) in test_4106() 2633 uint32_t val = 0; in test_4116() local 2649 !ADBG_EXPECT_COMPARE_SIGNED(c, val, ==, 0)) in test_4116() [all …]
|
| /optee_test/scripts/ |
| A D | rsp_to_gcm_test.py | 12 def to_compound_str(val): argument 13 assert len(val) % 2 == 0, "Only even sized values supported" 14 if len(val) > 0: 16 a = re.findall('..', val) 20 b += "}, " + repr(len(val) / 2) + "," 113 val = s[1]
|
| A D | aes_gcm_test.py | 12 def to_compound_str(name, val): argument 13 assert len(val) % 2 == 0, "Only even sized values supported" 14 if len(val) > 0: 16 a = re.findall('..', val) 20 b += "},\n\t" + name + "_len = " + repr((int)(len(val) / 2)) + ","
|
| /optee_test/ta/os_test_lib/ |
| A D | os_test_lib_cxx.cpp | 13 OsTestLibCtorTest() : val(2) {} in OsTestLibCtorTest() 15 int val; member in OsTestLibCtorTest 22 if (os_test_lib_ctor_test.val != 2) in os_test_shlib_cxx_ctor()
|
| /optee_test/ta/os_test_lib_dl/ |
| A D | os_test_lib_dl_cxx.cpp | 13 OsTestLibDlCtorTest() : val(2) {} in OsTestLibDlCtorTest() 15 int val; member in OsTestLibDlCtorTest 22 if (os_test_lib_dl_ctor_test.val != 2) in os_test_shlib_dl_cxx_ctor()
|
| /optee_test/ta/os_test/ |
| A D | cxx_tests.cpp | 20 CtorTest() : val(1) {} in CtorTest() 22 int val; member in CtorTest 29 if (ctor_test.val != 1) in ta_entry_cxx_ctor_main()
|
| /optee_test/ta/crypt/ |
| A D | cryp_taf.c | 43 if (val) { in op_handle_put() 44 h = handle_put(&op_db, val - 1); in op_handle_put() 46 EMSG("Invalid handle 0x%"PRIx32, val); in op_handle_put() 58 if (val) { in op_handle_lookup() 59 h = handle_lookup(&op_db, val - 1); in op_handle_lookup() 61 EMSG("Invalid handle 0x%"PRIx32, val); in op_handle_lookup() 86 if (val) { in obj_handle_put() 87 h = handle_put(&obj_db, val - 1); in obj_handle_put() 89 EMSG("Invalid handle 0x%"PRIx32, val); in obj_handle_put() 101 if (val) { in obj_handle_lookup() [all …]
|
| /optee_test/host/xtest/gp/include/ |
| A D | xml_client_api.h | 189 #define TEEC_defineMemoryContent_sharedMemory(sh_mem, val, size_val) \ argument 190 memcpy(sh_mem->buffer, &val, size_val) 193 #define TEEC_defineMemoryContent_tmpMemory(buf, val, size_val) \ argument 194 memcpy(buf, &(val), size_val)
|
| A D | xml_crypto_api.h | 2703 const void *val; member 2798 if (attr == dsa_key_vals[n].priv.val || in get_dsa_key_vals() 2799 attr == dsa_key_vals[n].pub.val || in get_dsa_key_vals() 2800 attr == dsa_key_vals[n].prime.val || in get_dsa_key_vals() 2802 attr == dsa_key_vals[n].base.val) { in get_dsa_key_vals() 2817 attr == ecdsa_key_vals[n].x.val || in get_ecdsa_key_vals() 2818 attr == ecdsa_key_vals[n].y.val) in get_ecdsa_key_vals() 2831 if (attr == rsa_key_vals[n].priv.val || in get_rsa_key_vals() 2832 attr == rsa_key_vals[n].mod.val || in get_rsa_key_vals() 2833 attr == rsa_key_vals[n].pub.val) in get_rsa_key_vals() [all …]
|
| A D | xml_internal_api.h | 240 static uint64_t value_to_u64(TEEC_Value *val) in value_to_u64() argument 242 return ((uint64_t)val->b << 32) | val->a; in value_to_u64()
|