+ mpz_set_str(m, buff, 16);
+}
+
+static string_t rsa_sign(void *sst, uint8_t *data, int32_t datalen)
+{
+ struct rsapriv *st=sst;
+ MP_INT a, b, u, v, tmp, tmp2;
+ string_t signature;
+
+ mpz_init(&a);
+ mpz_init(&b);
+
+ /* Construct the message representative. */
+ emsa_pkcs1(&st->n, &a, data, datalen);