Crypt-U2F-Server
view release on metacpan or search on metacpan
char * buf
void
u2fclib_verifyRegistration(ctx, buf)
void * ctx
char * buf
INIT:
char* pk[65];
char kh[1000];
char* result;
PPCODE:
result = u2fclib_verifyRegistration(ctx, buf, pk);
if(!result) {
XSRETURN_UNDEF;
}
else {
strncpy(kh,result,1000);
XPUSHs(sv_2mortal(newSVpvn((const char * const)pk,65)));
XPUSHs(sv_2mortal(newSVpvn(kh,strlen(kh))));
}
( run in 1.878 second using v1.01-cache-2.11-cpan-71847e10f99 )