aboutsummaryrefslogtreecommitdiff
path: root/cc/aead
diff options
context:
space:
mode:
authorambrosin <ambrosin@google.com>2023-02-13 12:13:28 -0800
committerCopybara-Service <copybara-worker@google.com>2023-02-13 12:15:51 -0800
commit3e85b075f124899e70e440998437d3c3dbaf6e4e (patch)
treed04ea97efb6a2de903ea70476ba91833e47ee5c2 /cc/aead
parentbf00eaceab125cae2c9758c3ac1a9ec59856e374 (diff)
downloadtink-3e85b075f124899e70e440998437d3c3dbaf6e4e.tar.gz
Add genrules to copy wycheproof test vectors locally in Tink C++.
This is needed as a bridge as we enable, and eventually move towards using, Bazel Modules. Bazel Modules use different repository names (https://bazel.build/versions/6.0.0/build/bzlmod#repository-names), so this change is needed to allow WORKSPACE and Module based package definitions to coexist. PiperOrigin-RevId: 509297684
Diffstat (limited to 'cc/aead')
-rw-r--r--cc/aead/internal/BUILD.bazel10
1 files changed, 5 insertions, 5 deletions
diff --git a/cc/aead/internal/BUILD.bazel b/cc/aead/internal/BUILD.bazel
index 0f7c72f6c..fcf3eaee1 100644
--- a/cc/aead/internal/BUILD.bazel
+++ b/cc/aead/internal/BUILD.bazel
@@ -154,7 +154,7 @@ cc_test(
name = "cord_aes_gcm_boringssl_test",
size = "small",
srcs = ["cord_aes_gcm_boringssl_test.cc"],
- data = ["@wycheproof//testvectors:aes_gcm"],
+ data = ["//testvectors:aes_gcm"],
deps = [
":cord_aes_gcm_boringssl",
"//subtle:aes_gcm_boringssl",
@@ -199,7 +199,7 @@ cc_test(
cc_test(
name = "zero_copy_aes_gcm_boringssl_test",
srcs = ["zero_copy_aes_gcm_boringssl_test.cc"],
- data = ["@wycheproof//testvectors:aes_gcm"],
+ data = ["//testvectors:aes_gcm"],
deps = [
":wycheproof_aead",
":zero_copy_aead",
@@ -235,9 +235,9 @@ cc_test(
name = "ssl_aead_test",
srcs = ["ssl_aead_test.cc"],
data = [
- "@wycheproof//testvectors:aes_gcm",
- "@wycheproof//testvectors:aes_gcm_siv",
- "@wycheproof//testvectors:chacha20_poly1305",
+ "//testvectors:aes_gcm",
+ "//testvectors:aes_gcm_siv",
+ "//testvectors:chacha20_poly1305",
],
deps = [
":ssl_aead",