OpenVAS Libraries
9.0.3
|
Go to the source code of this file.
Functions | |
void | hmac_md5_init_limK_to_64 (const uchar *key, int key_len, HMACMD5Context *ctx) |
The microsoft version of hmac_md5 initialisation. More... | |
void | hmac_md5_update (const uchar *text, int text_len, HMACMD5Context *ctx) |
Update hmac_md5 "inner" buffer. More... | |
void | hmac_md5_final (uchar *digest, HMACMD5Context *ctx) |
Finish off hmac_md5 "inner" buffer and generate outer one. More... | |
void | hmac_md5 (uchar key[16], uchar *data, int data_len, uchar *digest) |
Function to calculate an HMAC MD5 digest from data. Use the microsoft hmacmd5 init method because the key is 16 bytes. More... | |
Function to calculate an HMAC MD5 digest from data. Use the microsoft hmacmd5 init method because the key is 16 bytes.
Definition at line 88 of file hmacmd5.c.
References hmac_md5_final(), hmac_md5_init_limK_to_64(), and hmac_md5_update().
Referenced by ntlmssp_genauth_ntlm2().
void hmac_md5_final | ( | uchar * | digest, |
HMACMD5Context * | ctx | ||
) |
Finish off hmac_md5 "inner" buffer and generate outer one.
Definition at line 71 of file hmacmd5.c.
References HMACMD5Context::ctx, HMACMD5Context::k_opad, MD5Final(), MD5Init(), and MD5Update().
Referenced by hmac_md5(), nasl_ntv2_owf_gen(), SMBOWFencrypt_ntv2_ntlmssp(), and SMBsesskeygen_ntv2_ntlmssp().
void hmac_md5_init_limK_to_64 | ( | const uchar * | key, |
int | key_len, | ||
HMACMD5Context * | ctx | ||
) |
The microsoft version of hmac_md5 initialisation.
Definition at line 33 of file hmacmd5.c.
References HMACMD5Context::ctx, HMACMD5Context::k_ipad, HMACMD5Context::k_opad, MD5Init(), MD5Update(), and ZERO_STRUCT.
Referenced by hmac_md5(), nasl_ntv2_owf_gen(), SMBOWFencrypt_ntv2_ntlmssp(), and SMBsesskeygen_ntv2_ntlmssp().
void hmac_md5_update | ( | const uchar * | text, |
int | text_len, | ||
HMACMD5Context * | ctx | ||
) |
Update hmac_md5 "inner" buffer.
Definition at line 63 of file hmacmd5.c.
References HMACMD5Context::ctx, and MD5Update().
Referenced by hmac_md5(), nasl_ntv2_owf_gen(), SMBOWFencrypt_ntv2_ntlmssp(), and SMBsesskeygen_ntv2_ntlmssp().