Software APIs
api_config.h
Go to the documentation of this file.
1// Copyright lowRISC contributors (OpenTitan project).
2// Licensed under the Apache License, Version 2.0, see LICENSE for details.
3// SPDX-License-Identifier: Apache-2.0
4
5#ifndef OPENTITAN_CRYPTOLIB_BUILD_CONFIG_H_
6#define OPENTITAN_CRYPTOLIB_BUILD_CONFIG_H_
7
8/**
9 * @file
10 * @brief Build configuration options for the OpenTitan cryptography library.
11 *
12 * Generated as part of an OpenTitan cryptography library build.
13 *
14 * It describes the configuration of the the library and must match the library
15 * archive being linked. Specifically, it defines ABI-affecting configuration
16 * selected when building the library. Consumers should not modify or define
17 * these values manually.
18 */
19
20#ifdef OTCRYPTO_DISABLE_BUF_INTEGRITY_CHECKS
21#error "This release has been built with buffer integrity checks, so these cannot be disabled."
22#endif /* OTCRYPTO_DISABLE_BUF_INTEGRITY_CHECKS */
23
24#endif /* OPENTITAN_CRYPTOLIB_BUILD_CONFIG_H_ */