Lines Matching refs:buf_len
32 size_t buf_len; member
53 ret->buf_len = ssh_digest_blocksize(ret->ictx); in ssh_hmac_start()
54 if ((ret->buf = calloc(1, ret->buf_len)) == NULL) in ssh_hmac_start()
70 if (klen <= ctx->buf_len) in ssh_hmac_init()
73 ctx->buf_len) < 0) in ssh_hmac_init()
75 for (i = 0; i < ctx->buf_len; i++) in ssh_hmac_init()
77 if (ssh_digest_update(ctx->ictx, ctx->buf, ctx->buf_len) < 0) in ssh_hmac_init()
79 for (i = 0; i < ctx->buf_len; i++) in ssh_hmac_init()
81 if (ssh_digest_update(ctx->octx, ctx->buf, ctx->buf_len) < 0) in ssh_hmac_init()
83 explicit_bzero(ctx->buf, ctx->buf_len); in ssh_hmac_init()
128 explicit_bzero(ctx->buf, ctx->buf_len); in ssh_hmac_free()