~ubuntu-branches/ubuntu/quantal/pidgin/quantal

« back to all changes in this revision

Viewing changes to libpurple/ciphers/des.c

  • Committer: Bazaar Package Importer
  • Author(s): Ari Pollak
  • Date: 2011-06-13 21:17:20 UTC
  • mfrom: (1.3.19 upstream)
  • mto: This revision was merged to the branch mainline in revision 73.
  • Revision ID: james.westby@ubuntu.com-20110613211720-ke87vzmdcuaxams7
Tags: 2.8.0-1
* Imported Upstream version 2.8.0 (Closes: #630124)
* Remove SILC support since the library will be orphaned (Closes: #629222)
* Fix typo in libpurple-bin description (Closes: #625462)

Show diffs side-by-side

added added

removed removed

Lines of Context:
460
460
}
461
461
 
462
462
static PurpleCipherOps DESOps = {
463
 
        .init = des_init,
464
 
        .uninit = des_uninit,
465
 
        .encrypt = des_encrypt,
466
 
        .decrypt = des_decrypt,
467
 
        .set_key = des_set_key,
 
463
        NULL,              /* Set option */
 
464
        NULL,              /* Get option */
 
465
        des_init,          /* init */
 
466
        NULL,              /* reset */
 
467
        des_uninit,        /* uninit */
 
468
        NULL,              /* set iv */
 
469
        NULL,              /* append */
 
470
        NULL,              /* digest */
 
471
        des_encrypt,       /* encrypt */
 
472
        des_decrypt,       /* decrypt */
 
473
        NULL,              /* set salt */
 
474
        NULL,              /* get salt size */
 
475
        des_set_key,       /* set key */
 
476
        NULL,              /* get key size */
 
477
        NULL,              /* set batch mode */
 
478
        NULL,              /* get batch mode */
 
479
        NULL,              /* get block size */
 
480
        NULL               /* set key with len */
468
481
};
469
482
 
470
483
/******************************************************************************
798
811
}
799
812
 
800
813
static PurpleCipherOps DES3Ops = {
801
 
        .init = des3_init,
802
 
        .uninit = des3_uninit,
803
 
        .set_iv = des3_set_iv,
804
 
        .encrypt = des3_encrypt,
805
 
        .decrypt = des3_decrypt,
806
 
        .set_key = des3_set_key,
807
 
        .set_batch_mode = des3_set_batch,
808
 
        .get_batch_mode = des3_get_batch,
 
814
        NULL,              /* Set option */
 
815
        NULL,              /* Get option */
 
816
        des3_init,         /* init */
 
817
        NULL,              /* reset */
 
818
        des3_uninit,       /* uninit */
 
819
        des3_set_iv,       /* set iv */
 
820
        NULL,              /* append */
 
821
        NULL,              /* digest */
 
822
        des3_encrypt,      /* encrypt */
 
823
        des3_decrypt,      /* decrypt */
 
824
        NULL,              /* set salt */
 
825
        NULL,              /* get salt size */
 
826
        des3_set_key,      /* set key */
 
827
        NULL,              /* get key size */
 
828
        des3_set_batch,    /* set batch mode */
 
829
        des3_get_batch,    /* get batch mode */
 
830
        NULL,              /* get block size */
 
831
        NULL               /* set key with len */
809
832
};
810
833
 
811
834
/******************************************************************************