Home
last modified time | relevance | path

Searched refs:blen (Results 1 – 9 of 9) sorted by relevance

/optee_test-3.20.0/host/xtest/
A Dregression_2000.c29 size_t blen; member
270 size_t blen = 0; in xtest_tee_test_2001() local
316 ADBG_EXPECT_BUFFER(c, buf2, blen, buf, blen); in xtest_tee_test_2001()
565 size_t blen = 0; in xtest_tee_test_2003() local
605 blen = blen0; in xtest_tee_test_2003()
617 blen = blen0; in xtest_tee_test_2003()
676 size_t blen = 0; in test_2004_send_recv() local
686 blen = send_sz; in test_2004_send_recv()
697 blen = 0; in test_2004_send_recv()
709 blen = recv_sz; in test_2004_send_recv()
[all …]
A Dxtest_helpers.c128 uint8_t **buf, size_t *blen) in pack_attrs() argument
136 *blen = 0; in pack_attrs()
157 *blen = bl; in pack_attrs()
202 size_t blen = 0; in ta_crypt_cmd_populate_transient_object() local
204 res = pack_attrs(attrs, attr_count, &buf, &blen); in ta_crypt_cmd_populate_transient_object()
212 op.params[1].tmpref.size = blen; in ta_crypt_cmd_populate_transient_object()
290 size_t blen = 0; in ta_crypt_cmd_derive_key() local
304 op.params[1].tmpref.size = blen; in ta_crypt_cmd_derive_key()
325 void *buf, size_t *blen) in ta_crypt_cmd_get_object_buffer_attribute() argument
336 op.params[1].tmpref.size = *blen; in ta_crypt_cmd_get_object_buffer_attribute()
[all …]
A Dxtest_helpers.h85 size_t *blen);
104 uint8_t **buf, size_t *blen);
A Drand_stream.c46 static void get_random(struct rand_stream *rs, uint8_t *buf, size_t blen) in get_random() argument
49 size_t l = blen; in get_random()
A Dinstall_ta.c60 static void install_ta(TEEC_Session *sess, void *buf, size_t blen) in install_ta() argument
69 op.params[0].tmpref.size = blen; in install_ta()
A Dregression_4000.c417 size_t blen) in ta_crypt_cmd_random_number_generate() argument
424 op.params[0].tmpref.size = blen; in ta_crypt_cmd_random_number_generate()
437 (void)ADBG_EXPECT_COMPARE_UNSIGNED(c, blen, ==, in ta_crypt_cmd_random_number_generate()
643 size_t blen = 0; in ta_crypt_cmd_asymmetric_operate() local
645 res = pack_attrs(params, paramCount, &buf, &blen); in ta_crypt_cmd_asymmetric_operate()
653 op.params[1].tmpref.size = blen; in ta_crypt_cmd_asymmetric_operate()
741 size_t blen = 0; in ta_crypt_cmd_asymmetric_verify() local
743 res = pack_attrs(params, paramCount, &buf, &blen); in ta_crypt_cmd_asymmetric_verify()
751 op.params[1].tmpref.size = blen; in ta_crypt_cmd_asymmetric_verify()
820 size_t blen = 0; in ta_crypt_cmd_generate_key() local
[all …]
/optee_test-3.20.0/ta/crypt/
A Dmbedtls_taf.c122 size_t *blen) in write_cert() argument
128 ret = mbedtls_x509write_crt_pem(crt, buf, *blen, f_rng, NULL); in write_cert()
147 *blen = strlen(b) + 1; in write_cert()
A Dcryp_taf.c406 static TEE_Result unpack_attrs(const uint8_t *buf, size_t blen, in unpack_attrs() argument
415 if (blen == 0) in unpack_attrs()
418 if (((uintptr_t)buf & 0x3) != 0 || blen < num_attrs_size) in unpack_attrs()
421 if ((blen - num_attrs_size) < (num_attrs * sizeof(*ap))) in unpack_attrs()
444 if ((p + a[n].content.ref.length) > blen) { in unpack_attrs()
/optee_test-3.20.0/host/xtest/gp/include/
A Dxml_datastorage_api.h1862 size_t blen) in check_values() argument
1866 if (blen != sizeof(uint32_t) * 2) in check_values()

Completed in 66 milliseconds