On Sat, Oct 08, 2022 at 04:50:28PM +0800, Lei He wrote: > Add encoding interfaces for DER encoding: > 1. support decoding of 'bit string', 'octet string', 'object id' > and 'context specific tag' for DER encoder. > 2. implemented a simple DER encoder. > 3. add more testsuits for DER encoder. > > Signed-off-by: lei he <helei.si...@bytedance.com> > --- > crypto/der.c | 307 > +++++++++++++++++++++++++++++++++++++++---- > crypto/der.h | 211 ++++++++++++++++++++++++++++- > tests/unit/test-crypto-der.c | 126 ++++++++++++++---- > 3 files changed, 597 insertions(+), 47 deletions(-)
Reviewed-by: Daniel P. Berrangé <berra...@redhat.com> With 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 :|