blob: 8f69d4f0b01e7d855e4cadfe309bf99e006f61c7 (
plain)
1
2
3
4
5
6
7
8
9
10
|
/* ISC license. */
#include <s6-networking/sbearssl.h>
void sbearssl_ec_skey_to (sbearssl_ec_skey const *l, br_ec_private_key *k, char *s)
{
k->curve = l->curve ;
k->x = (unsigned char *)s + l->x ;
k->xlen = l->xlen ;
}
|