[Pidgin] #4381: Add HMAC digest to libpurple

Pidgin trac at pidgin.im
Sat Dec 15 23:18:35 EST 2007


#4381: Add HMAC digest to libpurple
------------------------+---------------------------------------------------
  Reporter:  QuLogic    |       Owner:  grim        
      Type:  patch      |      Status:  new         
  Priority:  minor      |   Milestone:              
 Component:  libpurple  |     Version:  2.3.1       
Resolution:             |    Keywords:  HMAC, digest
   Pending:  0          |  
------------------------+---------------------------------------------------
Comment (by grim):

 We have 4 padded memebers in the PurpleCipherOps structure, and I see no
 reason why we shouldn't use them for the majority of this.

 Adding a _get_block_size op seems totally reasonable, we may also want to
 add a _set_block_size, but I can't come up with a case were it would be
 useful.  Mind you my crypto in general isn't that great  :).

 We could add a purple_cipher_context_set_key_with_len function, and use
 another op.

 I'd like to see these changes use the padding rather than the option
 system, since that seems like it'd be a lot harder to debug and what not.

-- 
Ticket URL: <http://developer.pidgin.im/ticket/4381#comment:2>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list