]> wagner.pp.ru Git - openssl-gost/engine.git/blobdiff - gost_lcl.h
Add TLS 1.3 EC point encoding for key_share ext.
[openssl-gost/engine.git] / gost_lcl.h
index afa19ebb7bc708a5a21d6d8efb21307d1dc02103..6da6a66257ddd3bf1df21b6b0ad7548cd6f8b4c6 100644 (file)
@@ -252,6 +252,8 @@ int gost_ec_verify(const unsigned char *dgst, int dgst_len,
 int gost_ec_compute_public(EC_KEY *ec);
 int gost_ec_point_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *n,
                       const EC_POINT *q, const BIGNUM *m, BN_CTX *ctx);
+size_t gost_ec_key2buf(const EC_KEY *key, unsigned char **pbuf);
+int gost_ec_oct2key(EC_KEY *key, const unsigned char *buf, size_t len);
 
 #define CURVEDEF(a) \
 int point_mul_##a(const EC_GROUP *group, EC_POINT *r, const EC_POINT *q, const BIGNUM *m, BN_CTX *ctx);\