crypto: add ASN.1 DER decoder
commit99d423f10c636c39405924e68584f50f78a0bb8c
authorLei He <helei.sig11@bytedance.com>
Wed, 25 May 2022 09:01:13 +0000 (25 17:01 +0800)
committerDaniel P. Berrangé <berrange@redhat.com>
Thu, 26 May 2022 10:41:49 +0000 (26 11:41 +0100)
tree4f7f1eeca23e0bf107f1c1e3b16132c3751423a6
parentdb5ca5fbfa6597ac9dd1ae40f986696db9c8b9dd
crypto: add ASN.1 DER decoder

Add an ANS.1 DER decoder which is used to parse asymmetric
cipher keys

Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>
Signed-off-by: lei he <helei.sig11@bytedance.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
crypto/der.c [new file with mode: 0644]
crypto/der.h [new file with mode: 0644]
crypto/meson.build
tests/unit/meson.build
tests/unit/test-crypto-der.c [new file with mode: 0644]