/optee_os/core/lib/libtomcrypt/src/pk/asn1/der/choice/ |
A D | der_decode_choice.c | 35 LTC_ARGCHK(list != NULL); in der_decode_choice() 44 list[x].used = 0; in der_decode_choice() 49 size = list[x].size; in der_decode_choice() 50 data = list[x].data; in der_decode_choice() 52 switch (list[x].type) { in der_decode_choice() 56 list[x].used = 1; in der_decode_choice() 66 list[x].used = 1; in der_decode_choice() 86 list[x].used = 1; in der_decode_choice() 119 list[x].used = 1; in der_decode_choice() 182 list[x].used = 1; in der_decode_choice() [all …]
|
/optee_os/core/lib/libtomcrypt/src/pk/asn1/der/custom_type/ |
A D | der_decode_custom_type.c | 70 LTC_ARGCHK(list != NULL); in der_decode_custom_type_ex() 105 list = root->data; in der_decode_custom_type_ex() 117 list = root; in der_decode_custom_type_ex() 140 list[i].used = 0; in der_decode_custom_type_ex() 150 type = list[i].type; in der_decode_custom_type_ex() 151 size = list[i].size; in der_decode_custom_type_ex() 152 data = list[i].data; in der_decode_custom_type_ex() 205 list[i].size = size; in der_decode_custom_type_ex() 217 list[i].size = size; in der_decode_custom_type_ex() 385 list[i].used = 1; in der_decode_custom_type_ex() [all …]
|
A D | der_length_custom_type.c | 33 const ltc_asn1_list *list; in der_length_custom_type() local 48 list = root; in der_length_custom_type() 51 list = root->data; in der_length_custom_type() 56 type = (ltc_asn1_type)list[i].used; in der_length_custom_type() 58 type = list[i].type; in der_length_custom_type() 60 size = list[i].size; in der_length_custom_type() 61 data = list[i].data; in der_length_custom_type() 68 if (!list[i].used && list[i].optional) continue; in der_length_custom_type() 161 if ((err = der_length_custom_type(&list[i], &x, NULL)) != CRYPT_OK) { in der_length_custom_type()
|
A D | der_encode_custom_type.c | 36 const ltc_asn1_list *list; in der_encode_custom_type() local 61 list = root; in der_encode_custom_type() 69 list = root->data; in der_encode_custom_type() 83 type = (ltc_asn1_type)list[i].used; in der_encode_custom_type() 85 type = list[i].type; in der_encode_custom_type() 87 size = list[i].size; in der_encode_custom_type() 88 data = list[i].data; in der_encode_custom_type() 208 if ((err = der_encode_custom_type(&list[i], out + x, &z)) != CRYPT_OK) { in der_encode_custom_type()
|
/optee_os/core/lib/libtomcrypt/src/pk/asn1/der/sequence/ |
A D | der_length_sequence.c | 26 int der_length_sequence(const ltc_asn1_list *list, unsigned long inlen, in der_length_sequence() argument 29 return der_length_sequence_ex(list, inlen, outlen, NULL); in der_length_sequence() 32 int der_length_sequence_ex(const ltc_asn1_list *list, unsigned long inlen, in der_length_sequence_ex() argument 40 LTC_ARGCHK(list != NULL); in der_length_sequence_ex() 46 type = list[i].type; in der_length_sequence_ex() 47 size = list[i].size; in der_length_sequence_ex() 48 data = list[i].data; in der_length_sequence_ex() 55 if (!list[i].used && list[i].optional) continue; in der_length_sequence_ex() 148 if ((err = der_length_custom_type(&list[i], &x, NULL)) != CRYPT_OK) { in der_length_sequence_ex()
|
A D | der_encode_sequence_multi.c | 35 ltc_asn1_list *list; in der_encode_sequence_multi() local 90 list = XCALLOC(sizeof(*list), x); in der_encode_sequence_multi() 91 if (list == NULL) { in der_encode_sequence_multi() 124 LTC_SET_ASN1(list, x++, type, data, size); in der_encode_sequence_multi() 139 err = der_encode_sequence(list, x, out, outlen); in der_encode_sequence_multi() 141 XFREE(list); in der_encode_sequence_multi()
|
A D | der_decode_sequence_multi.c | 36 ltc_asn1_list *list; in _der_decode_sequence_va() local 87 list = XCALLOC(sizeof(*list), x); in _der_decode_sequence_va() 88 if (list == NULL) { in _der_decode_sequence_va() 122 LTC_SET_ASN1(list, x++, type, data, size); in _der_decode_sequence_va() 132 err = der_decode_sequence_ex(in, inlen, list, x, flags); in _der_decode_sequence_va() 133 XFREE(list); in _der_decode_sequence_va()
|
A D | der_encode_sequence_ex.c | 29 int der_encode_sequence_ex(const ltc_asn1_list *list, unsigned long inlen, in der_encode_sequence_ex() argument 37 LTC_ARGCHK(list != NULL); in der_encode_sequence_ex() 43 if ((err = der_length_sequence_ex(list, inlen, &y, &z)) != CRYPT_OK) return CRYPT_INVALID_ARG; in der_encode_sequence_ex() 65 type = list[i].type; in der_encode_sequence_ex() 66 size = list[i].size; in der_encode_sequence_ex() 67 data = list[i].data; in der_encode_sequence_ex() 187 if ((err = der_encode_custom_type(&list[i], out + x, &z)) != CRYPT_OK) { in der_encode_sequence_ex()
|
A D | der_decode_sequence_ex.c | 30 ltc_asn1_list *list, unsigned long outlen, unsigned int flags) in der_decode_sequence_ex() argument 32 return der_decode_custom_type_ex(in, inlen, NULL, list, outlen, flags); in der_decode_sequence_ex()
|
/optee_os/core/lib/libfdt/ |
A D | fdt_ro.c | 705 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/core/drivers/crypto/se050/adaptors/utils/ |
A D | utils.c | 26 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/core/lib/libtomcrypt/src/headers/ |
A D | tomcrypt_pk.h | 543 #define LTC_SET_ASN1(list, index, Type, Data, Size) \ argument 546 ltc_asn1_list *LTC_MACRO_list = (list); \ 557 #define __LTC_SET_ASN1_IDENTIFIER(list, index, Class, Pc, Tag) \ argument 560 ltc_asn1_list *LTC_MACRO_list = (list); \ 579 list[LTC_MACRO_temp##__LINE__].used = (int)(Type); \ 595 #define der_encode_sequence(list, inlen, out, outlen) der_encode_sequence_ex(list, inlen, out, outl… argument 621 #define der_decode_sequence(in, inlen, list, outlen) der_decode_sequence_ex(in, inlen, list, outlen… argument 622 #define der_decode_sequence_strict(in, inlen, list, outlen) der_decode_sequence_ex(in, inlen, list,… argument 640 #define der_decode_set(in, inlen, list, outlen) der_decode_sequence_ex(in, inlen, list, outlen, LTC… argument 642 int der_encode_set(const ltc_asn1_list *list, unsigned long inlen, [all …]
|
/optee_os/core/lib/libtomcrypt/src/pk/asn1/der/set/ |
A D | der_encode_setof.c | 60 int der_encode_setof(const ltc_asn1_list *list, unsigned long inlen, in der_encode_setof() argument 71 if (list[x].type != list[x-1].type) { in der_encode_setof() 83 if ((err = der_encode_sequence_ex(list, inlen, buf, outlen, LTC_ASN1_SETOF)) != CRYPT_OK) { in der_encode_setof()
|
A D | der_encode_set.c | 49 int der_encode_set(const ltc_asn1_list *list, unsigned long inlen, in der_encode_set() argument 64 copy[x] = list[x]; in der_encode_set()
|
/optee_os/lib/libmbedtls/mbedtls/library/ |
A D | asn1parse.c | 464 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 D | asn1write.c | 395 mbedtls_asn1_named_data *list, in asn1_find_named_data() argument 398 while( list != NULL ) in asn1_find_named_data() 400 if( list->oid.len == len && in asn1_find_named_data() 401 memcmp( list->oid.p, oid, len ) == 0 ) in asn1_find_named_data() 406 list = list->next; in asn1_find_named_data() 409 return( list ); in asn1_find_named_data()
|
/optee_os/core/drivers/scmi-msg/ |
A D | base.c | 142 const uint8_t *list = NULL; in discover_list_protocols() local 154 list = plat_scmi_protocol_list(msg->channel_id); in discover_list_protocols() 155 count = count_protocols_in_list(list); in discover_list_protocols() 164 memcpy(outargs + sizeof(p2a), list + a2p->skip, count); in discover_list_protocols()
|
/optee_os/lib/libmbedtls/mbedtls/ |
A D | SUPPORT.md | 9 - the [Mbed TLS mailing-list 15 mailing list](https://lists.trustedfirmware.org/mailman/listinfo/mbed-tls).
|
/optee_os/core/drivers/crypto/caam/utils/ |
A D | utils_dmaobj.c | 96 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/core/lib/libtomcrypt/src/pk/ecc/ |
A D | ecc_import_pkcs8.c | 20 #define LTC_SET_DER_FLEXI_CHECK(list, index, Type, P) \ argument 23 list[LTC_SDFC_temp##__LINE__].t = Type; \ 24 list[LTC_SDFC_temp##__LINE__].pp = P; \
|
/optee_os/ |
A D | LICENSE | 11 this list of conditions and the following disclaimer. 14 this list of conditions and the following disclaimer in the documentation
|
/optee_os/lib/libutils/isoc/arch/arm/softfloat/ |
A D | COPYING.txt | 17 this list of conditions, and the following disclaimer. 20 notice, this list of conditions, and the following disclaimer in the
|
/optee_os/scripts/ |
A D | sign_encrypt.py | 108 choices=list(enc_key_type.keys()), 129 parser.add_argument('--algo', required=False, choices=list(algo.keys()), 134 ', '.join(list(algo.keys())), metavar='')
|
/optee_os/out/arm/export-ta_arm32/scripts/ |
A D | sign_encrypt.py | 108 choices=list(enc_key_type.keys()), 129 parser.add_argument('--algo', required=False, choices=list(algo.keys()), 134 ', '.join(list(algo.keys())), metavar='')
|
/optee_os/out/arm/export-ta_arm64/scripts/ |
A D | sign_encrypt.py | 108 choices=list(enc_key_type.keys()), 129 parser.add_argument('--algo', required=False, choices=list(algo.keys()), 134 ', '.join(list(algo.keys())), metavar='')
|