1
0
Fork 0
mirror of https://github.com/deltachat/deltachat-core.git synced 2025-10-06 03:50:08 +02:00

Create netpgp-extras include.

This commit is contained in:
B. Petersen 2017-05-17 18:51:08 +02:00
parent 288734f1b8
commit ff51d33eee
2 changed files with 14 additions and 10 deletions

View file

@ -0,0 +1,13 @@
#ifndef __NETPGP_EXTRA_H__
#define __NETPGP_EXTRA_H__
#include <netpgp.h>
#include "packet-parse.h"
#include "errors.h"
#include "netpgpdefs.h"
#include "crypto.h"
#include "create.h"
unsigned rsa_generate_keypair(pgp_key_t *keydata, const int numbits, const unsigned long e, const char *hashalg, const char *cipher);
unsigned write_seckey_body(const pgp_seckey_t *key, const uint8_t *passphrase, const size_t pplen, pgp_output_t *output);
#endif // __NETPGP_EXTRA_H__