1 2 3 4 5 6 7 8 9 10 11
/* ISC license. */ #include <bearssl.h> #include <s6-networking/sbearssl.h> void sbearssl_ec_pkey_to (sbearssl_ec_pkey const *l, br_ec_public_key *k, char const *s) { k->curve = l->curve ; k->q = s + l->q ; k->qlen = l->qlen ; }