summaryrefslogtreecommitdiff
path: root/plugins/!Deprecated/Skype/src/aes/aes.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/!Deprecated/Skype/src/aes/aes.h')
-rw-r--r--plugins/!Deprecated/Skype/src/aes/aes.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/plugins/!Deprecated/Skype/src/aes/aes.h b/plugins/!Deprecated/Skype/src/aes/aes.h
new file mode 100644
index 0000000000..8bc958b410
--- /dev/null
+++ b/plugins/!Deprecated/Skype/src/aes/aes.h
@@ -0,0 +1,15 @@
+#ifndef _AES_H
+#define _AES_H
+
+typedef struct
+{
+ unsigned long int erk[64]; /* encryption round keys */
+ unsigned long int drk[64]; /* decryption round keys */
+ int nr; /* number of rounds */
+} aes_context;
+
+int aes_set_key(aes_context *ctx, unsigned char *key, int nbits);
+void aes_encrypt(aes_context *ctx, unsigned char input[16], unsigned char output[16]);
+void aes_decrypt(aes_context *ctx, unsigned char input[16], unsigned char output[16]);
+
+#endif /* aes.h */