Home
last modified time | relevance | path

Searched refs:list (Results 1 – 25 of 34) sorted by relevance

12

/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/asn1/der/choice/
A Dder_decode_choice.c28 LTC_ARGCHK(list != NULL); in der_decode_choice()
37 list[x].used = 0; in der_decode_choice()
42 size = list[x].size; in der_decode_choice()
43 data = list[x].data; in der_decode_choice()
45 switch (list[x].type) { in der_decode_choice()
49 list[x].used = 1; in der_decode_choice()
59 list[x].used = 1; in der_decode_choice()
79 list[x].used = 1; in der_decode_choice()
112 list[x].used = 1; in der_decode_choice()
175 list[x].used = 1; in der_decode_choice()
[all …]
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/asn1/der/custom_type/
A Dder_decode_custom_type.c63 LTC_ARGCHK(list != NULL); in der_decode_custom_type_ex()
98 list = root->data; in der_decode_custom_type_ex()
110 list = root; in der_decode_custom_type_ex()
133 list[i].used = 0; in der_decode_custom_type_ex()
143 type = list[i].type; in der_decode_custom_type_ex()
144 size = list[i].size; in der_decode_custom_type_ex()
145 data = list[i].data; in der_decode_custom_type_ex()
214 list[i].size = size; in der_decode_custom_type_ex()
226 list[i].size = size; in der_decode_custom_type_ex()
394 list[i].used = 1; in der_decode_custom_type_ex()
[all …]
A Dder_length_custom_type.c26 const ltc_asn1_list *list; in der_length_custom_type() local
41 list = root; in der_length_custom_type()
44 list = root->data; in der_length_custom_type()
49 type = (ltc_asn1_type)list[i].used; in der_length_custom_type()
51 type = list[i].type; in der_length_custom_type()
53 size = list[i].size; in der_length_custom_type()
54 data = list[i].data; in der_length_custom_type()
61 if (!list[i].used && list[i].optional) continue; in der_length_custom_type()
154 if ((err = der_length_custom_type(&list[i], &x, NULL)) != CRYPT_OK) { in der_length_custom_type()
A Dder_encode_custom_type.c29 const ltc_asn1_list *list; in der_encode_custom_type() local
54 list = root; in der_encode_custom_type()
62 list = root->data; in der_encode_custom_type()
76 type = (ltc_asn1_type)list[i].used; in der_encode_custom_type()
78 type = list[i].type; in der_encode_custom_type()
80 size = list[i].size; in der_encode_custom_type()
81 data = list[i].data; in der_encode_custom_type()
201 if ((err = der_encode_custom_type(&list[i], out + x, &z)) != CRYPT_OK) { in der_encode_custom_type()
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/asn1/der/sequence/
A Dder_length_sequence.c19 int der_length_sequence(const ltc_asn1_list *list, unsigned long inlen, in der_length_sequence() argument
22 return der_length_sequence_ex(list, inlen, outlen, NULL); in der_length_sequence()
25 int der_length_sequence_ex(const ltc_asn1_list *list, unsigned long inlen, in der_length_sequence_ex() argument
33 LTC_ARGCHK(list != NULL); in der_length_sequence_ex()
39 type = list[i].type; in der_length_sequence_ex()
40 size = list[i].size; in der_length_sequence_ex()
41 data = list[i].data; in der_length_sequence_ex()
48 if (!list[i].used && list[i].optional) continue; in der_length_sequence_ex()
141 if ((err = der_length_custom_type(&list[i], &x, NULL)) != CRYPT_OK) { in der_length_sequence_ex()
A Dder_encode_sequence_multi.c28 ltc_asn1_list *list; in der_encode_sequence_multi() local
84 list = XCALLOC(sizeof(*list), x); in der_encode_sequence_multi()
85 if (list == NULL) { in der_encode_sequence_multi()
119 LTC_SET_ASN1(list, x++, type, data, size); in der_encode_sequence_multi()
134 err = der_encode_sequence(list, x, out, outlen); in der_encode_sequence_multi()
136 XFREE(list); in der_encode_sequence_multi()
A Dder_decode_sequence_multi.c29 ltc_asn1_list *list; in s_der_decode_sequence_va() local
81 list = XCALLOC(sizeof(*list), x); in s_der_decode_sequence_va()
82 if (list == NULL) { in s_der_decode_sequence_va()
116 LTC_SET_ASN1(list, x++, type, data, size); in s_der_decode_sequence_va()
126 err = der_decode_sequence_ex(in, inlen, list, x, flags); in s_der_decode_sequence_va()
127 XFREE(list); in s_der_decode_sequence_va()
A Dder_encode_sequence_ex.c22 int der_encode_sequence_ex(const ltc_asn1_list *list, unsigned long inlen, in der_encode_sequence_ex() argument
30 LTC_ARGCHK(list != NULL); in der_encode_sequence_ex()
36 if ((err = der_length_sequence_ex(list, inlen, &y, &z)) != CRYPT_OK) return CRYPT_INVALID_ARG; in der_encode_sequence_ex()
58 type = list[i].type; in der_encode_sequence_ex()
59 size = list[i].size; in der_encode_sequence_ex()
60 data = list[i].data; in der_encode_sequence_ex()
180 if ((err = der_encode_custom_type(&list[i], out + x, &z)) != CRYPT_OK) { in der_encode_sequence_ex()
A Dder_decode_sequence_ex.c23 ltc_asn1_list *list, unsigned long outlen, unsigned int flags) in der_decode_sequence_ex() argument
25 return der_decode_custom_type_ex(in, inlen, NULL, list, outlen, flags); in der_decode_sequence_ex()
/optee_os-3.20.0/core/drivers/crypto/se050/adaptors/utils/
A Dutils.c26 uint8_t *list = NULL; in delete_transient_objects() local
38 list = calloc(1, len); in delete_transient_objects()
39 if (!list) in delete_transient_objects()
43 list, &len); in delete_transient_objects()
49 id = (list[i + 0] << (3 * 8)) | in delete_transient_objects()
50 (list[i + 1] << (2 * 8)) | in delete_transient_objects()
51 (list[i + 2] << (1 * 8)) | in delete_transient_objects()
52 (list[i + 3] << (0 * 8)); in delete_transient_objects()
66 free(list); in delete_transient_objects()
/optee_os-3.20.0/core/lib/libfdt/
A Dfdt_ro.c705 if (!list) in fdt_stringlist_count()
708 end = list + length; in fdt_stringlist_count()
711 length = strnlen(list, end - list) + 1; in fdt_stringlist_count()
717 list += length; in fdt_stringlist_count()
731 if (!list) in fdt_stringlist_search()
738 length = strnlen(list, end - list) + 1; in fdt_stringlist_search()
747 list += length; in fdt_stringlist_search()
762 if (!list) { in fdt_stringlist_get()
772 length = strnlen(list, end - list) + 1; in fdt_stringlist_get()
786 return list; in fdt_stringlist_get()
[all …]
/optee_os-3.20.0/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_pk.h551 #define LTC_SET_ASN1(list, index, Type, Data, Size) \ argument
554 ltc_asn1_list *LTC_MACRO_list = (list); \
565 #define LTC_SET_ASN1_IDENTIFIER(list, index, Class, Pc, Tag) \ argument
568 ltc_asn1_list *LTC_MACRO_list = (list); \
587 list[LTC_MACRO_temp##__LINE__].used = (int)(Type); \
603 #define der_encode_sequence(list, inlen, out, outlen) der_encode_sequence_ex(list, inlen, out, outl… argument
629 #define der_decode_sequence(in, inlen, list, outlen) der_decode_sequence_ex(in, inlen, list, outlen… argument
630 #define der_decode_sequence_strict(in, inlen, list, outlen) der_decode_sequence_ex(in, inlen, list,… argument
648 #define der_decode_set(in, inlen, list, outlen) der_decode_sequence_ex(in, inlen, list, outlen, LTC… argument
650 int der_encode_set(const ltc_asn1_list *list, unsigned long inlen,
[all …]
/optee_os-3.20.0/lib/libmbedtls/mbedtls/
A DSUPPORT.md9 - the [Mbed TLS mailing-list
10 archives](https://lists.trustedfirmware.org/archives/list/mbed-tls@lists.trustedfirmware.org/).
15 mailing list](https://lists.trustedfirmware.org/mailman3/lists/mbed-tls.lists.trustedfirmware.org).
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/asn1/der/set/
A Dder_encode_setof.c53 int der_encode_setof(const ltc_asn1_list *list, unsigned long inlen, in der_encode_setof() argument
64 if (list[x].type != list[x-1].type) { in der_encode_setof()
76 if ((err = der_encode_sequence_ex(list, inlen, buf, outlen, LTC_ASN1_SETOF)) != CRYPT_OK) { in der_encode_setof()
A Dder_encode_set.c42 int der_encode_set(const ltc_asn1_list *list, unsigned long inlen, in der_encode_set() argument
57 copy[x] = list[x]; in der_encode_set()
/optee_os-3.20.0/core/drivers/scmi-msg/
A Dbase.c139 const uint8_t *list = NULL; in discover_list_protocols() local
149 list = plat_scmi_protocol_list(msg->channel_id); in discover_list_protocols()
150 count = count_protocols_in_list(list); in discover_list_protocols()
159 memcpy(msg->out + sizeof(p2a), list + a2p->skip, count); in discover_list_protocols()
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/
A Dasn1parse.c464 mbedtls_asn1_named_data *mbedtls_asn1_find_named_data( mbedtls_asn1_named_data *list, in mbedtls_asn1_find_named_data() argument
467 while( list != NULL ) in mbedtls_asn1_find_named_data()
469 if( list->oid.len == len && in mbedtls_asn1_find_named_data()
470 memcmp( list->oid.p, oid, len ) == 0 ) in mbedtls_asn1_find_named_data()
475 list = list->next; in mbedtls_asn1_find_named_data()
478 return( list ); in mbedtls_asn1_find_named_data()
A Dasn1write.c400 mbedtls_asn1_named_data *list, in asn1_find_named_data() argument
403 while( list != NULL ) in asn1_find_named_data()
405 if( list->oid.len == len && in asn1_find_named_data()
406 memcmp( list->oid.p, oid, len ) == 0 ) in asn1_find_named_data()
411 list = list->next; in asn1_find_named_data()
414 return( list ); in asn1_find_named_data()
/optee_os-3.20.0/
A DLICENSE11 this list of conditions and the following disclaimer.
14 this list of conditions and the following disclaimer in the documentation
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/ecc/
A Decc_import_pkcs8.c13 #define LTC_SET_DER_FLEXI_CHECK(list, index, Type, P) \ argument
16 list[LTC_SDFC_temp##__LINE__].t = Type; \
17 list[LTC_SDFC_temp##__LINE__].pp = P; \
/optee_os-3.20.0/lib/libutils/isoc/arch/arm/softfloat/
A DCOPYING.txt17 this list of conditions, and the following disclaimer.
20 notice, this list of conditions, and the following disclaimer in the
/optee_os-3.20.0/core/drivers/crypto/caam/utils/
A Dutils_dmaobj.c96 TAILQ_HEAD(dmalist, dmaentry) list;
163 TAILQ_INIT(&priv->list); in allocate_private()
214 TAILQ_INSERT_HEAD(&priv->list, entry, link); in dmalist_add_entry_head()
238 if (TAILQ_EMPTY(&priv->list)) in dmalist_add_entry()
239 TAILQ_INSERT_HEAD(&priv->list, entry, link); in dmalist_add_entry()
241 TAILQ_INSERT_TAIL(&priv->list, entry, link); in dmalist_add_entry()
267 if (TAILQ_FIRST(&priv->list) == before) in dmalist_insert_before_entry()
268 TAILQ_INSERT_HEAD(&priv->list, entry, link); in dmalist_insert_before_entry()
296 TAILQ_INSERT_AFTER(&priv->list, after, entry, link); in dmalist_insert_after_entry()
361 TAILQ_FOREACH(entry, &priv->list, link) { in check_buffer_alignment()
[all …]
/optee_os-3.20.0/lib/libmbedtls/mbedtls/include/mbedtls/
A Dasn1write.h361 mbedtls_asn1_named_data *mbedtls_asn1_store_named_data( mbedtls_asn1_named_data **list,
A Dasn1.h587 mbedtls_asn1_named_data *mbedtls_asn1_find_named_data( mbedtls_asn1_named_data *list,
/optee_os-3.20.0/core/arch/arm/dts/
A Ddt_driver_test.dtsi21 * list by related drivers (here all simple-bus).

Completed in 28 milliseconds

12