blob: f2f98d7bdee426dd1c6ff82b1fccdbc288ce8fea (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
/* ISC license. */
#include <s6-networking/sbearssl.h>
void sbearssl_rsa_pkey_to (sbearssl_rsa_pkey const *l, br_rsa_public_key *k, char *s)
{
k->n = (unsigned char *)s + l->n ;
k->nlen = l->nlen ;
k->e = (unsigned char *)s + l->e ;
k->elen = l->elen ;
}
|