Searched refs:seq_curve (Results 1 – 3 of 3) sorted by relevance
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/ecc/ |
A D | ecc_import_x509.c | 36 ltc_asn1_list seq_fieldid[2], seq_curve[3], seq_ecparams[6]; in s_ecc_import_x509_with_curve() local 50 LTC_SET_ASN1(seq_ecparams, 2, LTC_ASN1_SEQUENCE, seq_curve, 3UL); in s_ecc_import_x509_with_curve() 59 LTC_SET_ASN1(seq_curve, 0, LTC_ASN1_OCTET_STRING, bin_a, sizeof(bin_a)); in s_ecc_import_x509_with_curve() 60 LTC_SET_ASN1(seq_curve, 1, LTC_ASN1_OCTET_STRING, bin_b, sizeof(bin_b)); in s_ecc_import_x509_with_curve() 61 LTC_SET_ASN1(seq_curve, 2, LTC_ASN1_RAW_BIT_STRING, bin_seed, 8u*sizeof(bin_seed)); in s_ecc_import_x509_with_curve() 62 seq_curve[2].optional = 1; in s_ecc_import_x509_with_curve() 69 len_a = seq_curve[0].size; in s_ecc_import_x509_with_curve() 70 len_b = seq_curve[1].size; in s_ecc_import_x509_with_curve()
|
A D | ecc_import_openssl.c | 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() local 68 LTC_SET_ASN1(seq_ecparams, 2, LTC_ASN1_SEQUENCE, seq_curve, 3UL); in s_ecc_import_private_with_curve() 77 LTC_SET_ASN1(seq_curve, 0, LTC_ASN1_OCTET_STRING, bin_a, sizeof(bin_a)); in s_ecc_import_private_with_curve() 78 LTC_SET_ASN1(seq_curve, 1, LTC_ASN1_OCTET_STRING, bin_b, sizeof(bin_b)); in s_ecc_import_private_with_curve() 79 LTC_SET_ASN1(seq_curve, 2, LTC_ASN1_RAW_BIT_STRING, bin_seed, 8UL*sizeof(bin_seed)); in s_ecc_import_private_with_curve() 80 seq_curve[2].optional = 1; in s_ecc_import_private_with_curve() 85 len_a = seq_curve[0].size; in s_ecc_import_private_with_curve() 86 len_b = seq_curve[1].size; in s_ecc_import_private_with_curve()
|
A D | ecc_export_openssl.c | 26 ltc_asn1_list seq_fieldid[2], seq_curve[2], seq_ecparams[6], seq_priv[4], pub_xy, ecparams; in ecc_export_openssl() local 103 LTC_SET_ASN1(seq_curve, 0, LTC_ASN1_OCTET_STRING, bin_a, len_a); in ecc_export_openssl() 104 LTC_SET_ASN1(seq_curve, 1, LTC_ASN1_OCTET_STRING, bin_b, len_b); in ecc_export_openssl() 109 LTC_SET_ASN1(seq_ecparams, 2, LTC_ASN1_SEQUENCE, seq_curve, 2UL); in ecc_export_openssl()
|
Completed in 3 milliseconds