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]

 



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]

  Powered by Linux