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