Lines Matching refs:dn
137 * dn = current offset in d (next location to store result)
152 int sn, dn; /* offset from the head of the mbuf, to meat */
195 soff = sn = dn = 0;
231 if (!d || dn + AES_BLOCKLEN > d->m_len) {
267 dn = 0;
271 if (len > d->m_len - dn)
272 len = d->m_len - dn;
284 aes_decrypt_cbc(sp, iv, len >> 4, dptr + dn,
294 dn += len;
332 int sn, dn; /* offset from the head of the mbuf, to meat */
376 soff = sn = dn = 0;
412 if (!d || dn + AES_BLOCKLEN > d->m_len) {
448 dn = 0;
452 if (len > d->m_len - dn)
453 len = d->m_len - dn;
473 aes_encrypt_cbc(sp, ivp, len >> 4, dptr + dn,
486 dn += len;
489 ivp = dptr + dn - AES_BLOCKLEN; // last block encrypted