diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2014-09-05 12:08:52 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2014-09-05 12:08:52 +0000 |
commit | f82091b2af907fb1d120c305da75c57b09cb0e7b (patch) | |
tree | f76f25019d39f634696021d2d391669fec633f9c /plugins/!Deprecated/Skype/src/aes/aes.h | |
parent | 387bba529b2a8878a6c66661c09fc02622fe32ea (diff) |
SkypeKit based Skype plugin is moved to deprecated and will be deleted from Plugins folder by PluginUpdater
git-svn-id: http://svn.miranda-ng.org/main/trunk@10372 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/!Deprecated/Skype/src/aes/aes.h')
-rw-r--r-- | plugins/!Deprecated/Skype/src/aes/aes.h | 15 |
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 */
|