mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
Add definitions for MD5_BLOCK_LENGTH, MD5_DIGEST_LENGTH and
MD5_DIGEST_STRING_LENGTH. MFC after: 3 days
This commit is contained in:
parent
e4bd8f103e
commit
b1955eecdd
1 changed files with 5 additions and 0 deletions
|
|
@ -27,6 +27,11 @@ documentation and/or software.
|
|||
|
||||
#ifndef _SYS_MD5_H_
|
||||
#define _SYS_MD5_H_
|
||||
|
||||
#define MD5_BLOCK_LENGTH 64
|
||||
#define MD5_DIGEST_LENGTH 16
|
||||
#define MD5_DIGEST_STRING_LENGTH (MD5_DIGEST_LENGTH * 2 + 1)
|
||||
|
||||
/* MD5 context. */
|
||||
typedef struct MD5Context {
|
||||
u_int32_t state[4]; /* state (ABCD) */
|
||||
|
|
|
|||
Loading…
Reference in a new issue