Home
last modified time | relevance | path

Searched refs:len_xy (Results 1 – 2 of 2) sorted by relevance

/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/ecc/
A Decc_import_x509.c11 unsigned long len_xy, len_oid, len; in s_ecc_import_x509_with_oid() local
16 len_xy = sizeof(bin_xy); in s_ecc_import_x509_with_oid()
18 err = x509_decode_subject_public_key_info(in, inlen, LTC_OID_EC, bin_xy, &len_xy, in s_ecc_import_x509_with_oid()
27 err = ecc_set_key(bin_xy, len_xy, PK_PUBLIC, key); in s_ecc_import_x509_with_oid()
39 unsigned long len_a, len_b, len_g, len_xy, len; in s_ecc_import_x509_with_curve() local
64 len_xy = sizeof(bin_xy); in s_ecc_import_x509_with_curve()
66 …err = x509_decode_subject_public_key_info(in, inlen, LTC_OID_EC, bin_xy, &len_xy, LTC_ASN1_SEQUENC… in s_ecc_import_x509_with_curve()
79 err = ecc_set_key(bin_xy, len_xy, PK_PUBLIC, key); in s_ecc_import_x509_with_curve()
A Decc_export_openssl.c22 unsigned long len_a, len_b, len_k, len_g, len_xy; in ecc_export_openssl() local
119 len_xy = sizeof(bin_xy); in ecc_export_openssl()
120 … err = ltc_ecc_export_point(bin_xy, &len_xy, key->pubkey.x, key->pubkey.y, key->dp.size, flag_com); in ecc_export_openssl()
141 LTC_SET_ASN1(&pub_xy, 0, LTC_ASN1_RAW_BIT_STRING, bin_xy, 8*len_xy); in ecc_export_openssl()
159 err = x509_encode_subject_public_key_info( out, outlen, LTC_OID_EC, bin_xy, len_xy, in ecc_export_openssl()

Completed in 3 milliseconds