/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/asn1/der/set/ |
A D | der_encode_set.c | 21 ltc_asn1_list *A = (ltc_asn1_list *)a, *B = (ltc_asn1_list *)b; in s_qsort_helper() 42 int der_encode_set(const ltc_asn1_list *list, unsigned long inlen, in der_encode_set() 45 ltc_asn1_list *copy; in der_encode_set()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/ecc/ |
A D | ecc_import_pkcs8.c | 10 ltc_asn1_list **pp; 20 static int s_der_flexi_sequence_cmp(const ltc_asn1_list *flexi, der_flexi_check *check) in s_der_flexi_sequence_cmp() 22 const ltc_asn1_list *cur; in s_der_flexi_sequence_cmp() 31 if (check->pp != NULL) *check->pp = (ltc_asn1_list*)cur; in s_der_flexi_sequence_cmp() 50 ltc_asn1_list *p = NULL, *l = NULL; in ecc_import_pkcs8() 52 ltc_asn1_list *seq, *priv_key; in ecc_import_pkcs8() 78 ltc_asn1_list *version, *field, *point, *point_g, *order, *p_cofactor; in ecc_import_pkcs8() 99 ltc_asn1_list *curve_oid = seq->child->next; in ecc_import_pkcs8() 135 ltc_asn1_list *prime = field->child->next; in ecc_import_pkcs8() 161 ltc_asn1_list *lk = p->child->next; in ecc_import_pkcs8()
|
A D | ecc_import_openssl.c | 10 ltc_asn1_list seq_priv[4], custom[2]; in s_ecc_import_private_with_oid() 45 ltc_asn1_list seq_fieldid[2], seq_curve[3], seq_ecparams[6], seq_priv[4], custom[2]; in s_ecc_import_private_with_curve()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/asn1/x509/ |
A D | x509_decode_subject_public_key_info.c | 36 ltc_asn1_type parameters_type, ltc_asn1_list* parameters, unsigned long *parameters_len) in x509_decode_subject_public_key_info() 44 ltc_asn1_list alg_id[2]; in x509_decode_subject_public_key_info() 45 ltc_asn1_list subject_pubkey[2]; in x509_decode_subject_public_key_info()
|
A D | x509_encode_subject_public_key_info.c | 36 ltc_asn1_type parameters_type, ltc_asn1_list* parameters, unsigned long parameters_len) in x509_encode_subject_public_key_info() 39 ltc_asn1_list alg_id[2]; in x509_encode_subject_public_key_info()
|
A D | x509_decode_public_key_from_certificate.c | 34 … ltc_asn1_list* parameters, unsigned long *parameters_len, in x509_decode_public_key_from_certificate() 40 ltc_asn1_list *decoded_list = NULL, *l; in x509_decode_public_key_from_certificate()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/headers/ |
A D | tomcrypt_private.h | 65 ltc_asn1_list *enc_data; 66 ltc_asn1_list *salt; 67 ltc_asn1_list *iv; 252 int pbes1_extract(const ltc_asn1_list *s, pbes_arg *res); 253 int pbes2_extract(const ltc_asn1_list *s, pbes_arg *res); 398 ltc_asn1_list *root, 399 ltc_asn1_list *list, unsigned long outlen, unsigned int flags); 403 int der_length_asn1_identifier(const ltc_asn1_list *id, unsigned long *idlen); 409 int der_length_sequence_ex(const ltc_asn1_list *list, unsigned long inlen, 443 int pk_oid_cmp_with_asn1(const char *o1, const ltc_asn1_list *o2); [all …]
|
A D | tomcrypt_pk.h | 549 } ltc_asn1_list; typedef 554 ltc_asn1_list *LTC_MACRO_list = (list); \ 568 ltc_asn1_list *LTC_MACRO_list = (list); \ 632 int der_length_sequence(const ltc_asn1_list *list, unsigned long inlen, 637 int der_encode_custom_type(const ltc_asn1_list *root, 641 ltc_asn1_list *root); 643 int der_length_custom_type(const ltc_asn1_list *root, 650 int der_encode_set(const ltc_asn1_list *list, unsigned long inlen, 653 int der_encode_setof(const ltc_asn1_list *list, unsigned long inlen, 663 void der_sequence_free(ltc_asn1_list *in); [all …]
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/asn1/pkcs8/ |
A D | pkcs8_decode_flexi.c | 19 ltc_asn1_list **decoded_list) in pkcs8_decode_flexi() 24 ltc_asn1_list *l = NULL; in pkcs8_decode_flexi() 46 ltc_asn1_list *lalgoid = l->child->child; in pkcs8_decode_flexi()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/asn1/der/sequence/ |
A D | der_sequence_free.c | 16 void der_sequence_free(ltc_asn1_list *in) in der_sequence_free() 18 ltc_asn1_list *l; in der_sequence_free()
|
A D | der_decode_sequence_ex.c | 23 ltc_asn1_list *list, unsigned long outlen, unsigned int flags) in der_decode_sequence_ex()
|
A D | der_sequence_shrink.c | 17 void der_sequence_shrink(ltc_asn1_list *in) in der_sequence_shrink()
|
A D | der_decode_sequence_flexi.c | 12 static int s_new_element(ltc_asn1_list **l) in s_new_element() 16 *l = XCALLOC(1, sizeof(ltc_asn1_list)); in s_new_element() 21 (*l)->next = XCALLOC(1, sizeof(ltc_asn1_list)); in s_new_element() 39 static int s_der_decode_sequence_flexi(const unsigned char *in, unsigned long *inlen, ltc_asn1_list… in s_der_decode_sequence_flexi() 41 ltc_asn1_list *l; in s_der_decode_sequence_flexi() 535 int der_decode_sequence_flexi(const unsigned char *in, unsigned long *inlen, ltc_asn1_list **out) in der_decode_sequence_flexi()
|
A D | der_length_sequence.c | 19 int der_length_sequence(const ltc_asn1_list *list, unsigned long inlen, in der_length_sequence() 25 int der_length_sequence_ex(const ltc_asn1_list *list, unsigned long inlen, in der_length_sequence_ex()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/misc/pbes/ |
A D | pbes2.c | 48 static int s_pbes2_from_oid(const ltc_asn1_list *cipher_oid, const ltc_asn1_list *hmac_oid, pbes_pr… in s_pbes2_from_oid() 78 int pbes2_extract(const ltc_asn1_list *s, pbes_arg *res) in pbes2_extract() 81 ltc_asn1_list *lkdf, *lenc, *loptseq, *liter, *lhmac; in pbes2_extract()
|
A D | pbes1.c | 69 static int s_pbes1_from_oid(const ltc_asn1_list *oid, pbes_properties *res) in s_pbes1_from_oid() 88 int pbes1_extract(const ltc_asn1_list *s, pbes_arg *res) in pbes1_extract()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/asn1/der/general/ |
A D | der_length_asn1_identifier.c | 18 int der_length_asn1_identifier(const ltc_asn1_list *id, unsigned long *idlen) in der_length_asn1_identifier()
|
A D | der_encode_asn1_identifier.c | 18 int der_encode_asn1_identifier(const ltc_asn1_list *id, unsigned char *out, unsigned long *outlen) in der_encode_asn1_identifier()
|
A D | der_decode_asn1_identifier.c | 59 int der_decode_asn1_identifier(const unsigned char *in, unsigned long *inlen, ltc_asn1_list *id) in der_decode_asn1_identifier()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/ec25519/ |
A D | ec25519_import_pkcs8.c | 27 ltc_asn1_list *l = NULL; in ec25519_import_pkcs8() 29 ltc_asn1_list alg_id[1]; in ec25519_import_pkcs8()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/rsa/ |
A D | rsa_import_pkcs8.c | 53 ltc_asn1_list alg_seq[2], top_seq[3]; in rsa_import_pkcs8() 54 ltc_asn1_list *l = NULL; in rsa_import_pkcs8()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/asn1/oid/ |
A D | pk_oid_cmp.c | 35 int pk_oid_cmp_with_asn1(const char *o1, const ltc_asn1_list *o2) in pk_oid_cmp_with_asn1()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/asn1/der/custom_type/ |
A D | der_length_custom_type.c | 23 int der_length_custom_type(const ltc_asn1_list *root, unsigned long *outlen, unsigned long *payload… in der_length_custom_type() 26 const ltc_asn1_list *list; in der_length_custom_type()
|
A D | der_decode_custom_type.c | 21 ltc_asn1_list *root) in der_decode_custom_type() 43 ltc_asn1_list *root, in der_decode_custom_type_ex() 44 ltc_asn1_list *list, unsigned long outlen, in der_decode_custom_type_ex() 49 ltc_asn1_list ident; in der_decode_custom_type_ex()
|
A D | der_encode_custom_type.c | 24 int der_encode_custom_type(const ltc_asn1_list *root, in der_encode_custom_type() 29 const ltc_asn1_list *list; in der_encode_custom_type()
|