Ready to implement JWT signature

This commit is contained in:
2024-09-27 20:13:50 +02:00
parent fa431857ee
commit 77c3702986
3 changed files with 45 additions and 5 deletions

View File

@ -224,4 +224,10 @@ char *crypto_encode_base64_safe_url(const char *src, size_t srclen)
out[olen - 2] = '\0';
return out;
}
char *crypto_sign_sha256_payload(const char *src, const size_t src_len, size_t *srclen)
{
*srclen = 10;
return calloc(1, 10);
}