Skip to content

Commit d9562d2

Browse files
committed
Peer review fixes
1 parent bc34398 commit d9562d2

1 file changed

Lines changed: 1 addition & 21 deletions

File tree

wolfSSL/src/chapter02.md

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ Disables the PKCS#7 EncryptedData content type. Reduces code size when only Sign
466466
467467
#### NO_PKCS7_COMPRESSED_DATA
468468
469-
Disables the PKCS#7 CompressedData content type. Requires zlib ([`HAVE_LIBZ`](#have_libz)) when enabled.
469+
Disables the PKCS#7 CompressedData content type. When CompressedData support is enabled (i.e., this macro is not defined), zlib ([`HAVE_LIBZ`](#have_libz)) is required.
470470
471471
#### WC_PKCS7_STREAM_DEBUG
472472
@@ -910,8 +910,6 @@ Enables MD2 hash algorithm support. Only needed for legacy certificate compatibi
910910

911911
This macro disables additional private key checking that is on by default. This enables checking to validate the private key is a pair for the public key. It is supported for RSA, ECDSA, ED25519, ED448, Falcon, Dilithium and Sphincs.
912912

913-
914-
915913
#### NO_CIPHER_SUITE_ALIASES
916914

917915
Disables cipher suite name aliases. Only the primary cipher suite name will be recognized, not alternative names.
@@ -1098,7 +1096,6 @@ Enables the new version of ASN parsing code that uses template-based ASN.1 proce
10981096
#### WOLFSSL_DEBUG_ASN_TEMPLATE
10991097
Enables debugging output when using ASN.1 templates. Only relevant when used with `WOLFSSL_ASN_TEMPLATE`.
11001098
1101-
11021099
#### WOLFSSL_DEBUG_CERTS
11031100
11041101
Enables debug logging for certificate processing operations including parsing, validation, and chain building.
@@ -1226,8 +1223,6 @@ Enables TLS packet sniffing support. Allows decrypting and inspecting TLS traffi
12261223

12271224
Enables web server-oriented features in wolfSSL, such as additional HTTP helper functions.
12281225

1229-
1230-
12311226
#### HAVE_WOLF_EVENT
12321227

12331228
Enables wolf event-driven processing support for async operations. Provides an event queue for managing pending async crypto operations.
@@ -1792,9 +1787,6 @@ Enables extra SSL session information tracking and APIs beyond the standard set.
17921787
17931788
Enables additional debugging print outs during a TLS connection
17941789
1795-
1796-
1797-
17981790
#### WOLFSSL_DEBUG_TRACE_ERROR_CODES
17991791
18001792
Enables tracing of error code origins for debugging. Logs where error codes are generated in the wolfSSL source code.
@@ -2038,8 +2030,6 @@ Enable feature which uses faster DH and RSA prime checking.
20382030
20392031
Uses the old-style curve list parsing for backward compatibility with applications that set curves using the older format.
20402032
2041-
2042-
20432033
#### WOLFSSL_OLD_TIMINGPADVERIFY
20442034
20452035
Uses the old timing-based padding verification for CBC cipher suites. The new method provides better constant-time behavior.
@@ -3224,8 +3214,6 @@ This allows overriding the maximum name support for an X.509 certificate field.
32243214
32253215
Special small OpenSSL compat layer for certs.
32263216
3227-
3228-
32293217
#### OPENSSL_EXTRA_NO_ASN1
32303218
32313219
Enables OpenSSL extra compatibility APIs but excludes ASN1 object functions. Useful when ASN1 compatibility is not needed to reduce code size.
@@ -5428,8 +5416,6 @@ CPPFLAGS="-DHAVE_AES_ECB -I$CRYPTODEV_DIR -DDEBUG_SECO -DDEBUG_DEVCRYPTO" \
54285416
54295417
These are the macros that can be enabled for building without autotools:
54305418
5431-
5432-
54335419
***CAAM***
54345420
54355421
- WOLFSSL_CAAM - Main macro switch to enable CAAM support.
@@ -5600,8 +5586,6 @@ Used to delete a key from the keystore.
56005586
56015587
This is a list of native wolfSSL API that now have CAAM support with the SECO build outlined in this documentation.
56025588
5603-
5604-
56055589
For generation of any AES encrypt and decrypt operations the key can be generated using the following process. Using wc_SECO_GenerateKey(CAAM_GENERATE_KEY, groupID, pubOut, 0, CAAM_KEYTPE_AES128, CAAM_KEY_PERSISTENT, &keyIdOut); where groupID is a specified group number and pubOut is a 32 byte buffer, and the variable keyIdOut gets set to a the new key ID generated. This new key ID generated can then be set in an Aes structure using wc_SECO_AesSetKeyID(Aes, keyIdOut); . Once the key ID has been set in the structure and the Aes structure has been initialized as a WOLFSSL_SECO_DEVID type it will use that key ID for all encrypt and decrypt operations.
56065590
56075591
###### ***AES (ECB/CBC)***
@@ -5777,14 +5761,10 @@ expansion (CAAM_ECC_EXPANSION and CAAM_BLOB_EXPANSION). When wolfSSL code finds
57775761
that these macros are defined (the patch has been applied) then it tries to
57785762
compile in use of the expanded driver.
57795763
5780-
5781-
57825764
#### WOLFSSL_HAVE_ERROR_QUEUE
57835765
57845766
Enables an OpenSSL-compatible error queue for storing and retrieving error information via `ERR_get_error()` and related functions.
57855767
5786-
5787-
57885768
#### WOLFSSL_HAVE_CERT_SERVICE
57895769
57905770
Enables certificate service callbacks for custom certificate handling during the TLS handshake.

0 commit comments

Comments
 (0)