Skip to content

Commit e06d7ab

Browse files
authored
Merge pull request #96 from bigbrett/wolfssl-add-asn-template
Chapter02: add WOLFSSL_ASN_TEMPLATE build option description
2 parents d50fbe7 + bdf5bcb commit e06d7ab

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

wolfSSL/src/chapter02.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -585,6 +585,14 @@ Enables encrypt-then-mac support to perform mac after encryption with block ciph
585585

586586
Required if using Chacha20/Poly1305 with TLS v1.2 for setting up Poly authentication. This is on by default with ChaCha20/Poly1305 if using `./configure`, but needs to be manually defined if building with `WOLFSSL_USER_SETTINGS`.
587587

588+
#### WOLFSSL_ASN_TEMPLATE
589+
Enables the new version of ASN parsing code that uses template-based ASN.1 processing. This parsing adheres to standard ASN.1 rules and uses a template structure to dictate encoding and decoding, allowing the parser code to generalize across templates. This is on by default if using `./configure`, but needs to be manually defined if building with `WOLFSSL_USER_SETTINGS`.
590+
591+
#### WOLFSSL_DEBUG_ASN_TEMPLATE
592+
Enables debugging output when using ASN.1 templates. Only relevant when used with `WOLFSSL_ASN_TEMPLATE`.
593+
594+
#### WOLFSSL_ASN_TEMPLATE_TYPE_CHECK
595+
Use ASN functions to better test compiler type issues for testing. Only relevant when used with `WOLFSSL_ASN_TEMPLATE`
588596

589597
### Enabling Features Disabled by Default
590598

0 commit comments

Comments
 (0)