47 memcpy( ctx->
k_ipad, key, key_len);
48 memcpy( ctx->
k_opad, key, key_len);
51 for (i=0; i<64; i++) {
void hmac_md5_init_limK_to_64(const uchar *key, int key_len, HMACMD5Context *ctx)
The microsoft version of hmac_md5 initialisation.
void hmac_md5_final(uchar *digest, HMACMD5Context *ctx)
Finish off hmac_md5 "inner" buffer and generate outer one.
void MD5Final(unsigned char digest[16], struct MD5Context *ctx)
void hmac_md5_update(const uchar *text, int text_len, HMACMD5Context *ctx)
Update hmac_md5 "inner" buffer.
void MD5Init(struct MD5Context *ctx)
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...
void MD5Update(struct MD5Context *ctx, unsigned char const *buf, unsigned len)