Skip to content

Commit 9813acf

Browse files
committed
Initial implementation from node.js
1 parent d779257 commit 9813acf

File tree

8 files changed

+5880
-0
lines changed

8 files changed

+5880
-0
lines changed

.bazelrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
common --enable_workspace
12
build --cxxopt="-std=c++20"

BUILD.bazel

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,7 @@ cc_library(
44
hdrs = glob(["include/*.h"]),
55
includes = ["include"],
66
visibility = ["//visibility:public"],
7+
deps = [
8+
"@ssl"
9+
]
710
)

WORKSPACE

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
workspace(name = "ncrypto")
2+
3+
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
4+
5+
http_archive(
6+
name = "ssl",
7+
sha256 = "76962c003a298f405d1a5d273a74a94f58b69f65d64b8574a82d4c21c5e407be",
8+
strip_prefix = "google-boringssl-6abe184",
9+
type = "tgz",
10+
urls = ["https://github.com/google/boringssl/tarball/6abe18402eb2a5e9b00158c6459646a948c53060"],
11+
)

external

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/home/jsnell/.cache/bazel/_bazel_jsnell/5f319b6a8e3a6d510bc9a4983389ea9e/execroot/_main/bazel-out/../../../external

include/dh-primes.h

Lines changed: 311 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)