Skip to content

Commit

Permalink
Initial implementation from node.js
Browse files Browse the repository at this point in the history
  • Loading branch information
jasnell committed Feb 4, 2025
1 parent d779257 commit eca0484
Show file tree
Hide file tree
Showing 9 changed files with 5,621 additions and 6 deletions.
1 change: 1 addition & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
common --enable_workspace
build --cxxopt="-std=c++20"
3 changes: 3 additions & 0 deletions BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@ cc_library(
hdrs = glob(["include/*.h"]),
includes = ["include"],
visibility = ["//visibility:public"],
deps = [
"@ssl"
]
)
11 changes: 11 additions & 0 deletions WORKSPACE
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
workspace(name = "ncrypto")

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
name = "ssl",
sha256 = "76962c003a298f405d1a5d273a74a94f58b69f65d64b8574a82d4c21c5e407be",
strip_prefix = "google-boringssl-6abe184",
type = "tgz",
urls = ["https://github.com/google/boringssl/tarball/6abe18402eb2a5e9b00158c6459646a948c53060"],
)
1 change: 1 addition & 0 deletions external
309 changes: 309 additions & 0 deletions include/dh-primes.h

Large diffs are not rendered by default.

Loading

0 comments on commit eca0484

Please sign in to comment.