chore: checkpoint before Python removal

This commit is contained in:
2026-03-26 22:33:59 +00:00
parent 683cec9307
commit e568ddf82a
29972 changed files with 11269302 additions and 2 deletions

View File

@@ -0,0 +1,29 @@
// Copyright (c) 2017, Google Inc.
// SPDX-License-Identifier: ISC
// Ensure we can't call OPENSSL_malloc
#define _BORINGSSL_PROHIBIT_OPENSSL_MALLOC
#include <openssl/crypto.h>
#include "../../internal.h"
#include "../delocate.h"
#include "../rand/entropy/internal.h"
int FIPS_mode(void) {
#if defined(BORINGSSL_FIPS) && !defined(OPENSSL_ASAN)
return 1;
#else
return 0;
#endif
}
int FIPS_is_entropy_cpu_jitter(void) {
if (OPT_OUT_CPU_JITTER_ENTROPY_SOURCE == get_entropy_source_method_id_FOR_TESTING()) {
return 0;
}
return 1;
}
int FIPS_mode_set(int on) { return on == FIPS_mode(); }

File diff suppressed because it is too large Load Diff