File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9124,6 +9124,12 @@ \subsection{LTC\_SMALL\_CODE}
91249124When this is defined some of the code such as the Rijndael and SAFER+ ciphers are replaced with smaller code variants.
91259125These variants are slower but can save quite a bit of code space.
91269126
9127+ \subsection {LTC\_ SMALL\_ STACK }
9128+ When this is defined some of the code uses a variant which results in smaller stack sizes.
9129+ Depending on the architecture and other configuration options the results of execution speeed can vary.
9130+ Therefore we try to enable this automatically where it brings an advantage in speed.
9131+ In case you always want smaller stack usage, no matter if it makes the execution slower, you should enable this.
9132+
91279133\subsection {LTC\_ PTHREAD }
91289134When this is activated all of the descriptor table functions will use pthread locking to ensure thread safe updates to the tables. Note that
91299135it doesn't prevent a thread that is passively using a table from being messed up by another thread that updates the table.
Original file line number Diff line number Diff line change 146146/* Use small code where possible */
147147/* #define LTC_SMALL_CODE */
148148
149+ /* Always use small stack sizes where possible */
150+ /* #define LTC_SMALL_STACK */
151+
149152/* clean the stack of functions which put private information on stack */
150153/* #define LTC_CLEAN_STACK */
151154
You can’t perform that action at this time.
0 commit comments