| // SPDX-License-Identifier: BSD-2-Clause |
| /* LibTomCrypt, modular cryptographic library -- Tom St Denis |
| * |
| * LibTomCrypt is a library that provides various cryptographic |
| * algorithms in a highly modular and flexible manner. |
| * |
| * The library is free for all purposes without any express |
| * guarantee it works. |
| */ |
| #include "tomcrypt_private.h" |
| |
| |
| /** |
| @file der_decode_sequence_ex.c |
| ASN.1 DER, decode a SEQUENCE, Tom St Denis |
| */ |
| |
| #ifdef LTC_DER |
| |
| /** |
| Decode a SEQUENCE |
| @param in The DER encoded input |
| @param inlen The size of the input |
| @param list The list of items to decode |
| @param outlen The number of items in the list |
| @param flags c.f. enum ltc_der_seq |
| @return CRYPT_OK on success |
| */ |
| int der_decode_sequence_ex(const unsigned char *in, unsigned long inlen, |
| ltc_asn1_list *list, unsigned long outlen, unsigned int flags) |
| { |
| return der_decode_custom_type_ex(in, inlen, NULL, list, outlen, flags); |
| } |
| |
| #endif |
| |
| /* ref: $Format:%D$ */ |
| /* git commit: $Format:%H$ */ |
| /* commit time: $Format:%ai$ */ |