Lines Matching refs:BUFLEN
226 #define BUFLEN HASH_BLOCK_SIZE macro
330 u8 xmit_buf[BUFLEN];
1162 if (!IS_ALIGNED(sg_tmp->length - skip, BUFLEN)) { in s5p_hash_prepare_sgs()
1229 if (nbytes && (!IS_ALIGNED(ctx->bufcnt, BUFLEN))) { in s5p_hash_prepare_request()
1231 int len = BUFLEN - ctx->bufcnt % BUFLEN; in s5p_hash_prepare_request()
1252 if (IS_ALIGNED(xmit_len, BUFLEN)) in s5p_hash_prepare_request()
1253 xmit_len -= BUFLEN; in s5p_hash_prepare_request()
1255 xmit_len -= xmit_len & (BUFLEN - 1); in s5p_hash_prepare_request()
1265 if (xmit_len > BUFLEN) { in s5p_hash_prepare_request()
1512 if (ctx->bufcnt + req->nbytes <= BUFLEN) { in s5p_hash_update()
1553 if (!ctx->digcnt && ctx->bufcnt < BUFLEN) { in s5p_hash_final()
1664 sizeof(struct s5p_hash_reqctx) + BUFLEN); in s5p_hash_cra_init_alg()
1718 memcpy(ctx, in, sizeof(*ctx) + BUFLEN); in s5p_hash_import()
1719 if (ctx_in->bufcnt > BUFLEN) { in s5p_hash_import()
1739 .halg.statesize = sizeof(struct s5p_hash_reqctx) + BUFLEN,
1764 .halg.statesize = sizeof(struct s5p_hash_reqctx) + BUFLEN,
1789 .halg.statesize = sizeof(struct s5p_hash_reqctx) + BUFLEN,