Merge pull request #405 from cconlon/androidMAX_FIPS_DATA_SZ
Add note about MAX_FIPS_DATA_SZ to Android Studio examplepull/406/head
commit
29bfb452df
|
@ -75,12 +75,19 @@ if ("${WOLFSSL_PKG_TYPE}" MATCHES "normal")
|
||||||
|
|
||||||
elseif("${WOLFSSL_PKG_TYPE}" MATCHES "fipsready")
|
elseif("${WOLFSSL_PKG_TYPE}" MATCHES "fipsready")
|
||||||
# Add preprocessor defines to CFLAGS, these match those placed into
|
# Add preprocessor defines to CFLAGS, these match those placed into
|
||||||
# wolfssl/options.h by configure if using: "./configure" on a Unix/Linux platform. The options
|
# wolfssl/options.h by configure if using: "./configure" on a Unix/Linux
|
||||||
# below have been chosen to match a FIPS Ready build, and are based on the example
|
# platform. The options below have been chosen to match a FIPS Ready build,
|
||||||
# user_settings.h file located here:
|
# and are based on the example user_settings.h file located here:
|
||||||
# https://github.com/wolfSSL/wolfssl/blob/master/examples/configs/user_settings_fipsv5.h
|
# https://github.com/wolfSSL/wolfssl/blob/master/examples/configs/user_settings_fipsv5.h
|
||||||
# This list may be configurable depending on use case and desired optimizations, being careful
|
# This list may be configurable depending on use case and desired
|
||||||
# not to break FIPS compatibility if targeting FIPS proper in the future.
|
# optimizations, being careful not to break FIPS compatibility if targeting
|
||||||
|
# FIPS proper in the future.
|
||||||
|
|
||||||
|
# NOTE: If using wolfSSL FIPS Ready or FIPS proper with this sample
|
||||||
|
# application and run into the scenario where the verifyCore[] hash output
|
||||||
|
# at runtime is empty, consider checking/increasing the size of the
|
||||||
|
# MAX_FIPS_DATA_SZ define in 'wolfcrypt/src/fips_test.c'.
|
||||||
|
|
||||||
add_definitions(-DHAVE_FIPS -DHAVE_FIPS_VERSION=5 -DHAVE_FIPS_VERSION_MINOR=3
|
add_definitions(-DHAVE_FIPS -DHAVE_FIPS_VERSION=5 -DHAVE_FIPS_VERSION_MINOR=3
|
||||||
-DHAVE_HASHDRBG -DHAVE_THREAD_LS -DHAVE_REPRODUCIBLE_BUILD
|
-DHAVE_HASHDRBG -DHAVE_THREAD_LS -DHAVE_REPRODUCIBLE_BUILD
|
||||||
-DFP_MAX_BITS=16384 -DSP_INT_BITS=8192 -DWOLFSSL_PUBLIC_MP
|
-DFP_MAX_BITS=16384 -DSP_INT_BITS=8192 -DWOLFSSL_PUBLIC_MP
|
||||||
|
|
Loading…
Reference in New Issue