Lines Matching refs:BUFLEN
224 #define BUFLEN HASH_BLOCK_SIZE macro
328 u8 xmit_buf[BUFLEN];
1164 if (!IS_ALIGNED(sg_tmp->length - skip, BUFLEN)) { in s5p_hash_prepare_sgs()
1231 if (nbytes && (!IS_ALIGNED(ctx->bufcnt, BUFLEN))) { in s5p_hash_prepare_request()
1233 int len = BUFLEN - ctx->bufcnt % BUFLEN; in s5p_hash_prepare_request()
1254 if (IS_ALIGNED(xmit_len, BUFLEN)) in s5p_hash_prepare_request()
1255 xmit_len -= BUFLEN; in s5p_hash_prepare_request()
1257 xmit_len -= xmit_len & (BUFLEN - 1); in s5p_hash_prepare_request()
1267 if (xmit_len > BUFLEN) { in s5p_hash_prepare_request()
1514 if (ctx->bufcnt + req->nbytes <= BUFLEN) { in s5p_hash_update()
1555 if (!ctx->digcnt && ctx->bufcnt < BUFLEN) { in s5p_hash_final()
1666 sizeof(struct s5p_hash_reqctx) + BUFLEN); in s5p_hash_cra_init_alg()
1720 memcpy(ctx, in, sizeof(*ctx) + BUFLEN); in s5p_hash_import()
1721 if (ctx_in->bufcnt > BUFLEN) { in s5p_hash_import()
1741 .halg.statesize = sizeof(struct s5p_hash_reqctx) + BUFLEN,
1766 .halg.statesize = sizeof(struct s5p_hash_reqctx) + BUFLEN,
1791 .halg.statesize = sizeof(struct s5p_hash_reqctx) + BUFLEN,