aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/sha1.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asterisk/sha1.h')
-rw-r--r--include/asterisk/sha1.h21
1 files changed, 10 insertions, 11 deletions
diff --git a/include/asterisk/sha1.h b/include/asterisk/sha1.h
index fa8e2155b..ed905d04b 100644
--- a/include/asterisk/sha1.h
+++ b/include/asterisk/sha1.h
@@ -47,23 +47,22 @@ enum
#endif
#define SHA1HashSize 20
-/*
- * This structure will hold context information for the SHA-1
- * hashing operation
- */
+/*!
+ * \brief This structure will hold context information for the SHA-1 hashing operation
+*/
typedef struct SHA1Context
{
- uint32_t Intermediate_Hash[SHA1HashSize/4]; /* Message Digest */
+ uint32_t Intermediate_Hash[SHA1HashSize/4]; /*! Message Digest */
- uint32_t Length_Low; /* Message length in bits */
- uint32_t Length_High; /* Message length in bits */
+ uint32_t Length_Low; /*!< Message length in bits */
+ uint32_t Length_High; /*!< Message length in bits */
/* Index into message block array */
- uint32_t Message_Block_Index; /* 8 bits actually suffice */
- uint8_t Message_Block[64]; /* 512-bit message blocks */
+ uint32_t Message_Block_Index; /*!< 8 bits actually suffice */
+ uint8_t Message_Block[64]; /*!< 512-bit message blocks */
- int Computed; /* Is the digest computed? */
- int Corrupted; /* Is the message digest corrupted? */
+ int Computed; /*!< Is the digest computed? */
+ int Corrupted; /*!< Is the message digest corrupted? */
} SHA1Context;
/*