Lines Matching refs:md

33     MD5_CTX head, tail, md;  member
58 key->md = key->head; in rc4_hmac_md5_init_key()
83 md5_off = MD5_CBLOCK - key->md.num, blocks; in rc4_hmac_md5_cipher()
101 MD5_Update(&key->md, in, md5_off); in rc4_hmac_md5_cipher()
105 &key->md, in + md5_off, blocks); in rc4_hmac_md5_cipher()
109 key->md.Nh += blocks >> 29; in rc4_hmac_md5_cipher()
110 key->md.Nl += blocks <<= 3; in rc4_hmac_md5_cipher()
111 if (key->md.Nl < (unsigned int)blocks) in rc4_hmac_md5_cipher()
112 key->md.Nh++; in rc4_hmac_md5_cipher()
118 MD5_Update(&key->md, in + md5_off, plen - md5_off); in rc4_hmac_md5_cipher()
125 MD5_Final(out + plen, &key->md); in rc4_hmac_md5_cipher()
126 key->md = key->tail; in rc4_hmac_md5_cipher()
127 MD5_Update(&key->md, out + plen, MD5_DIGEST_LENGTH); in rc4_hmac_md5_cipher()
128 MD5_Final(out + plen, &key->md); in rc4_hmac_md5_cipher()
146 MD5_Update(&key->md, out, md5_off); in rc4_hmac_md5_cipher()
149 &key->md, out + md5_off, blocks); in rc4_hmac_md5_cipher()
153 l = (key->md.Nl + (blocks << 3)) & 0xffffffffU; in rc4_hmac_md5_cipher()
154 if (l < key->md.Nl) in rc4_hmac_md5_cipher()
155 key->md.Nh++; in rc4_hmac_md5_cipher()
156 key->md.Nl = l; in rc4_hmac_md5_cipher()
157 key->md.Nh += blocks >> 29; in rc4_hmac_md5_cipher()
166 MD5_Update(&key->md, out + md5_off, plen - md5_off); in rc4_hmac_md5_cipher()
169 MD5_Final(mac, &key->md); in rc4_hmac_md5_cipher()
170 key->md = key->tail; in rc4_hmac_md5_cipher()
171 MD5_Update(&key->md, mac, MD5_DIGEST_LENGTH); in rc4_hmac_md5_cipher()
172 MD5_Final(mac, &key->md); in rc4_hmac_md5_cipher()
177 MD5_Update(&key->md, out + md5_off, len - md5_off); in rc4_hmac_md5_cipher()
239 key->md = key->head; in rc4_hmac_md5_ctrl()
240 MD5_Update(&key->md, p, arg); in rc4_hmac_md5_ctrl()