Re: [PATCH 2/7] crypto: Support more ASN.1 types

2022-06-17 Thread Daniel P . Berrangé
On Mon, Jun 13, 2022 at 04:45:26PM +0800, Lei He wrote: > 1. support decoding of 'bit string','octet string', > 'object id', and 'context specific tag' for DER decoder. > 2. support encoding of int and sequence for DER decoder. > 3. add test suites for the above changes. > > Signed-off-by: lei he

[PATCH 2/7] crypto: Support more ASN.1 types

2022-06-13 Thread Lei He
1. support decoding of 'bit string','octet string', 'object id', and 'context specific tag' for DER decoder. 2. support encoding of int and sequence for DER decoder. 3. add test suites for the above changes. Signed-off-by: lei he --- crypto/der.c | 174 +++