+void des3_encrypt_pubkey(unsigned char *key,
+ unsigned char *blk, int len);
+
+/*
+ * For progress updates in the key generation utility.
+ */
+typedef void (*progfn_t)(void *param, int phase, int progress);
+
+int rsa_generate(struct RSAKey *key, struct RSAAux *aux, int bits,
+ progfn_t pfn, void *pfnparam);
+Bignum primegen(int bits, int modulus, int residue,
+ int phase, progfn_t pfn, void *pfnparam);