diff options
| author | 2015-06-24 07:36:50 +0200 | |
|---|---|---|
| committer | 2015-06-24 07:36:50 +0200 | |
| commit | d1583b9850d9fb45470648a515eb734e05fd926f (patch) | |
| tree | 33a4d9934bd2ff6c41526abe0ba06c1d1ea73eb6 /src/lib/util/sha1.c | |
| parent | 03a5bfa56fa4af400f6b9fb07a5e1333aa8fa52f (diff) | |
Cleanups and version bumpmame0163
Diffstat (limited to 'src/lib/util/sha1.c')
| -rw-r--r-- | src/lib/util/sha1.c | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/src/lib/util/sha1.c b/src/lib/util/sha1.c index 732828d9ccf..32247510190 100644 --- a/src/lib/util/sha1.c +++ b/src/lib/util/sha1.c @@ -122,11 +122,11 @@ static void WRITE_UINT32(unsigned char* data, UINT32 val) /* Initialize the SHA values */ /** - * @fn void sha1_init(struct sha1_ctx *ctx) + * @fn void sha1_init(struct sha1_ctx *ctx) * - * @brief Sha 1 initialise. + * @brief Sha 1 initialise. * - * @param [in,out] ctx If non-null, the context. + * @param [in,out] ctx If non-null, the context. */ void @@ -154,12 +154,12 @@ sha1_init(struct sha1_ctx *ctx) Note that this function destroys the data area */ /** - * @fn static void sha1_transform(UINT32 *state, UINT32 *data) + * @fn static void sha1_transform(UINT32 *state, UINT32 *data) * - * @brief Sha 1 transform. + * @brief Sha 1 transform. * - * @param [in,out] state If non-null, the state. - * @param [in,out] data If non-null, the data. + * @param [in,out] state If non-null, the state. + * @param [in,out] data If non-null, the data. */ static void @@ -268,12 +268,12 @@ sha1_transform(UINT32 *state, UINT32 *data) } /** - * @fn static void sha1_block(struct sha1_ctx *ctx, const UINT8 *block) + * @fn static void sha1_block(struct sha1_ctx *ctx, const UINT8 *block) * - * @brief Sha 1 block. + * @brief Sha 1 block. * - * @param [in,out] ctx If non-null, the context. - * @param block The block. + * @param [in,out] ctx If non-null, the context. + * @param block The block. */ static void @@ -294,13 +294,13 @@ sha1_block(struct sha1_ctx *ctx, const UINT8 *block) } /** - * @fn void sha1_update(struct sha1_ctx *ctx, unsigned length, const UINT8 *buffer) + * @fn void sha1_update(struct sha1_ctx *ctx, unsigned length, const UINT8 *buffer) * - * @brief Sha 1 update. + * @brief Sha 1 update. * - * @param [in,out] ctx If non-null, the context. - * @param length The length. - * @param buffer The buffer. + * @param [in,out] ctx If non-null, the context. + * @param length The length. + * @param buffer The buffer. */ void @@ -340,11 +340,11 @@ sha1_update(struct sha1_ctx *ctx, 1 0* (64-bit count of bits processed, MSB-first) */ /** - * @fn void sha1_final(struct sha1_ctx *ctx) + * @fn void sha1_final(struct sha1_ctx *ctx) * - * @brief Sha 1 final. + * @brief Sha 1 final. * - * @param [in,out] ctx If non-null, the context. + * @param [in,out] ctx If non-null, the context. */ void @@ -391,13 +391,13 @@ sha1_final(struct sha1_ctx *ctx) } /** - * @fn void sha1_digest(const struct sha1_ctx *ctx, unsigned length, UINT8 *digest) + * @fn void sha1_digest(const struct sha1_ctx *ctx, unsigned length, UINT8 *digest) * - * @brief Sha 1 digest. + * @brief Sha 1 digest. * - * @param ctx The context. - * @param length The length. - * @param [in,out] digest If non-null, the digest. + * @param ctx The context. + * @param length The length. + * @param [in,out] digest If non-null, the digest. */ void |
