aboutsummaryrefslogtreecommitdiff
path: root/cc/config
AgeCommit message (Collapse)Author
2023-07-13Delete extra variable assignment in Fips1402Test.cinlin
PiperOrigin-RevId: 547919425
2023-07-13Move KeyGen/ConfigGlobalRegistry to public API. #tinkApiChangecinlin
PiperOrigin-RevId: 547908174
2023-07-13Extend C++ config tests.cinlin
PiperOrigin-RevId: 547890095
2023-07-12Use KeysetHandle::GenerateNew in FIPS 140.2 config tests.cinlin
PiperOrigin-RevId: 547564102
2023-07-11Define crypto::tink::KeyGenConfigV0(). #tinkApiChangecinlin
PiperOrigin-RevId: 547356441
2023-07-07Define crypto::tink::ConfigV0(). #tinkApiChangecinlin
PiperOrigin-RevId: 546391917
2023-06-28Define Configuration in global registry mode.cinlin
This is analogous to the existing KeyGenConfigGlobalRegistry, both of which allow (old) global registry usage in the (new) config world. PiperOrigin-RevId: 544132305
2023-06-27Accept global registry configs in GetPrimitive.cinlin
PiperOrigin-RevId: 543664075
2023-06-23Define KeyGenConfiguration in global registry mode.cinlin
This enables users to migrate code from the global registry to configs while avoiding functional changes (the global registry is still used). PiperOrigin-RevId: 542951739
2023-06-22Return StatusOr from ConfigurationImpl::Get functions.cinlin
PiperOrigin-RevId: 542695837
2023-06-22Rename Register to Add in *ConfigurationImpl.cinlin
PiperOrigin-RevId: 542576504
2023-06-21Correct KeyGenConfigFips140_2 typo.cinlin
PiperOrigin-RevId: 542469153
2023-06-20Internal change.cinlin
PiperOrigin-RevId: 541981875
2023-06-16Fix nits in Fips1402Test C++.cinlin
PiperOrigin-RevId: 540970439
2023-06-15Define KeyGenConfigFips140_2 C++ object. #tinkApiChangecinlin
Also mark this and ConfigFips140_2 as public. PiperOrigin-RevId: 540737691
2023-05-26Use KeysetWrapperStore, KeyTypeInfoStore in Configuration instead of ↵cinlin
RegistryImpl. PiperOrigin-RevId: 535691511
2023-04-20Replace direct use of FIPS_mode with an internal util functionambrosin
The function returns `false` if OpenSSL is used. PiperOrigin-RevId: 525726396
2023-03-15Define KeysetHandle::GetPrimitive() with Configuration. #tinkApiChangecinlin
PiperOrigin-RevId: 516777900
2023-03-14Define crypto::tink::ConfigFips140_2(). #tinkApiChangecinlin
PiperOrigin-RevId: 516701128
2023-03-13Remove deprecated config.hambrosin
PiperOrigin-RevId: 516143220
2023-03-08Remove the custom crypto::tink::util::Staus{|Or} implementationambrosin
Also remove Kokoro test scripts that used `--//config:tink_use_absl_statusor=True`. PiperOrigin-RevId: 515018353
2023-03-08Set crypto::tink::util::{Status|StatusOr} as alias of ↵ambrosin
absl::{Status|StatusOr} by default PiperOrigin-RevId: 514968149
2022-03-25Hide crypto::tink::util::StatusOr behind a compile-time option. Add the ↵lizatretyakova
corresponding option to the Bazel files, and use it in the kokoro test preventing slide-backs. Also, rename the test in order to reflect its updated functionality. Do not enable TINK_USE_ABSL_STATUSOR internally yet. This CL is a part of Tink migration to using absl::Status{,Or} and absl::StatusCode. PiperOrigin-RevId: 437234791
2022-02-08Fix lint errors in includes.juerg
PiperOrigin-RevId: 427162077
2021-12-13Refactor bazel build file.ambrosin
PiperOrigin-RevId: 415985872
2021-12-10Refactor bazel build file.ambrosin
PiperOrigin-RevId: 415511598
2021-12-06Internal change.lizatretyakova
PiperOrigin-RevId: 414449035
2021-11-11Refactor CMake files in cc/config.ambrosin
PiperOrigin-RevId: 409128272
2021-11-01Replace the deprecated crypto::tink::util::error::INTERNAL usages with its ↵lizatretyakova
absl version absl::StatusCode::kInternal in third_party/tink/cc. This CL is a part of Tink migration to using absl::Status{,Or} and absl::StatusCode. PiperOrigin-RevId: 406805638
2021-10-29Replace the deprecated crypto::tink::util::error::NOT_FOUND usages with its ↵lizatretyakova
absl version absl::StatusCode::kNotFound. This CL is a part of Tink migration to using absl::Status{,Or} and absl::StatusCode. PiperOrigin-RevId: 406332913
2021-06-16Reset registry in FIPS tests for runtime tests.kste
This ensures the registry is empty for the runtime tests. Tests otherwise can fail depending on the order if they do not clean up the registry. PiperOrigin-RevId: 379712084
2021-04-16Move config_setting and define for enabling FIPS to fips_utils.kste
PiperOrigin-RevId: 368854096
2021-04-16Add a function to enable FIPS restrictions at runtime in C++.kste
PiperOrigin-RevId: 368850964
2021-04-16Refactor tink fips into an internal and public part.kste
Create a new fips_util target which captures all internal functions used for implementing the FIPS checks and puts it in the internal namespace. The tink_fips.h now only provides functions which are part of the public API. PiperOrigin-RevId: 368843791
2021-04-09Add missing copyright statements. These were missing due to internal ↵tholenst
miscommunication. PiperOrigin-RevId: 367585827
2021-02-11Add missing 'return' to ChecksFipsCompatibility().ckl
PiperOrigin-RevId: 356924742
2021-01-20Use flag_values in Blaze/Bazel instead of define for enabling FIPS mode.kste
PiperOrigin-RevId: 352766577
2020-08-12Add WORKSPACE to build the BoringSSL FIPS module in Bazel.kste
This adds a new target which can compile BoringSSL with the FIPS module according to the security policy outlined in the certification and make it available to Tink. Tests for the behavior of the FIPS only mode are marked with fips tag in the build file. PiperOrigin-RevId: 326217217
2020-08-12Return error if FIPS status is in undefined state.kste
PiperOrigin-RevId: 326187569
2020-07-08Internal change.kste
PiperOrigin-RevId: 320176179
2020-07-08Internal change.kste
PiperOrigin-RevId: 320172771
2020-07-03Add build flag to enable FIPS only mode which restricts the usage of Tink to ↵kste
primitives which utilize implementations in the FIPS validated BoringCrypto module. PiperOrigin-RevId: 319499654
2020-04-15Adding PrfSet cross language tests and fixing the missing configuration bugssschmieg
that cropped up when doing so. Currently only HKDF can be supported because that is the only key format Tinkey can create without a Java implementation. PiperOrigin-RevId: 306752105
2020-01-22Moving C++ proto targets to a separate directory.Bartosz Przydatek
Change-Id: Ib3d0a8eef30313cf7a2e30a2eea754c009368081
2020-01-21Introducing a separate WORKSPACE for C++.Bartosz Przydatek
Change-Id: I83590d4e90f42a17f7a52157bbb3afef998916b9
2019-08-14Deprecate TinkConfig::Latest().paulavidas
PiperOrigin-RevId: 263313121
2019-08-06Add license headers I forgot.tholenst
PiperOrigin-RevId: 261862603
2019-07-31C++/Objc Tink: Remove building the RegistryConfig protos.tholenst
These are not needed anymore, since we simply register all key managers directly; they were only needed for catalogue support. PiperOrigin-RevId: 260986202
2019-07-30Remove dummy catalogue from test.paulavidas
PiperOrigin-RevId: 260713425
2019-07-30Update description of TinkConfig::Register() method.paulavidas
PiperOrigin-RevId: 260688736