Home
last modified time | relevance | path

Searched refs:md5_byte_t (Results 1 – 3 of 3) sorted by relevance

/openbmc/ipmitool/src/plugins/lan/
H A Dauth.c94 static md5_byte_t digest[16]; in ipmi_auth_md5()
102 md5_append(&state, (const md5_byte_t *)s->authcode, 16); in ipmi_auth_md5()
103 md5_append(&state, (const md5_byte_t *)&s->session_id, 4); in ipmi_auth_md5()
104 md5_append(&state, (const md5_byte_t *)data, data_len); in ipmi_auth_md5()
111 md5_append(&state, (const md5_byte_t *)&temp, 4); in ipmi_auth_md5()
112 md5_append(&state, (const md5_byte_t *)s->authcode, 16); in ipmi_auth_md5()
196 static md5_byte_t digest[16]; in ipmi_auth_special()
204 md5_append(&state, (const md5_byte_t *)s->authcode, strlen(s->authcode)); in ipmi_auth_special()
214 md5_append(&state, (const md5_byte_t *)challenge, 16); in ipmi_auth_special()
H A Dmd5.h63 typedef unsigned char md5_byte_t; /* 8-bit byte */ typedef
70 md5_byte_t buf[64]; /* accumulate block */
82 void md5_append(md5_state_t *pms, const md5_byte_t *data, int nbytes);
85 void md5_finish(md5_state_t *pms, md5_byte_t digest[16]);
H A Dmd5.c132 md5_process(md5_state_t *pms, const md5_byte_t *data /*[64]*/) in md5_process()
156 if (*((const md5_byte_t *)&w)) /* dynamic little-endian */ in md5_process()
164 if (!((data - (const md5_byte_t *)0) & 3)) { in md5_process()
183 const md5_byte_t *xp = data; in md5_process()
323 md5_append(md5_state_t *pms, const md5_byte_t *data, int nbytes) in md5_append()
325 const md5_byte_t *p = data; in md5_append()
361 md5_finish(md5_state_t *pms, md5_byte_t digest[16]) in md5_finish()
363 static const md5_byte_t pad[64] = { in md5_finish()
369 md5_byte_t data[8]; in md5_finish()
374 data[i] = (md5_byte_t)(pms->count[i >> 2] >> ((i & 3) << 3)); in md5_finish()
[all …]