Home
last modified time | relevance | path

Searched refs:DMSG_CRYPTO_CHUNK_SIZE (Results 1 – 2 of 2) sorted by relevance

/dragonfly/lib/libdmsg/
HDcrypto.c690 while (p_len >= DMSG_CRYPTO_CHUNK_SIZE) { in dmsg_crypto_decrypt()
691 bcopy(ioq->buf + ioq->fifo_cdn, buf, DMSG_CRYPTO_CHUNK_SIZE); in dmsg_crypto_decrypt()
695 DMSG_CRYPTO_CHUNK_SIZE, in dmsg_crypto_decrypt()
706 ioq->fifo_cdx += DMSG_CRYPTO_CHUNK_SIZE; in dmsg_crypto_decrypt()
737 while (p_len >= DMSG_CRYPTO_CHUNK_SIZE && in dmsg_crypto_encrypt()
738 nmax >= DMSG_CRYPTO_CHUNK_SIZE) in dmsg_crypto_encrypt()
744 DMSG_CRYPTO_CHUNK_SIZE, &ct_used); in dmsg_crypto_encrypt()
752 … *nactp += (size_t)DMSG_CRYPTO_CHUNK_SIZE; /* plaintext count */ in dmsg_crypto_encrypt()
753 used += DMSG_CRYPTO_CHUNK_SIZE; in dmsg_crypto_encrypt()
754 p_len -= DMSG_CRYPTO_CHUNK_SIZE; in dmsg_crypto_encrypt()
HDdmsg.h112 #define DMSG_CRYPTO_CHUNK_SIZE DMSG_ALIGN macro