/optee_os-3.20.0/core/lib/libtomcrypt/src/misc/pbes/ |
A D | pbes2.c | 89 if (!LTC_ASN1_IS_TYPE(s->next, LTC_ASN1_SEQUENCE) || in pbes2_extract() 90 !LTC_ASN1_IS_TYPE(s->next->child, LTC_ASN1_SEQUENCE) || in pbes2_extract() 92 !LTC_ASN1_IS_TYPE(s->next->child->child->next, LTC_ASN1_SEQUENCE) || in pbes2_extract() 93 !LTC_ASN1_IS_TYPE(s->next->child->next, LTC_ASN1_SEQUENCE) || in pbes2_extract() 120 if (!LTC_ASN1_IS_TYPE(lkdf->next, LTC_ASN1_SEQUENCE) || in pbes2_extract() 139 if (LTC_ASN1_IS_TYPE(loptseq, LTC_ASN1_SEQUENCE) && in pbes2_extract() 148 } else if (LTC_ASN1_IS_TYPE(lenc->next, LTC_ASN1_SEQUENCE)) { in pbes2_extract()
|
A D | pbes1.c | 97 if (!LTC_ASN1_IS_TYPE(s->next, LTC_ASN1_SEQUENCE) || in pbes1_extract()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/asn1/x509/ |
A D | x509_decode_public_key_from_certificate.c | 14 && ((l)->type == LTC_ASN1_SEQUENCE) \ 64 if ((l->type == LTC_ASN1_SEQUENCE) && (l->child != NULL)) { in x509_decode_public_key_from_certificate() 66 if ((l->type == LTC_ASN1_SEQUENCE) && (l->child != NULL)) { in x509_decode_public_key_from_certificate() 81 if ((l->type == LTC_ASN1_SEQUENCE) in x509_decode_public_key_from_certificate()
|
A D | x509_encode_subject_public_key_info.c | 59 LTC_ASN1_SEQUENCE, (unsigned long)sizeof(alg_id)/sizeof(alg_id[0]), alg_id, in x509_encode_subject_public_key_info()
|
A D | x509_decode_subject_public_key_info.c | 84 LTC_SET_ASN1(subject_pubkey, 0, LTC_ASN1_SEQUENCE, alg_id, alg_id_num); in x509_decode_subject_public_key_info()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/asn1/pkcs8/ |
A D | pkcs8_decode_flexi.c | 41 if (l->type == LTC_ASN1_SEQUENCE && in pkcs8_decode_flexi() 42 LTC_ASN1_IS_TYPE(l->child, LTC_ASN1_SEQUENCE) && in pkcs8_decode_flexi() 44 LTC_ASN1_IS_TYPE(l->child->child->next, LTC_ASN1_SEQUENCE) && in pkcs8_decode_flexi()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/ecc/ |
A D | ecc_import_pkcs8.c | 23 if (flexi->type != LTC_ASN1_SEQUENCE) { in s_der_flexi_sequence_cmp() 72 LTC_SET_DER_FLEXI_CHECK(flexi_should, n++, LTC_ASN1_SEQUENCE, &seq); in ecc_import_pkcs8() 83 LTC_SET_DER_FLEXI_CHECK(flexi_should, n++, LTC_ASN1_SEQUENCE, &field); in ecc_import_pkcs8() 84 LTC_SET_DER_FLEXI_CHECK(flexi_should, n++, LTC_ASN1_SEQUENCE, &point); in ecc_import_pkcs8() 158 if (p->type == LTC_ASN1_SEQUENCE && in ecc_import_pkcs8()
|
A D | ecc_import_x509.c | 49 LTC_SET_ASN1(seq_ecparams, 1, LTC_ASN1_SEQUENCE, seq_fieldid, 2UL); in s_ecc_import_x509_with_curve() 50 LTC_SET_ASN1(seq_ecparams, 2, LTC_ASN1_SEQUENCE, seq_curve, 3UL); in s_ecc_import_x509_with_curve() 66 …ode_subject_public_key_info(in, inlen, LTC_OID_EC, bin_xy, &len_xy, LTC_ASN1_SEQUENCE, seq_ecparam… in s_ecc_import_x509_with_curve()
|
A D | ecc_export_openssl.c | 108 LTC_SET_ASN1(seq_ecparams, 1, LTC_ASN1_SEQUENCE, seq_fieldid, 2UL); in ecc_export_openssl() 109 LTC_SET_ASN1(seq_ecparams, 2, LTC_ASN1_SEQUENCE, seq_curve, 2UL); in ecc_export_openssl() 115 LTC_SET_ASN1(&ecparams, 0, LTC_ASN1_SEQUENCE, seq_ecparams, 6UL); in ecc_export_openssl()
|
A D | ecc_import_openssl.c | 59 LTC_SET_ASN1(custom, 0, LTC_ASN1_SEQUENCE, seq_ecparams, 6UL); in s_ecc_import_private_with_curve() 67 LTC_SET_ASN1(seq_ecparams, 1, LTC_ASN1_SEQUENCE, seq_fieldid, 2UL); in s_ecc_import_private_with_curve() 68 LTC_SET_ASN1(seq_ecparams, 2, LTC_ASN1_SEQUENCE, seq_curve, 3UL); in s_ecc_import_private_with_curve()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/asn1/der/sequence/ |
A D | der_encode_sequence_multi.c | 60 case LTC_ASN1_SEQUENCE: in der_encode_sequence_multi() 114 case LTC_ASN1_SEQUENCE: in der_encode_sequence_multi()
|
A D | der_sequence_shrink.c | 31 case LTC_ASN1_SEQUENCE : if (in->data != NULL) { XFREE(in->data); in->data = NULL; } break; in der_sequence_shrink()
|
A D | der_decode_sequence_multi.c | 61 case LTC_ASN1_SEQUENCE: in s_der_decode_sequence_va() 109 case LTC_ASN1_SEQUENCE: in s_der_decode_sequence_va()
|
A D | der_encode_sequence_ex.c | 47 out[x++] = (type_of == LTC_ASN1_SEQUENCE) ? 0x30 : 0x31; in der_encode_sequence_ex() 171 case LTC_ASN1_SEQUENCE: in der_encode_sequence_ex()
|
A D | der_length_sequence.c | 149 case LTC_ASN1_SEQUENCE: in der_length_sequence_ex()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/asn1/der/general/ |
A D | der_asn1_maps.c | 136 LTC_ASN1_SEQUENCE, /* Sequence and Sequence-of types */
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/rsa/ |
A D | rsa_verify_hash.c | 146 LTC_SET_ASN1(siginfo, 0, LTC_ASN1_SEQUENCE, digestinfo, 2); in rsa_verify_hash_ex() 151 LTC_SET_ASN1(siginfo, 0, LTC_ASN1_SEQUENCE, digestinfo, 1); in rsa_verify_hash_ex()
|
A D | rsa_import_pkcs8.c | 88 LTC_SET_ASN1(top_seq, 1, LTC_ASN1_SEQUENCE, alg_seq, 2UL); in rsa_import_pkcs8()
|
A D | rsa_sign_hash.c | 100 LTC_SET_ASN1(siginfo, 0, LTC_ASN1_SEQUENCE, digestinfo, 2); in rsa_sign_hash_ex()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/ec25519/ |
A D | ec25519_import_pkcs8.c | 45 LTC_ASN1_SEQUENCE, 1uL, alg_id, in ec25519_import_pkcs8()
|
A D | ec25519_export.c | 60 LTC_ASN1_SEQUENCE, 1uL, alg_id, in ec25519_export()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/dsa/ |
A D | dsa_export.c | 79 tmplen, LTC_ASN1_SEQUENCE, int_list, in dsa_export()
|
A D | dsa_import.c | 102 LTC_ASN1_SEQUENCE, params, &len); in dsa_import()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/asn1/der/custom_type/ |
A D | der_decode_custom_type.c | 161 case LTC_ASN1_SEQUENCE: in der_decode_custom_type_ex() 341 case LTC_ASN1_SEQUENCE: in der_decode_custom_type_ex() 343 …if ((type == LTC_ASN1_SETOF && (in[x] & 0x3F) != 0x31) || (type == LTC_ASN1_SEQUENCE && (in[x] & 0… in der_decode_custom_type_ex()
|
A D | der_length_custom_type.c | 162 case LTC_ASN1_SEQUENCE: in der_length_custom_type()
|