Merge pull request #4566 from ejohnstown/fips-check
fips-check script update
This commit is contained in:
commit
c80e63a822
@ -39,6 +39,7 @@ Platform is one of:
|
||||
linuxv5-RC8 (old FIPS 140-3)
|
||||
linuxv5 (current FIPS 140-3)
|
||||
linuxv5-ready (ready FIPS 140-3)
|
||||
linuxv5-RC10
|
||||
Keep (default off) retains the XXX-fips-test temp dir for inspection.
|
||||
|
||||
Example:
|
||||
@ -308,6 +309,21 @@ linuxv5|linuxv5-RC9)
|
||||
COPY_DIRECT=( wolfcrypt/src/aes_asm.S wolfcrypt/src/aes_asm.asm
|
||||
wolfcrypt/src/sha256_asm.S wolfcrypt/src/sha512_asm.S )
|
||||
;;
|
||||
linuxv5-RC10)
|
||||
FIPS_REPO="git@github.com:wolfSSL/fips.git"
|
||||
FIPS_VERSION="WCv5.0-RC10"
|
||||
CRYPT_REPO="git@github.com:wolfSSL/wolfssl.git"
|
||||
CRYPT_VERSION="WCv5.0-RC10"
|
||||
CRYPT_INC_PATH="wolfssl/wolfcrypt"
|
||||
CRYPT_SRC_PATH="wolfcrypt/src"
|
||||
WC_MODS=( aes sha sha256 sha512 rsa hmac random cmac dh ecc sha3 kdf )
|
||||
RNG_VERSION="WCv5.0-RC10"
|
||||
FIPS_SRCS=( fips.c fips_test.c wolfcrypt_first.c wolfcrypt_last.c )
|
||||
FIPS_INCS=( fips.h )
|
||||
FIPS_OPTION="v5-RC10"
|
||||
COPY_DIRECT=( wolfcrypt/src/aes_asm.S wolfcrypt/src/aes_asm.asm
|
||||
wolfcrypt/src/sha256_asm.S wolfcrypt/src/sha512_asm.S )
|
||||
;;
|
||||
|
||||
*)
|
||||
Usage
|
||||
|
@ -5031,7 +5031,7 @@ static int AdjustSequence(TcpInfo* tcpInfo, SnifferSession* session,
|
||||
/* remove bytes already on reassembly list */
|
||||
covered_data_len = newEnd - reassemblyList->begin;
|
||||
*sslFrame += covered_data_len;
|
||||
*sslBytes = (*sslBytes > covered_data_len) ?
|
||||
*sslBytes = (*sslBytes > covered_data_len) ?
|
||||
*sslBytes - covered_data_len : 0;
|
||||
}
|
||||
if ((*sslBytes > 0) && (newEnd > reassemblyList->end)) {
|
||||
@ -5105,7 +5105,7 @@ static int AdjustSequence(TcpInfo* tcpInfo, SnifferSession* session,
|
||||
/* remove bytes already on reassembly list */
|
||||
covered_data_len = newEnd - reassemblyList->begin;
|
||||
*sslFrame += covered_data_len;
|
||||
*sslBytes = (*sslBytes > covered_data_len) ?
|
||||
*sslBytes = (*sslBytes > covered_data_len) ?
|
||||
*sslBytes - covered_data_len : 0;
|
||||
}
|
||||
if ((*sslBytes > 0) && (newEnd > reassemblyList->end)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user