Home
last modified time | relevance | path

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

/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/ecc/
A Decc_export_openssl.c22 unsigned long len_a, len_b, len_k, len_g, len_xy; in ecc_export_openssl() local
137 len_k = mp_unsigned_bin_size(key->k); in ecc_export_openssl()
138 …if (len_k > sizeof(bin_k)) { err = CRYPT_BUFFER_OVERFLOW; g… in ecc_export_openssl()
143 LTC_SET_ASN1(seq_priv, 1, LTC_ASN1_OCTET_STRING, bin_k, len_k); in ecc_export_openssl()
A Decc_import_openssl.c48 unsigned long len_a, len_b, len_k, len_g; in s_ecc_import_private_with_curve() local
84 len_k = seq_priv[1].size; in s_ecc_import_private_with_curve()
95 err = ecc_set_key(bin_k, len_k, PK_PRIVATE, key); in s_ecc_import_private_with_curve()

Completed in 3 milliseconds