[Pidgin] #4380: Add Triple-DES cipher to libpurple

Pidgin trac at pidgin.im
Wed Dec 12 21:00:02 EST 2007


#4380: Add Triple-DES cipher to libpurple
--------------------------------------+-------------------------------------
 Reporter:  QuLogic                   |       Type:  patch
   Status:  new                       |   Priority:  minor
Component:  libpurple                 |    Version:  2.3.1
 Keywords:  triple-des, des3, cipher  |    Pending:  0    
--------------------------------------+-------------------------------------
 So khc wanted to take a look at the MSNP15 stuff, so I'm posting these
 tickets.

 This patch adds the Triple-DES cipher to libpurple. It is available as
 "des3". You can only use EDE3 mode with 3 keys and not anything else
 because that's all I needed. It can be run in ECB or CBC batch mode by
 using `purple_cipher_context_set_option(cipher, "batchMode",
 PurpleCipherBatchMode mode)`.

 Finally, there are a few tests from NIST added to test_cipher.c. They
 check both encrypting and decrypting, so I've added decryption to the DES
 cipher as well.

-- 
Ticket URL: <http://developer.pidgin.im/ticket/4380>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list