Lines Matching refs:buf_len
33 size_t buf_len;
54 ret->buf_len = ssh_digest_blocksize(ret->ictx);
55 if ((ret->buf = calloc(1, ret->buf_len)) == NULL)
71 if (klen <= ctx->buf_len)
74 ctx->buf_len) < 0)
76 for (i = 0; i < ctx->buf_len; i++)
78 if (ssh_digest_update(ctx->ictx, ctx->buf, ctx->buf_len) < 0)
80 for (i = 0; i < ctx->buf_len; i++)
82 if (ssh_digest_update(ctx->octx, ctx->buf, ctx->buf_len) < 0)
84 explicit_bzero(ctx->buf, ctx->buf_len);
129 explicit_bzero(ctx->buf, ctx->buf_len);