summaryrefslogtreecommitdiff
path: root/lib/lib3.h
blob: 3078cfe01252a0c65f3fcbb854c82e8d5bbf76e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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