/soc/2013/ankitkv/gobjectification: bca53cda8ed5: Added ciphers ...

Ankit Vani a at nevitus.org
Sat Jun 22 07:08:32 EDT 2013


Changeset: bca53cda8ed5cb513ddc1a4efaff3336ae2e25fc
Author:	 Ankit Vani <a at nevitus.org>
Date:	 2013-06-22 15:58 +0530
Branch:	 soc.2013.gobjectification
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/bca53cda8ed5

Description:

Added ciphers and hashes _new functions to .xs files

diffstat:

 libpurple/plugins/perl/common/Cipher.xs |  35 +++++++++++++++++++++++++++++++++
 libpurple/plugins/perl/common/Hash.xs   |  24 ++++++++++++++++++++++
 2 files changed, 59 insertions(+), 0 deletions(-)

diffs (73 lines):

diff --git a/libpurple/plugins/perl/common/Cipher.xs b/libpurple/plugins/perl/common/Cipher.xs
--- a/libpurple/plugins/perl/common/Cipher.xs
+++ b/libpurple/plugins/perl/common/Cipher.xs
@@ -183,3 +183,38 @@ purple_cipher_set_batch_mode(cipher, mod
 	Purple::Cipher cipher
 	Purple::Cipher::BatchMode mode
 
+MODULE = Purple::Cipher  PACKAGE = Purple::AESCipher  PREFIX = purple_aes_cipher_
+PROTOTYPES: ENABLE
+
+Purple::Cipher
+purple_aes_cipher_new()
+
+MODULE = Purple::Cipher  PACKAGE = Purple::DES3Cipher  PREFIX = purple_des3_cipher_
+PROTOTYPES: ENABLE
+
+Purple::Cipher
+purple_des3_cipher_new()
+
+MODULE = Purple::Cipher  PACKAGE = Purple::DESCipher  PREFIX = purple_des_cipher_
+PROTOTYPES: ENABLE
+
+Purple::Cipher
+purple_des_cipher_new()
+
+MODULE = Purple::Cipher  PACKAGE = Purple::HMACCipher  PREFIX = purple_hmac_cipher_
+PROTOTYPES: ENABLE
+
+Purple::Cipher
+purple_hmac_cipher_new()
+
+MODULE = Purple::Cipher  PACKAGE = Purple::PBKDF2Cipher  PREFIX = purple_pbkdf2_cipher_
+PROTOTYPES: ENABLE
+
+Purple::Cipher
+purple_pbkdf2_cipher_new()
+
+MODULE = Purple::Cipher  PACKAGE = Purple::RC4Cipher  PREFIX = purple_rc4_cipher_
+PROTOTYPES: ENABLE
+
+Purple::Cipher
+purple_rc4_cipher_new()
diff --git a/libpurple/plugins/perl/common/Hash.xs b/libpurple/plugins/perl/common/Hash.xs
--- a/libpurple/plugins/perl/common/Hash.xs
+++ b/libpurple/plugins/perl/common/Hash.xs
@@ -84,3 +84,27 @@ purple_hash_digest_to_str(hash, digest_s
 size_t
 purple_hash_get_block_size(hash)
 	Purple::Hash hash
+
+MODULE = Purple::Hash  PACKAGE = Purple::MD4Hash  PREFIX = purple_md4_hash_
+PROTOTYPES: ENABLE
+
+Purple::Hash
+purple_md4_hash_new()
+
+MODULE = Purple::Hash  PACKAGE = Purple::MD5Hash  PREFIX = purple_md5_hash_
+PROTOTYPES: ENABLE
+
+Purple::Hash
+purple_md5_hash_new()
+
+MODULE = Purple::Hash  PACKAGE = Purple::SHA1Hash  PREFIX = purple_sha1_hash_
+PROTOTYPES: ENABLE
+
+Purple::Hash
+purple_sha1_hash_new()
+
+MODULE = Purple::Hash  PACKAGE = Purple::SHA256Hash  PREFIX = purple_sha256_hash_
+PROTOTYPES: ENABLE
+
+Purple::Hash
+purple_sha256_hash_new()



More information about the Commits mailing list