Add Web Crypto API tests and Java tests using test vectors (#35)

* Add test vectors

* Add Java tests using test vectors

* Add Web Crypto API tests.
This commit is contained in:
Thanh Bui
2017-07-27 11:12:16 -07:00
committed by Thai Duong
parent 730842ac8c
commit f755ff0279
31 changed files with 14136 additions and 4 deletions
+33
View File
@@ -1,3 +1,36 @@
# for javascript
http_archive(
name = "io_bazel_rules_closure",
sha256 = "e9e2538b1f7f27de73fa2914b7d2cb1ce2ac01d1abe8390cfe51fb2558ef8b27",
strip_prefix = "rules_closure-4c559574447f90751f05155faba4f3344668f666",
urls = [
"http://mirror.bazel.build/github.com/bazelbuild/rules_closure/archive/4c559574447f90751f05155faba4f3344668f666.tar.gz",
"https://github.com/bazelbuild/rules_closure/archive/4c559574447f90751f05155faba4f3344668f666.tar.gz", # 2017-06-21
],
)
load("@io_bazel_rules_closure//closure:defs.bzl", "closure_repositories")
closure_repositories()
# Google End-to-end
new_http_archive(
name = "e2e",
strip_prefix = "end-to-end-a77a8cbd13157139437219a8c87a7e133457c2e7",
sha256 = "1c0d3678a649c75254e035985a209b9e292befdec733af0a4ad3842acef271eb",
url = "https://github.com/google/end-to-end/archive/a77a8cbd13157139437219a8c87a7e133457c2e7.zip",
build_file = "//:E2E.BUILD"
)
# Google GSON
new_http_archive(
name = "gson",
strip_prefix = "gson-gson-parent-2.8.1",
sha256 = "5b64446a14ee5b29ab62f1bc0341631c20073e141b724afc410aa66dff6d7f2e",
url = "https://github.com/google/gson/archive/gson-parent-2.8.1.tar.gz",
build_file = "//:Gson.BUILD"
)
maven_jar(
name = "bouncycastle_1_46",
artifact = "org.bouncycastle:bcprov-jdk15on:1.46",