Searched refs:bin_xy (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 | 9 unsigned char bin_xy[2*ECC_MAXSIZE+2]; 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() 38 unsigned char bin_g[2*ECC_MAXSIZE+1], bin_xy[2*ECC_MAXSIZE+2], bin_seed[128]; 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 D | ecc_import_openssl.c | 11 unsigned char bin_xy[2*ECC_MAXSIZE+2], bin_k[ECC_MAXSIZE]; in s_ecc_import_private_with_oid() local 21 LTC_SET_ASN1(custom, 1, LTC_ASN1_RAW_BIT_STRING, bin_xy, 8UL*sizeof(bin_xy)); in s_ecc_import_private_with_oid() 47 unsigned char bin_g[2*ECC_MAXSIZE+1], bin_xy[2*ECC_MAXSIZE+2], bin_seed[128]; in s_ecc_import_private_with_curve() local 60 LTC_SET_ASN1(custom, 1, LTC_ASN1_RAW_BIT_STRING, bin_xy, 8UL*sizeof(bin_xy)); in s_ecc_import_private_with_curve()
|
A D | ecc_export_openssl.c | 21 unsigned char bin_a[256], bin_b[256], bin_k[256], bin_g[512], bin_xy[512]; 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 6 milliseconds