Lines Matching defs:BUFLEN
224 #define BUFLEN HASH_BLOCK_SIZE
328 u8 xmit_buf[BUFLEN];
380 * @fallback: Software transformation for zero message or size < BUFLEN.
1164 if (!IS_ALIGNED(sg_tmp->length - skip, BUFLEN)) {
1211 * Note 2: we enter here when digcnt > BUFLEN (=HASH_BLOCK_SIZE) or
1212 * either req->nbytes or ctx->bufcnt + req->nbytes is > BUFLEN or
1231 if (nbytes && (!IS_ALIGNED(ctx->bufcnt, BUFLEN))) {
1232 /* bytes left from previous request, so fill up to BUFLEN */
1233 int len = BUFLEN - ctx->bufcnt % BUFLEN;
1254 if (IS_ALIGNED(xmit_len, BUFLEN))
1255 xmit_len -= BUFLEN;
1257 xmit_len -= xmit_len & (BUFLEN - 1);
1267 if (xmit_len > BUFLEN) {
1514 if (ctx->bufcnt + req->nbytes <= BUFLEN) {
1532 * less than BUFLEN (64) then calculate the final hash immediately by using
1555 if (!ctx->digcnt && ctx->bufcnt < BUFLEN) {
1666 sizeof(struct s5p_hash_reqctx) + BUFLEN);
1720 memcpy(ctx, in, sizeof(*ctx) + BUFLEN);
1721 if (ctx_in->bufcnt > BUFLEN) {
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,