MistServer  2.5.3-Pro-19-gf5e75b1 ( Generic_64)
rijndael.h
Go to the documentation of this file.
1 #pragma once
2 
3 void AES_set_encrypt_key(const char * userKey, const int bits, char * key);
4 void AES_set_decrypt_key(const char * userKey, const int bits, char * key);
5 void AES_encrypt(const char * in, char * out, const int bits, const char * key);
6 void AES_decrypt(const char * in, char * out, const char * key, unsigned int bits);
7 static void increaseCounter(char * counter);
8 void AES_CTR128_crypt(const char * in, char * out, unsigned int len, const char * key, char ivec[16], char ecount_buf[16], unsigned int & num);
9 void printInverted(const unsigned int * data, unsigned int len);
void AES_decrypt(const char *in, char *out, const char *key, unsigned int bits)
Definition: rijndael.cpp:384
void AES_encrypt(const char *in, char *out, const int bits, const char *key)
Definition: rijndael.cpp:288
void AES_set_encrypt_key(const char *userKey, const int bits, char *key)
Definition: rijndael.cpp:168
void AES_CTR128_crypt(const char *in, char *out, unsigned int len, const char *key, char ivec[16], char ecount_buf[16], unsigned int &num)
Definition: rijndael.cpp:487
void AES_set_decrypt_key(const char *userKey, const int bits, char *key)
Definition: rijndael.cpp:246
static void increaseCounter(char *counter)
void printInverted(const unsigned int *data, unsigned int len)
Definition: rijndael.cpp:235