1
0
mirror of https://github.com/biergaizi/codecrypt synced 2024-06-27 09:18:16 +00:00

structure!

This commit is contained in:
Mirek Kratochvil 2012-03-06 17:19:19 +01:00
parent 03fe0b481b
commit 14ce85a4ef
5 changed files with 44 additions and 1 deletions

4
README

@ -0,0 +1,4 @@
Codecrypt
the code-based cryptography tool suite

@ -11,7 +11,7 @@ OUT=Makefile.am
touch NEWS AUTHORS ChangeLog
echo > $OUT
PROGS="ccr-keygen-rs ccr-encrypt ccr-decrypt"
PROGS="ccr-keygen ccr-encrypt ccr-decrypt ccr-info"
DISTDIRS=""
echo "AUTOMAKE_OPTIONS = subdir-objects" >>$OUT

@ -0,0 +1,35 @@
#ifndef _CODECRYPT_H_
#define _CODECRYPT_H_
#ifdef __cplusplus
extern "C" {
#endif
struct ccr_mce_pubkey {
};
struct ccr_mce_privkey {
};
struct ccr_nd_pubkey {
};
struct ccr_nd_privkey {
};
int ccr_gen_mce(struct ccr_mce_pubkey*, struct ccr_mce_privkey*);
int ccr_gen_nd(struct ccr_nd_pubkey*, struct ccr_nd_privkey*);
int ccr_encrypt(struct ccr_mce_pubkey*, const char*, char*);
int ccr_decrypt(struct ccr_mce_privkey*, const char*, char*);
int ccr_sign(struct ccr_nd_privkey*, const char*, char*);
int ccr_read_signature(struct ccr_nd_pubkey*, const char*, char*);
#ifdef __cplusplus
}
#endif
#endif /* _CODECRYPT_H_ */

4
src/keygen/main.c Normal file

@ -0,0 +1,4 @@
int main() {
return 0;
}