libpurple/ciphers/hmac.c

changeset 31553
45a14a4b0a87
parent 31433
74874b2d24f9
child 33881
9b112a06cbdc
child 40755
fb2056ce3c58
--- a/libpurple/ciphers/hmac.c	Sun Mar 13 16:43:09 2011 +0000
+++ b/libpurple/ciphers/hmac.c	Sun Mar 13 16:47:36 2011 +0000
@@ -191,16 +191,24 @@
 }
 
 static PurpleCipherOps HMACOps = {
-	.set_option = hmac_set_opt,
-	.get_option = hmac_get_opt,
-	.init = hmac_init,
-	.reset = hmac_reset,
-	.uninit = hmac_uninit,
-	.append = hmac_append,
-	.digest = hmac_digest,
-	.set_key = hmac_set_key,
-	.get_block_size = hmac_get_block_size,
-	.set_key_with_len = hmac_set_key_with_len,
+	hmac_set_opt,           /* Set option */
+	hmac_get_opt,           /* Get option */
+	hmac_init,               /* init */
+	hmac_reset,              /* reset */
+	hmac_uninit,             /* uninit */
+	NULL,                   /* set iv */
+	hmac_append,             /* append */
+	hmac_digest,             /* digest */
+	NULL,                   /* encrypt */
+	NULL,                   /* decrypt */
+	NULL,                   /* set salt */
+	NULL,                   /* get salt size */
+	hmac_set_key,           /* set key */
+	NULL,                   /* get key size */
+	NULL,                   /* set batch mode */
+	NULL,                   /* get batch mode */
+	hmac_get_block_size,    /* get block size */
+	hmac_set_key_with_len   /* set key with len */
 };
 
 PurpleCipherOps *

mercurial