Added macro that indicates presence of the time callback feature. Also added C++...
[BearSSL] / src / rsa / rsa_i31_keygen.c
index 0e26246..77708f8 100644 (file)
@@ -27,8 +27,8 @@
 /* see bearssl_rsa.h */
 uint32_t
 br_rsa_i31_keygen(const br_prng_class **rng,
-       br_rsa_private_key *sk, unsigned char *kbuf_priv,
-       br_rsa_public_key *pk, unsigned char *kbuf_pub,
+       br_rsa_private_key *sk, void *kbuf_priv,
+       br_rsa_public_key *pk, void *kbuf_pub,
        unsigned size, uint32_t pubexp)
 {
        return br_rsa_i31_keygen_inner(rng,