mirror of
https://github.com/kmackay/micro-ecc.git
synced 2026-10-22 07:28:12 +00:00
Several fixes singled out in the pull request discussion thread.
This commit is contained in:
@@ -35,9 +35,11 @@ faster somewhat faster, but increases the code size. */
|
||||
#define uECC_SQUARE_FUNC 0
|
||||
#endif
|
||||
|
||||
/* uECC_VLI_NATIVE_LITTLE_ENDIAN - If enabled (defined as nonzero), this will enable native
|
||||
little-endian format for all keys passed in and out of the public API. This will *only* work
|
||||
on native little-endian processors. */
|
||||
/* uECC_VLI_NATIVE_LITTLE_ENDIAN - If enabled (defined as nonzero), this will switch to native
|
||||
little-endian format for *all* arrays passed in and out of the public API. This includes public
|
||||
and private keys, shared secrets, signatures and message hashes.
|
||||
Using this switch reduces the amount of call stack memory used by uECC, since less intermediate
|
||||
translations are required. Note that this will *only* work on native little-endian processors. */
|
||||
#ifndef uECC_VLI_NATIVE_LITTLE_ENDIAN
|
||||
#define uECC_VLI_NATIVE_LITTLE_ENDIAN 0
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user