| 648 } |
648 } |
| 649 |
649 |
| 650 context = gaim_cipher_context_new(cipher, NULL); |
650 context = gaim_cipher_context_new(cipher, NULL); |
| 651 gaim_cipher_context_append(context, data, data_len); |
651 gaim_cipher_context_append(context, data, data_len); |
| 652 ret = gaim_cipher_context_digest(context, in_len, digest, out_len); |
652 ret = gaim_cipher_context_digest(context, in_len, digest, out_len); |
| 653 gaim_cipher_context_destroy(context); |
653 gaim_cipher_context_destroy(context); |
| 654 |
654 |
| 655 return ret; |
655 return ret; |
| 656 } |
656 } |
| 657 |
657 |
| 658 /****************************************************************************** |
658 /****************************************************************************** |