diff options
| author | Benedict <benedict@0xb8000.de> | 2016-08-04 14:28:15 +0200 |
|---|---|---|
| committer | Benedict <benedict@0xb8000.de> | 2017-02-21 13:00:25 +0100 |
| commit | 11b2ff584c67cf85ebe2405f6a74ab2799736927 (patch) | |
| tree | eb5e99a5f4f77ceae37f4d2a3e3d5f4a63bc4bc4 /lib/lib3.h | |
| parent | 896bb17f14e44925f5cdacbe10f1e86c20b88972 (diff) | |
completed set3, task 18
Diffstat (limited to 'lib/lib3.h')
| -rw-r--r-- | lib/lib3.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/lib3.h b/lib/lib3.h new file mode 100644 index 0000000..3078cfe --- /dev/null +++ b/lib/lib3.h @@ -0,0 +1,16 @@ +#ifndef __LIB3_H__ +#define __LIB3_H__ + +#include <stdio.h> +#include <string.h> +#include <stdlib.h> +#include <openssl/aes.h> + +#define BLOCKSIZE 16 + +char *challenge17_encrypt(int *length); +int cbc_padding_oracle(char *encrypted, int length); +int aes_ctr(char *in, int length_in, char *out, char *string_key, char *nonce); + + +#endif |
