Skip to content
This repository has been archived by the owner on Apr 17, 2024. It is now read-only.

Commit

Permalink
Adding C++ DeterministicAead to public API.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 215891943
GitOrigin-RevId: 8002eeb97d9744310883f99588dc372a5ac713a0
  • Loading branch information
przydatek authored and Tink Team committed Oct 9, 2018
1 parent ced9050 commit 6f45019
Show file tree
Hide file tree
Showing 4 changed files with 78 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cc/BUILD.bazel
Expand Up @@ -17,6 +17,9 @@ PUBLIC_APIS = [
"catalogue.h",
"config.h",
"deterministic_aead.h",
"deterministic_aead_config.h",
"deterministic_aead_factory.h",
"deterministic_aead_key_templates.h",
"hybrid_config.h",
"hybrid_decrypt.h",
"hybrid_decrypt_factory.h",
Expand Down Expand Up @@ -74,6 +77,9 @@ PUBLIC_API_DEPS = [
"//cc/aead:aead_factory",
"//cc/aead:aead_key_templates",
"//cc/config:tink_config",
"//cc/daead:deterministic_aead_config",
"//cc/daead:deterministic_aead_factory",
"//cc/daead:deterministic_aead_key_templates",
"//cc/hybrid:hybrid_config",
"//cc/hybrid:hybrid_decrypt_factory",
"//cc/hybrid:hybrid_encrypt_factory",
Expand Down
24 changes: 24 additions & 0 deletions cc/deterministic_aead_config.h
@@ -0,0 +1,24 @@
// Copyright 2017 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
///////////////////////////////////////////////////////////////////////////////

#ifndef TINK_DETERMINISTIC_AEAD_CONFIG_H_
#define TINK_DETERMINISTIC_AEAD_CONFIG_H_

// IWYU pragma: begin_exports
#include "tink/daead/deterministic_aead_config.h"
// IWYU pragma: end_exports

#endif // TINK_DETERMINISTIC_AEAD_CONFIG_H_
24 changes: 24 additions & 0 deletions cc/deterministic_aead_factory.h
@@ -0,0 +1,24 @@
// Copyright 2017 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
///////////////////////////////////////////////////////////////////////////////

#ifndef TINK_DETERMINISTIC_AEAD_FACTORY_H_
#define TINK_DETERMINISTIC_AEAD_FACTORY_H_

// IWYU pragma: begin_exports
#include "tink/daead/deterministic_aead_factory.h"
// IWYU pragma: end_exports

#endif // TINK_DETERMINISTIC_AEAD_FACTORY_H_
24 changes: 24 additions & 0 deletions cc/deterministic_aead_key_templates.h
@@ -0,0 +1,24 @@
// Copyright 2018 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
///////////////////////////////////////////////////////////////////////////////

#ifndef TINK_DETERMINISTIC_AEAD_KEY_TEMPLATES_H_
#define TINK_DETERMINISTIC_AEAD_KEY_TEMPLATES_H_

// IWYU pragma: begin_exports
#include "tink/daead/deterministic_aead_key_templates.h"
// IWYU pragma: end_exports

#endif // TINK_DETERMINISTIC_AEAD_KEY_TEMPLATES_H_

0 comments on commit 6f45019

Please sign in to comment.