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 */
213 CHKSUM_DIGEST_SIZE - mid_dma_count); in bfin_crypto_crc_config_dma()
214 dma_addr += CHKSUM_DIGEST_SIZE - mid_dma_count; in bfin_crypto_crc_config_dma()
215 dma_count -= CHKSUM_DIGEST_SIZE - mid_dma_count; in bfin_crypto_crc_config_dma()
224 crc->sg_cpu[i].x_modify = CHKSUM_DIGEST_SIZE; in bfin_crypto_crc_config_dma()
275 CHKSUM_DIGEST_SIZE, DMA_TO_DEVICE); in bfin_crypto_crc_config_dma()
278 crc->sg_cpu[i].x_modify = CHKSUM_DIGEST_SIZE; in bfin_crypto_crc_config_dma()
348 CHKSUM_DIGEST_SIZE - ctx->bufnext_len); in bfin_crypto_crc_handle_queue()
351 if (ctx->bufnext_len + req->nbytes < CHKSUM_DIGEST_SIZE) { in bfin_crypto_crc_handle_queue()
387 memset(ctx->bufnext, 0, CHKSUM_DIGEST_SIZE); in bfin_crypto_crc_handle_queue()
406 ctx->sg_buflen += CHKSUM_DIGEST_SIZE; in bfin_crypto_crc_handle_queue()
479 if (keylen != CHKSUM_DIGEST_SIZE) { in bfin_crypto_crc_setkey()
511 .halg.digestsize = CHKSUM_DIGEST_SIZE,