forked from tink-crypto/tink
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moving primitive factories to corresponding subdirectories.
Change-Id: I78628a62983c472f0cb5b73ce6f4e68714637398 ORIGINAL_AUTHOR=Bartosz Przydatek <[email protected]> GitOrigin-RevId: a80036ee74ca7a6dcb7b5f84c2dc395a350cd43a
- Loading branch information
Showing
11 changed files
with
124 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
licenses(["notice"]) # Apache 2.0 | ||
|
||
cc_library( | ||
name = "aead_factory", | ||
srcs = ["aead_factory.cc"], | ||
hdrs = ["aead_factory.h"], | ||
visibility = ["//visibility:public"], | ||
deps = [ | ||
"//cc:aead", | ||
"//cc:key_manager", | ||
"//cc:keyset_handle", | ||
"//cc/util:errors", | ||
"//cc/util:status", | ||
"//cc/util:statusor", | ||
], | ||
) | ||
|
||
# tests | ||
|
||
cc_test( | ||
name = "aead_factory_test", | ||
size = "small", | ||
srcs = ["aead_factory_test.cc"], | ||
copts = ["-Iexternal/gtest/include"], | ||
deps = [ | ||
":aead_factory", | ||
"//cc:aead", | ||
"//cc/util:status", | ||
"//cc/util:statusor", | ||
"@gtest//:gtest", | ||
], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
licenses(["notice"]) # Apache 2.0 | ||
|
||
cc_library( | ||
name = "mac_factory", | ||
srcs = ["mac_factory.cc"], | ||
hdrs = ["mac_factory.h"], | ||
visibility = ["//visibility:public"], | ||
deps = [ | ||
"//cc:key_manager", | ||
"//cc:keyset_handle", | ||
"//cc:mac", | ||
"//cc/util:status", | ||
"//cc/util:statusor", | ||
], | ||
) | ||
|
||
# tests | ||
|
||
cc_test( | ||
name = "mac_factory_test", | ||
size = "small", | ||
srcs = ["mac_factory_test.cc"], | ||
copts = ["-Iexternal/gtest/include"], | ||
deps = [ | ||
":mac_factory", | ||
"//cc:mac", | ||
"//cc/util:status", | ||
"//cc/util:statusor", | ||
"@gtest//:gtest", | ||
], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters