diff options
author | Richard Levitte <levitte@openssl.org> | 2020-04-13 22:34:56 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2020-04-28 15:37:37 +0200 |
commit | f844f9eb44186df2f8b0cfd3264b4eb003d8c61a (patch) | |
tree | 29860f9c269b67546a418c0197066164e455a362 /crypto/ppccap.c | |
parent | cf86057a1acd13b13c9bd8f7b8a14bbc0e3ffd56 (diff) |
Rename FIPS_MODE to FIPS_MODULE
This macro is used to determine if certain pieces of code should
become part of the FIPS module or not. The old name was confusing.
Fixes #11538
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/11539)
Diffstat (limited to 'crypto/ppccap.c')
-rw-r--r-- | crypto/ppccap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/ppccap.c b/crypto/ppccap.c index 0b2cc78d08..829e46c65e 100644 --- a/crypto/ppccap.c +++ b/crypto/ppccap.c @@ -87,7 +87,7 @@ void sha512_block_data_order(void *ctx, const void *inp, size_t len) * TODO(3.0): Temporarily disabled some assembler that hasn't been brought into * the FIPS module yet. */ -#ifndef FIPS_MODE +#ifndef FIPS_MODULE # ifndef OPENSSL_NO_CHACHA void ChaCha20_ctr32_int(unsigned char *out, const unsigned char *inp, size_t len, const unsigned int key[8], @@ -145,7 +145,7 @@ int poly1305_init(void *ctx, const unsigned char key[16], void *func[2]) return 1; } # endif -#endif /* FIPS_MODE */ +#endif /* FIPS_MODULE */ #ifdef ECP_NISTZ256_ASM void ecp_nistz256_mul_mont(unsigned long res[4], const unsigned long a[4], |