2013-10-28 22:50:05 +01:00
|
|
|
#include <unistd.h>
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
#include <stdlib.h>
|
|
|
|
|
#include <sodium.h>
|
|
|
|
|
#include <limits.h>
|
|
|
|
|
|
|
|
|
|
#include "mem.h"
|
|
|
|
|
#include "defines.h"
|
|
|
|
|
#include "keyprint.h"
|
|
|
|
|
#include "key.h"
|
|
|
|
|
#include "vault.h"
|
|
|
|
|
|
2014-05-05 12:01:25 +02:00
|
|
|
void mkinvalid_secret(PCPCTX *ptx, pcp_key_t *k, int type);
|
2015-07-07 10:38:42 +02:00
|
|
|
void mkinvalid_public(PCPCTX *ptx, pcp_key_t *k, int type);
|
2014-05-05 12:01:25 +02:00
|
|
|
void mkinvv(PCPCTX *ptx, const char *name, int type);
|
2013-10-28 22:50:05 +01:00
|
|
|
FILE *F(char *filename);
|
|
|
|
|
|
|
|
|
|
void pr(char *t, unsigned char *b, size_t s);
|