Hi all,

is there any reason to have not serialization functions (i2d/d2i) for
points of elliptic curves (EC_POINT)?

I found in ECPARAMETERS-related functions that points (actually, the
generator) are serialized through EC_POINT_point2oct into
ASN1_OCTET_STRING (->base).
Wouldn't be possible to define a serialization function directly for
EC_POINTs (as done with BIGNUM/CBIGNUM)? 

This way, one could define structures with EC_POINTs and rely on
IMPLEMENT_ASN1_ALLOC_FUNCTIONS to automatically produce id2/d2i
functions...

Best,
-- 
Emanuele Cesena <emanuele.ces...@gmail.com>
http://ecesena.dyndns.org

Il corpo non ha ideali

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to