On Tue, Jun 10, 2025 at 09:20:44PM +0530, Sudhakar wrote:
> From: Daniel Axtens <[email protected]>
>
> This code allows us to parse ASN1 node and allocating memory to store it.
> It will work for anything where the size libtasn1 returns is right:
>  - Integers
>  - Octet strings
>  - DER encoding of other structures
> It will _not_ work for things where libtasn1 size requires adjustment:
>  - Strings that require an extra NULL byte at the end
>  - Bit strings because libtasn1 returns the length in bits, not bytes.
> If the function returns a non-NULL value, the caller must free it.
>
> Signed-off-by: Javier Martinez Canillas <[email protected]> # EKU support
> Reported-by: Michal Suchanek <[email protected]> # key usage issue
> Signed-off-by: Daniel Axtens <[email protected]>
> Signed-off-by: Sudhakar Kuppusamy <[email protected]>
> Reviewed-by: Stefan Berger <[email protected]>
> Reviewed-by: Avnish Chouhan <[email protected]>

Reviewed-by: Daniel Kiper <[email protected]>

Daniel

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to