Lines Matching refs:md5_off
73 # define md5_off 0 macro
83 md5_off = MD5_CBLOCK - key->md.num, blocks; in rc4_hmac_md5_cipher() local
96 if (rc4_off > md5_off) in rc4_hmac_md5_cipher()
97 md5_off += MD5_CBLOCK; in rc4_hmac_md5_cipher()
99 if (plen > md5_off && (blocks = (plen - md5_off) / MD5_CBLOCK) && 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()
108 md5_off += blocks; in rc4_hmac_md5_cipher()
115 md5_off = 0; in rc4_hmac_md5_cipher()
118 MD5_Update(&key->md, in + md5_off, plen - md5_off); in rc4_hmac_md5_cipher()
138 if (md5_off > rc4_off) 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()
152 md5_off += blocks; in rc4_hmac_md5_cipher()
159 md5_off = 0; in rc4_hmac_md5_cipher()
166 MD5_Update(&key->md, out + md5_off, plen - md5_off); in rc4_hmac_md5_cipher()
177 MD5_Update(&key->md, out + md5_off, len - md5_off); in rc4_hmac_md5_cipher()