MD5
MD5 utilities. More...
Modules |
|
| Types | |
|
MD5 data types.
|
|
Functions |
|
| void | gos_md5_starts ( gos_md5_context_t *ctx) |
|
MD5 context setup.
More...
|
|
| void | gos_md5_update ( gos_md5_context_t *ctx, const unsigned char *input, int32_t ilen) |
|
MD5 process buffer.
More...
|
|
| void | gos_md5_finish ( gos_md5_context_t *ctx, unsigned char output[16]) |
|
MD5 final digest.
More...
|
|
| void | gos_md5 (const unsigned char *input, int32_t ilen, unsigned char output[16]) |
|
Output = MD5( input buffer )
More...
|
|
| void | gos_md5_hmac_starts ( gos_md5_hmac_context_t *ctx, const unsigned char *key, uint32_t keylen) |
|
MD5 HMAC context setup.
More...
|
|
| void | gos_md5_hmac_update ( gos_md5_hmac_context_t *ctx, const unsigned char *input, uint32_t ilen) |
|
MD5 HMAC process buffer.
More...
|
|
| void | gos_md5_hmac_finish ( gos_md5_hmac_context_t *ctx, unsigned char output[16]) |
|
MD5 HMAC final digest.
More...
|
|
| void | gos_md5_hmac (const unsigned char *key, uint32_t keylen, const unsigned char *input, uint32_t ilen, unsigned char output[16]) |
|
Output = HMAC-MD5( hmac key, input buffer )
More...
|
|
Detailed Description
MD5 utilities.
Function Documentation
◆ gos_md5()
| void gos_md5 | ( | const unsigned char * |
input,
|
| int32_t |
ilen,
|
||
| unsigned char |
output[16]
|
||
| ) |
Output = MD5( input buffer )
- Parameters
-
inputbuffer holding the data ilenlength of the input data outputMD5 checksum result
◆ gos_md5_finish()
| void gos_md5_finish | ( | gos_md5_context_t * |
ctx,
|
| unsigned char |
output[16]
|
||
| ) |
MD5 final digest.
- Parameters
-
ctxMD5 context outputMD5 checksum result
◆ gos_md5_hmac()
| void gos_md5_hmac | ( | const unsigned char * |
key,
|
| uint32_t |
keylen,
|
||
| const unsigned char * |
input,
|
||
| uint32_t |
ilen,
|
||
| unsigned char |
output[16]
|
||
| ) |
Output = HMAC-MD5( hmac key, input buffer )
- Parameters
-
keyHMAC secret key keylenLength of key inputbuffer holding the data ilenLength of input data outputHMAC-MD5 result
◆ gos_md5_hmac_finish()
| void gos_md5_hmac_finish | ( | gos_md5_hmac_context_t * |
ctx,
|
| unsigned char |
output[16]
|
||
| ) |
MD5 HMAC final digest.
- Parameters
-
ctxHMAC context outputMD5 HMAC checksum result
◆ gos_md5_hmac_starts()
| void gos_md5_hmac_starts | ( | gos_md5_hmac_context_t * |
ctx,
|
| const unsigned char * |
key,
|
||
| uint32_t |
keylen
|
||
| ) |
MD5 HMAC context setup.
- Parameters
-
ctxHMAC context to be initialized keyHMAC secret key keylenlength of the HMAC key
◆ gos_md5_hmac_update()
| void gos_md5_hmac_update | ( | gos_md5_hmac_context_t * |
ctx,
|
| const unsigned char * |
input,
|
||
| uint32_t |
ilen
|
||
| ) |
MD5 HMAC process buffer.
- Parameters
-
ctxHMAC context inputbuffer holding the data ilenlength of the input data
◆ gos_md5_starts()
| void gos_md5_starts | ( | gos_md5_context_t * |
ctx
|
) |
MD5 context setup.
- Parameters
-
ctxcontext to be initialized
◆ gos_md5_update()
| void gos_md5_update | ( | gos_md5_context_t * |
ctx,
|
| const unsigned char * |
input,
|
||
| int32_t |
ilen
|
||
| ) |
MD5 process buffer.
- Parameters
-
ctxMD5 context inputbuffer holding the data ilenlength of the input data