[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v4 1/3] crypto/secret: move main logic from 'secret' to 'secr
From: |
Daniel P . Berrangé |
Subject: |
Re: [PATCH v4 1/3] crypto/secret: move main logic from 'secret' to 'secret_common'. |
Date: |
Wed, 27 May 2020 10:44:43 +0100 |
User-agent: |
Mutt/1.13.4 (2020-02-15) |
On Mon, May 25, 2020 at 02:16:53PM +0300, Alexey Krasikov wrote:
> Create base class 'common secret'. Move common data and logic from
> 'secret' to 'common_secret' class. This allowed adding abstraction layer
> for easier adding new 'secret' objects in future.
> Convert 'secret' class to child from basic 'secret_common' with 'data'
> and 'file' properties.
>
> Signed-off-by: Alexey Krasikov <address@hidden>
> ---
> crypto/Makefile.objs | 1 +
> crypto/secret.c | 347 +---------------------------
> crypto/secret_common.c | 403 +++++++++++++++++++++++++++++++++
> include/crypto/secret.h | 20 +-
> include/crypto/secret_common.h | 68 ++++++
> 5 files changed, 482 insertions(+), 357 deletions(-)
> create mode 100644 crypto/secret_common.c
> create mode 100644 include/crypto/secret_common.h
Reviewed-by: Daniel P. Berrangé <address@hidden>
Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|