Skip to content

Commit

Permalink
Clone ring from the head of the ring repository into third_party
Browse files Browse the repository at this point in the history
Ring has been cloned cloned into third_party, using commit 32b2c6c39ef459aad47f476fe9139b8d57532ab1 from https://github.com/briansmith/ring. This is done so that we will be able to later port our own patch onto it, specifically UEFI compatibility from: briansmith/ring#1406.
  • Loading branch information
jul-sh committed Apr 4, 2022
1 parent b558a59 commit c513ac1
Show file tree
Hide file tree
Showing 321 changed files with 127,546 additions and 0 deletions.
8 changes: 8 additions & 0 deletions third_party/ring/.cargo/audit.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[advisories]
# https://github.com/bheisler/criterion.rs/issues/534. serde_cbor is a
# benchmark-only dependency.
ignore = ["RUSTSEC-2021-0127"]

[output]
deny = ["warnings", "yanked", "unsound", "unmaintained"]
quiet = false
11 changes: 11 additions & 0 deletions third_party/ring/.clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
BasedOnStyle: Google
MaxEmptyLinesToKeep: 3
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
DerivePointerAlignment: false
PointerAlignment: Right
# TODO(davidben): The default for Google style is now Regroup, but the default
# IncludeCategories does not recognize <openssl/header.h>. We should
# reconfigure IncludeCategories to match. For now, keep it at Preserve.
IncludeBlocks: Preserve

1 change: 1 addition & 0 deletions third_party/ring/.coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
service_name: travis-pro
21 changes: 21 additions & 0 deletions third_party/ring/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
root = true

[*]
# Visual Studio 2017 does this wrong
# https://developercommunity.visualstudio.com/content/problem/22922/editorconfig-support-interprets-charset-utf-8-as-u.html
# charset = utf-8
end_of_line = lf
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true

[*.{c,cc,h,inl}]
indent_size = 2

[*.{py,rs,toml}]
indent_size = 4

[*.pl]
trim_trailing_whitespace = false
indent_style = tab
indent_size = 4
7 changes: 7 additions & 0 deletions third_party/ring/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
* text=auto !eol
crypto/**/*.pl linguist-language=Assembly
crypto/perlasm/*.pl linguist-language=Perl
*.bin binary
*.der binary
**/*.h linguist-language=C
**/*.inl linguist-language=C
8 changes: 8 additions & 0 deletions third_party/ring/.github/codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
coverage:
status:
patch:
default:
# Even when coverage hasn't decreased, Codecov would report a reduction
# in coverage of about 0.01%, but only for the patch-level measurement.
# Work around that.
threshold: 0.02%
Loading

0 comments on commit c513ac1

Please sign in to comment.