Lines Matching refs:handle
21 uint32_t num_bits, uint32_t *handle) in cmd_new_var() argument
33 *handle = op.params[1].value.a; in cmd_new_var()
39 uint32_t num_bits, uint32_t *handle) in cmd_new_fmm_var() argument
52 *handle = op.params[1].value.a; in cmd_new_fmm_var()
59 uint32_t *handle) in cmd_new_fmm_ctx() argument
73 *handle = op.params[1].value.a; in cmd_new_fmm_ctx()
79 uint32_t handle) in cmd_free_handle() argument
81 if (handle == TA_CRYPT_ARITH_INVALID_HANDLE) in cmd_free_handle()
88 op.params[0].value.a = handle; in cmd_free_handle()
121 uint32_t handle, int32_t v) in cmd_from_s32() argument
127 op.params[0].value.a = handle; in cmd_from_s32()
139 uint32_t handle, uint32_t bit_num, uint32_t *v) in cmd_get_bit() argument
145 op.params[0].value.a = handle; in cmd_get_bit()
158 uint32_t handle, uint32_t *v) in cmd_get_bit_count() argument
164 op.params[0].value.a = handle; in cmd_get_bit_count()
613 uint32_t handle = TA_CRYPT_ARITH_INVALID_HANDLE; in test_4101() local
623 cmd_new_var(c, &session, 512, &handle))) in test_4101()
626 handle, !=, TA_CRYPT_ARITH_INVALID_HANDLE)) in test_4101()
628 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_free_handle(c, &session, handle))) in test_4101()
636 cmd_new_var(c, &session, 0, &handle))) in test_4101()
639 handle, !=, TA_CRYPT_ARITH_INVALID_HANDLE)) in test_4101()
641 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_free_handle(c, &session, handle))) in test_4101()
649 cmd_new_var(c, &session, 4096, &handle))) in test_4101()
652 handle, !=, TA_CRYPT_ARITH_INVALID_HANDLE)) in test_4101()
654 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_free_handle(c, &session, handle))) in test_4101()
662 cmd_new_var(c, &session, 2048, &handle))) in test_4101()
665 handle, !=, TA_CRYPT_ARITH_INVALID_HANDLE)) in test_4101()
667 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_free_handle(c, &session, handle))) in test_4101()
671 cmd_new_var(c, &session, 2049, &handle))) in test_4101()
674 handle, !=, TA_CRYPT_ARITH_INVALID_HANDLE)) in test_4101()
676 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_free_handle(c, &session, handle))) in test_4101()