* name meaning
* uint32_t unsigned 32 bit integer
* uint8_t unsigned 8 bit integer (i.e., unsigned char)
- * int_least16_t integer of >= 16 bits
+ * int32_t integer of 32 bits
*
*/
uint32_t Length_Low; /* Message length in bits */
uint32_t Length_High; /* Message length in bits */
- /* Index into message block array */
- int_least16_t Message_Block_Index;
+ /* Index into message block array */
+ int32_t Message_Block_Index;
uint8_t Message_Block[64]; /* 512-bit message blocks */
int Computed; /* Is the digest computed? */
* Function Prototypes
*/
-int SHA1Reset( SHA1Context *);
-int SHA1Input( SHA1Context *,
- const uint8_t *,
- unsigned int);
-int SHA1Result( SHA1Context *,
- uint8_t Message_Digest[SHA1HashSize]);
+int SHA1Init(SHA1Context *);
+int SHA1Update(SHA1Context *,
+ const uint8_t *,
+ unsigned int);
+int SHA1Final(SHA1Context *,
+ uint8_t Message_Digest[SHA1HashSize]);
#endif