Skip to content

Commit bdf5bcb

Browse files
committed
added missing asn template macros and refined sentence
1 parent 831147f commit bdf5bcb

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

wolfSSL/src/chapter02.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,13 @@ Enables encrypt-then-mac support to perform mac after encryption with block ciph
454454
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`.
455455
456456
#### WOLFSSL_ASN_TEMPLATE
457-
Enables newer version of ASN parsing code for most internal ASN operations. This is on by default if using `./configure`, but needs to be manually defined if building with `WOLFSSL_USER_SETTINGS`.
457+
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`.
458+
459+
#### WOLFSSL_DEBUG_ASN_TEMPLATE
460+
Enables debugging output when using ASN.1 templates. Only relevant when used with `WOLFSSL_ASN_TEMPLATE`.
461+
462+
#### WOLFSSL_ASN_TEMPLATE_TYPE_CHECK
463+
Use ASN functions to better test compiler type issues for testing. Only relevant when used with `WOLFSSL_ASN_TEMPLATE`
458464
459465
### Enabling Features Disabled by Default
460466

0 commit comments

Comments
 (0)