aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/transforms/hmac.c
diff options
context:
space:
mode:
authorJan Hutter <jhutter@hsr.ch>2005-12-06 15:10:11 +0000
committerJan Hutter <jhutter@hsr.ch>2005-12-06 15:10:11 +0000
commit1e7d52a611b602f6a60a593e419173d70cd84f0f (patch)
treeba24ea4420e17bd789802b06abfce347eb2c32b0 /Source/charon/transforms/hmac.c
parentca4468addfa42d9647d90d3310ae16891a53296b (diff)
downloadstrongswan-1e7d52a611b602f6a60a593e419173d70cd84f0f.tar.bz2
strongswan-1e7d52a611b602f6a60a593e419173d70cd84f0f.tar.xz
- code cleaned up
Diffstat (limited to 'Source/charon/transforms/hmac.c')
-rw-r--r--Source/charon/transforms/hmac.c15
1 files changed, 9 insertions, 6 deletions
diff --git a/Source/charon/transforms/hmac.c b/Source/charon/transforms/hmac.c
index c7847ad23..dc31af3eb 100644
--- a/Source/charon/transforms/hmac.c
+++ b/Source/charon/transforms/hmac.c
@@ -28,30 +28,33 @@
typedef struct private_hmac_t private_hmac_t;
/**
- * Private data of an hmac_t object.
+ * Private data of a hmac_t object.
+ *
+ * The variable names are the same as in the RFC.
*/
struct private_hmac_t {
/**
- * hmac_t interface
+ * Public hmac_t interface.
*/
hmac_t hmac;
/**
- * block size, as in RFC
+ * Block size, as in RFC.
*/
u_int8_t b;
/**
- * hash function
+ * Hash function.
*/
hasher_t *h;
/**
- * previously xor'ed key using opad
+ * Previously xor'ed key using opad.
*/
chunk_t opaded_key;
+
/**
- * previously xor'ed key using ipad
+ * Previously xor'ed key using ipad.
*/
chunk_t ipaded_key;
};