Lines Matching refs:CHKSUM_DIGEST_SIZE
41 #define CHKSUM_DIGEST_SIZE 4 macro
88 u8 bufnext[CHKSUM_DIGEST_SIZE]; /* extra bytes for next udpate */
89 u8 buflast[CHKSUM_DIGEST_SIZE]; /* extra bytes from last udpate */
193 CHKSUM_DIGEST_SIZE - mid_dma_count); in bfin_crypto_crc_config_dma()
194 dma_addr += CHKSUM_DIGEST_SIZE - mid_dma_count; in bfin_crypto_crc_config_dma()
195 dma_count -= CHKSUM_DIGEST_SIZE - mid_dma_count; in bfin_crypto_crc_config_dma()
204 crc->sg_cpu[i].x_modify = CHKSUM_DIGEST_SIZE; in bfin_crypto_crc_config_dma()
255 CHKSUM_DIGEST_SIZE, DMA_TO_DEVICE); in bfin_crypto_crc_config_dma()
258 crc->sg_cpu[i].x_modify = CHKSUM_DIGEST_SIZE; in bfin_crypto_crc_config_dma()
328 CHKSUM_DIGEST_SIZE - ctx->bufnext_len); in bfin_crypto_crc_handle_queue()
331 if (ctx->bufnext_len + req->nbytes < CHKSUM_DIGEST_SIZE) { in bfin_crypto_crc_handle_queue()
367 memset(ctx->bufnext, 0, CHKSUM_DIGEST_SIZE); in bfin_crypto_crc_handle_queue()
386 ctx->sg_buflen += CHKSUM_DIGEST_SIZE; in bfin_crypto_crc_handle_queue()
459 if (keylen != CHKSUM_DIGEST_SIZE) { in bfin_crypto_crc_setkey()
491 .halg.digestsize = CHKSUM_DIGEST_SIZE,