| // Copyright 2024 The Chromium Authors |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #ifndef CRYPTO_FEATURES_H_ |
| #define CRYPTO_FEATURES_H_ |
| |
| #include "base/feature_list.h" |
| #include "crypto/crypto_export.h" |
| |
| namespace crypto::features { |
| |
| // Enable encryption for process bound strings, if supported by the platform. |
| CRYPTO_EXPORT BASE_DECLARE_FEATURE(kProcessBoundStringEncryption); |
| |
| // Enables the fix for `UnexportableSigningKey::IsHardwareBacked` when |
| // dealing with Windows software keys. |
| // Enabled by default on M139. Remove in or after M142. |
| CRYPTO_EXPORT BASE_DECLARE_FEATURE(kIsHardwareBackedFixEnabled); |
| |
| // Migrate the accessibility attribute in the iOS keychain to "after first |
| // unlock". |
| CRYPTO_EXPORT BASE_DECLARE_FEATURE(kMigrateIOSKeychainAccessibility); |
| |
| } // namespace crypto::features |
| |
| #endif // CRYPTO_FEATURES_H_ |