Re: [fsverity-utils PATCH 2/2] programs/fsverity: share code to parse tree parameters
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: "ebiggers@xxxxxxxxxx" <ebiggers@xxxxxxxxxx>, "linux-fscrypt@xxxxxxxxxxxxxxx" <linux-fscrypt@xxxxxxxxxxxxxxx>
- Subject: Re: [fsverity-utils PATCH 2/2] programs/fsverity: share code to parse tree parameters
- From: Luca Boccassi <Luca.Boccassi@xxxxxxxxxxxxx>
- Date: Mon, 16 Nov 2020 11:32:47 +0000
- Accept-language: en-GB, en-US
- In-reply-to: <20201114001529.185751-3-ebiggers@kernel.org>
- References: <20201114001529.185751-1-ebiggers@kernel.org> <20201114001529.185751-3-ebiggers@kernel.org>
- Thread-index: AQHWvAw1usJGFVv1w0u5URdJSGn9ag==
- Thread-topic: [fsverity-utils PATCH 2/2] programs/fsverity: share code to parse tree parameters
- User-agent: Evolution 3.30.5-1.1
On Fri, 2020-11-13 at 16:15 -0800, Eric Biggers wrote:
> From: Eric Biggers <ebiggers@xxxxxxxxxx>
>
> The "digest", "enable", and "sign" commands all parse the --hash-alg,
> --block-size, and --salt options and initialize a struct
> libfsverity_merkle_tree_params, so share the code that does this.
>
> Signed-off-by: Eric Biggers <ebiggers@xxxxxxxxxx>
> ---
> programs/cmd_digest.c | 31 ++++---------------------------
> programs/cmd_enable.c | 30 ++++--------------------------
> programs/cmd_sign.c | 31 ++++---------------------------
> programs/fsverity.c | 42 ++++++++++++++++++++++++++++++++++++++----
> programs/fsverity.h | 19 +++++++++++++++----
> 5 files changed, 65 insertions(+), 88 deletions(-)
Acked-by: Luca Boccassi <luca.boccassi@xxxxxxxxxxxxx>
--
Kind regards,
Luca Boccassi
Attachment:
signature.asc
Description: This is a digitally signed message part
[Index of Archives]
[linux Cryptography]
[Asterisk App Development]
[PJ SIP]
[Gnu Gatekeeper]
[IETF Sipping]
[Info Cyrus]
[ALSA User]
[Fedora Linux Users]
[Linux SCTP]
[DCCP]
[Gimp]
[Yosemite News]
[Deep Creek Hot Springs]
[Yosemite Campsites]
[ISDN Cause Codes]