diff options
Diffstat (limited to 'src/uscxml/util/SHA1.h')
-rw-r--r-- | src/uscxml/util/SHA1.h | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/src/uscxml/util/SHA1.h b/src/uscxml/util/SHA1.h index f9baa5b..1bbfaf5 100644 --- a/src/uscxml/util/SHA1.h +++ b/src/uscxml/util/SHA1.h @@ -55,31 +55,31 @@ extern "C" { #endif - /* - * This structure will hold context information for the hashing - * operation - */ - typedef struct SHA1Context { - unsigned Message_Digest[5]; /* Message Digest (output) */ +/* + * This structure will hold context information for the hashing + * operation + */ +typedef struct SHA1Context { + unsigned Message_Digest[5]; /* Message Digest (output) */ - unsigned Length_Low; /* Message length in bits */ - unsigned Length_High; /* Message length in bits */ + unsigned Length_Low; /* Message length in bits */ + unsigned Length_High; /* Message length in bits */ - unsigned char Message_Block[64]; /* 512-bit message blocks */ - int Message_Block_Index; /* Index into message block array */ + unsigned char Message_Block[64]; /* 512-bit message blocks */ + int Message_Block_Index; /* Index into message block array */ - int Computed; /* Is the digest computed? */ - int Corrupted; /* Is the message digest corruped? */ - } SHA1Context; + int Computed; /* Is the digest computed? */ + int Corrupted; /* Is the message digest corruped? */ +} SHA1Context; - /* - * Function Prototypes - */ - USCXML_API void SHA1Reset(SHA1Context *); - USCXML_API int SHA1Result(SHA1Context *); - USCXML_API void SHA1Input(SHA1Context *, - const unsigned char *, - unsigned); +/* + * Function Prototypes + */ +USCXML_API void SHA1Reset(SHA1Context *); +USCXML_API int SHA1Result(SHA1Context *); +USCXML_API void SHA1Input(SHA1Context *, + const unsigned char *, + unsigned); #ifdef __cplusplus } |