aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Urankar <mikael@FreeBSD.org>2022-02-09 14:35:36 +0000
committerMikael Urankar <mikael@FreeBSD.org>2022-02-09 16:19:33 +0000
commit9dda00feaf4daefd4d9d7c6f356b13cc8882f7d4 (patch)
tree0b1c85f39f8b409692afc7655dde28327b5692fb
parentbb547a80ac3ea50723766dabe5e85c6ee99cdc22 (diff)
downloadports-9dda00feaf4daefd4d9d7c6f356b13cc8882f7d4.tar.gz
ports-9dda00feaf4daefd4d9d7c6f356b13cc8882f7d4.zip
security/cloak: Update to 0.3.0
-rw-r--r--security/cloak/Makefile136
-rw-r--r--security/cloak/distinfo280
-rw-r--r--security/cloak/files/patch-ring-aarch64202
3 files changed, 257 insertions, 361 deletions
diff --git a/security/cloak/Makefile b/security/cloak/Makefile
index bc2768a704a3..5b9a6ec25a56 100644
--- a/security/cloak/Makefile
+++ b/security/cloak/Makefile
@@ -1,7 +1,6 @@
PORTNAME= cloak
DISTVERSIONPREFIX= v
-DISTVERSION= 0.2.0
-PORTREVISION= 26
+DISTVERSION= 0.3.0
CATEGORIES= security
MAINTAINER= mikael@FreeBSD.org
@@ -14,57 +13,90 @@ USES= cargo
USE_GITHUB= yes
GH_ACCOUNT= evansmurithi
-CARGO_CRATES= ansi_term-0.11.0 \
- argon2rs-0.2.5 \
- arrayvec-0.4.10 \
- atty-0.2.11 \
- autocfg-0.1.2 \
- backtrace-0.3.15 \
- backtrace-sys-0.1.28 \
- bitflags-1.0.4 \
- blake2-rfc-0.2.18 \
- cc-1.0.35 \
- cfg-if-0.1.7 \
- clap-2.33.0 \
- cloudabi-0.0.3 \
- constant_time_eq-0.1.3 \
- data-encoding-2.1.2 \
- dirs-1.0.5 \
- failure-0.1.5 \
- failure_derive-0.1.5 \
- fuchsia-cprng-0.1.1 \
- lazy_static-1.3.0 \
- libc-0.2.51 \
- nodrop-0.1.13 \
- numtoa-0.1.0 \
- open-1.2.2 \
- proc-macro2-0.4.28 \
- quote-0.6.12 \
- rand_core-0.3.1 \
- rand_core-0.4.0 \
- rand_os-0.1.3 \
- rdrand-0.4.0 \
- redox_syscall-0.1.54 \
- redox_termios-0.1.1 \
- redox_users-0.3.0 \
- ring-0.14.6 \
- rustc-demangle-0.1.14 \
- scoped_threadpool-0.1.9 \
- serde-1.0.90 \
- serde_derive-1.0.90 \
- spin-0.5.0 \
- strsim-0.8.0 \
- syn-0.15.32 \
- synstructure-0.10.1 \
- termion-1.5.2 \
- textwrap-0.11.0 \
- toml-0.5.0 \
- unicode-width-0.1.5 \
- unicode-xid-0.1.0 \
- untrusted-0.6.2 \
- vec_map-0.8.1 \
- winapi-0.3.7 \
+CARGO_CRATES= aho-corasick-0.7.18 \
+ assert_cmd-2.0.4 \
+ assert_fs-1.0.7 \
+ atty-0.2.14 \
+ autocfg-1.0.1 \
+ bitflags-1.3.2 \
+ bstr-0.2.17 \
+ bumpalo-3.9.1 \
+ cc-1.0.72 \
+ cfg-if-1.0.0 \
+ clap-3.0.13 \
+ crossbeam-utils-0.8.6 \
+ data-encoding-2.3.2 \
+ difflib-0.4.0 \
+ dirs-next-2.0.0 \
+ dirs-sys-next-0.1.2 \
+ doc-comment-0.3.3 \
+ either-1.6.1 \
+ escargot-0.5.7 \
+ fastrand-1.7.0 \
+ float-cmp-0.9.0 \
+ fnv-1.0.7 \
+ getrandom-0.2.4 \
+ globset-0.4.8 \
+ globwalk-0.8.1 \
+ hashbrown-0.11.2 \
+ hermit-abi-0.1.19 \
+ ignore-0.4.18 \
+ indexmap-1.8.0 \
+ instant-0.1.12 \
+ itertools-0.10.3 \
+ itoa-1.0.1 \
+ js-sys-0.3.56 \
+ lazy_static-1.4.0 \
+ libc-0.2.116 \
+ log-0.4.14 \
+ memchr-2.4.1 \
+ normalize-line-endings-0.3.0 \
+ num-traits-0.2.14 \
+ once_cell-1.9.0 \
+ os_str_bytes-6.0.0 \
+ predicates-2.1.1 \
+ predicates-core-1.0.3 \
+ predicates-tree-1.0.5 \
+ proc-macro2-1.0.36 \
+ quote-1.0.15 \
+ redox_syscall-0.2.10 \
+ redox_users-0.4.0 \
+ regex-1.5.4 \
+ regex-automata-0.1.10 \
+ regex-syntax-0.6.25 \
+ remove_dir_all-0.5.3 \
+ ring-0.16.20 \
+ ryu-1.0.9 \
+ same-file-1.0.6 \
+ serde-1.0.136 \
+ serde_derive-1.0.136 \
+ serde_json-1.0.78 \
+ spin-0.5.2 \
+ strsim-0.10.0 \
+ syn-1.0.86 \
+ tempfile-3.3.0 \
+ termcolor-1.1.2 \
+ terminal_size-0.1.17 \
+ termtree-0.2.4 \
+ textwrap-0.14.2 \
+ thiserror-1.0.30 \
+ thiserror-impl-1.0.30 \
+ thread_local-1.1.4 \
+ toml-0.5.8 \
+ unicode-xid-0.2.2 \
+ untrusted-0.7.1 \
+ wait-timeout-0.2.0 \
+ walkdir-2.3.2 \
+ wasi-0.10.2+wasi-snapshot-preview1 \
+ wasm-bindgen-0.2.79 \
+ wasm-bindgen-backend-0.2.79 \
+ wasm-bindgen-macro-0.2.79 \
+ wasm-bindgen-macro-support-0.2.79 \
+ wasm-bindgen-shared-0.2.79 \
+ web-sys-0.3.56 \
+ winapi-0.3.9 \
winapi-i686-pc-windows-gnu-0.4.0 \
+ winapi-util-0.1.5 \
winapi-x86_64-pc-windows-gnu-0.4.0
PLIST_FILES= bin/cloak
diff --git a/security/cloak/distinfo b/security/cloak/distinfo
index d45ca3834690..e1a0cd705620 100644
--- a/security/cloak/distinfo
+++ b/security/cloak/distinfo
@@ -1,107 +1,173 @@
-TIMESTAMP = 1563378950
-SHA256 (rust/crates/ansi_term-0.11.0.tar.gz) = ee49baf6cb617b853aa8d93bf420db2383fab46d314482ca2803b40d5fde979b
-SIZE (rust/crates/ansi_term-0.11.0.tar.gz) = 17087
-SHA256 (rust/crates/argon2rs-0.2.5.tar.gz) = 3f67b0b6a86dae6e67ff4ca2b6201396074996379fba2b92ff649126f37cb392
-SIZE (rust/crates/argon2rs-0.2.5.tar.gz) = 353096
-SHA256 (rust/crates/arrayvec-0.4.10.tar.gz) = 92c7fb76bc8826a8b33b4ee5bb07a247a81e76764ab4d55e8f73e3a4d8808c71
-SIZE (rust/crates/arrayvec-0.4.10.tar.gz) = 26133
-SHA256 (rust/crates/atty-0.2.11.tar.gz) = 9a7d5b8723950951411ee34d271d99dddcc2035a16ab25310ea2c8cfd4369652
-SIZE (rust/crates/atty-0.2.11.tar.gz) = 5916
-SHA256 (rust/crates/autocfg-0.1.2.tar.gz) = a6d640bee2da49f60a4068a7fae53acde8982514ab7bae8b8cea9e88cbcfd799
-SIZE (rust/crates/autocfg-0.1.2.tar.gz) = 10444
-SHA256 (rust/crates/backtrace-0.3.15.tar.gz) = f106c02a3604afcdc0df5d36cc47b44b55917dbaf3d808f71c163a0ddba64637
-SIZE (rust/crates/backtrace-0.3.15.tar.gz) = 33807
-SHA256 (rust/crates/backtrace-sys-0.1.28.tar.gz) = 797c830ac25ccc92a7f8a7b9862bde440715531514594a6154e3d4a54dd769b6
-SIZE (rust/crates/backtrace-sys-0.1.28.tar.gz) = 522603
-SHA256 (rust/crates/bitflags-1.0.4.tar.gz) = 228047a76f468627ca71776ecdebd732a3423081fcf5125585bcd7c49886ce12
-SIZE (rust/crates/bitflags-1.0.4.tar.gz) = 15282
-SHA256 (rust/crates/blake2-rfc-0.2.18.tar.gz) = 5d6d530bdd2d52966a6d03b7a964add7ae1a288d25214066fd4b600f0f796400
-SIZE (rust/crates/blake2-rfc-0.2.18.tar.gz) = 15676
-SHA256 (rust/crates/cc-1.0.35.tar.gz) = 5e5f3fee5eeb60324c2781f1e41286bdee933850fff9b3c672587fed5ec58c83
-SIZE (rust/crates/cc-1.0.35.tar.gz) = 44369
-SHA256 (rust/crates/cfg-if-0.1.7.tar.gz) = 11d43355396e872eefb45ce6342e4374ed7bc2b3a502d1b28e36d6e23c05d1f4
-SIZE (rust/crates/cfg-if-0.1.7.tar.gz) = 7360
-SHA256 (rust/crates/clap-2.33.0.tar.gz) = 5067f5bb2d80ef5d68b4c87db81601f0b75bca627bc2ef76b141d7b846a3c6d9
-SIZE (rust/crates/clap-2.33.0.tar.gz) = 196458
-SHA256 (rust/crates/cloudabi-0.0.3.tar.gz) = ddfc5b9aa5d4507acaf872de71051dfd0e309860e88966e1051e462a077aac4f
-SIZE (rust/crates/cloudabi-0.0.3.tar.gz) = 22156
-SHA256 (rust/crates/constant_time_eq-0.1.3.tar.gz) = 8ff012e225ce166d4422e0e78419d901719760f62ae2b7969ca6b564d1b54a9e
-SIZE (rust/crates/constant_time_eq-0.1.3.tar.gz) = 1279
-SHA256 (rust/crates/data-encoding-2.1.2.tar.gz) = f4f47ca1860a761136924ddd2422ba77b2ea54fe8cc75b9040804a0d9d32ad97
-SIZE (rust/crates/data-encoding-2.1.2.tar.gz) = 19261
-SHA256 (rust/crates/dirs-1.0.5.tar.gz) = 3fd78930633bd1c6e35c4b42b1df7b0cbc6bc191146e512bb3bedf243fcc3901
-SIZE (rust/crates/dirs-1.0.5.tar.gz) = 12908
-SHA256 (rust/crates/failure-0.1.5.tar.gz) = 795bd83d3abeb9220f257e597aa0080a508b27533824adf336529648f6abf7e2
-SIZE (rust/crates/failure-0.1.5.tar.gz) = 36749
-SHA256 (rust/crates/failure_derive-0.1.5.tar.gz) = ea1063915fd7ef4309e222a5a07cf9c319fb9c7836b1f89b85458672dbb127e1
-SIZE (rust/crates/failure_derive-0.1.5.tar.gz) = 4884
-SHA256 (rust/crates/fuchsia-cprng-0.1.1.tar.gz) = a06f77d526c1a601b7c4cdd98f54b5eaabffc14d5f2f0296febdc7f357c6d3ba
-SIZE (rust/crates/fuchsia-cprng-0.1.1.tar.gz) = 2950
-SHA256 (rust/crates/lazy_static-1.3.0.tar.gz) = bc5729f27f159ddd61f4df6228e827e86643d4d3e7c32183cb30a1c08f604a14
-SIZE (rust/crates/lazy_static-1.3.0.tar.gz) = 10616
-SHA256 (rust/crates/libc-0.2.51.tar.gz) = bedcc7a809076656486ffe045abeeac163da1b558e963a31e29fbfbeba916917
-SIZE (rust/crates/libc-0.2.51.tar.gz) = 397323
-SHA256 (rust/crates/nodrop-0.1.13.tar.gz) = 2f9667ddcc6cc8a43afc9b7917599d7216aa09c463919ea32c59ed6cac8bc945
-SIZE (rust/crates/nodrop-0.1.13.tar.gz) = 7508
-SHA256 (rust/crates/numtoa-0.1.0.tar.gz) = b8f8bdf33df195859076e54ab11ee78a1b208382d3a26ec40d142ffc1ecc49ef
-SIZE (rust/crates/numtoa-0.1.0.tar.gz) = 8999
-SHA256 (rust/crates/open-1.2.2.tar.gz) = eedfa0ca7b54d84d948bfd058b8f82e767d11f362dd78c36866fd1f69c175867
-SIZE (rust/crates/open-1.2.2.tar.gz) = 4735
-SHA256 (rust/crates/proc-macro2-0.4.28.tar.gz) = ba92c84f814b3f9a44c5cfca7d2ad77fa10710867d2bbb1b3d175ab5f47daa12
-SIZE (rust/crates/proc-macro2-0.4.28.tar.gz) = 34510
-SHA256 (rust/crates/quote-0.6.12.tar.gz) = faf4799c5d274f3868a4aae320a0a182cbd2baee377b378f080e16a23e9d80db
-SIZE (rust/crates/quote-0.6.12.tar.gz) = 17541
-SHA256 (rust/crates/rand_core-0.3.1.tar.gz) = 7a6fdeb83b075e8266dcc8762c22776f6877a63111121f5f8c7411e5be7eed4b
-SIZE (rust/crates/rand_core-0.3.1.tar.gz) = 15483
-SHA256 (rust/crates/rand_core-0.4.0.tar.gz) = d0e7a549d590831370895ab7ba4ea0c1b6b011d106b5ff2da6eee112615e6dc0
-SIZE (rust/crates/rand_core-0.4.0.tar.gz) = 20326
-SHA256 (rust/crates/rand_os-0.1.3.tar.gz) = 7b75f676a1e053fc562eafbb47838d67c84801e38fc1ba459e8f180deabd5071
-SIZE (rust/crates/rand_os-0.1.3.tar.gz) = 18965
-SHA256 (rust/crates/rdrand-0.4.0.tar.gz) = 678054eb77286b51581ba43620cc911abf02758c91f93f479767aed0f90458b2
-SIZE (rust/crates/rdrand-0.4.0.tar.gz) = 6456
-SHA256 (rust/crates/redox_syscall-0.1.54.tar.gz) = 12229c14a0f65c4f1cb046a3b52047cdd9da1f4b30f8a39c5063c8bae515e252
-SIZE (rust/crates/redox_syscall-0.1.54.tar.gz) = 15668
-SHA256 (rust/crates/redox_termios-0.1.1.tar.gz) = 7e891cfe48e9100a70a3b6eb652fef28920c117d366339687bd5576160db0f76
-SIZE (rust/crates/redox_termios-0.1.1.tar.gz) = 3227
-SHA256 (rust/crates/redox_users-0.3.0.tar.gz) = 3fe5204c3a17e97dde73f285d49be585df59ed84b50a872baf416e73b62c3828
-SIZE (rust/crates/redox_users-0.3.0.tar.gz) = 12766
-SHA256 (rust/crates/ring-0.14.6.tar.gz) = 426bc186e3e95cac1e4a4be125a4aca7e84c2d616ffc02244eef36e2a60a093c
-SIZE (rust/crates/ring-0.14.6.tar.gz) = 5428922
-SHA256 (rust/crates/rustc-demangle-0.1.14.tar.gz) = ccc78bfd5acd7bf3e89cffcf899e5cb1a52d6fafa8dec2739ad70c9577a57288
-SIZE (rust/crates/rustc-demangle-0.1.14.tar.gz) = 18721
-SHA256 (rust/crates/scoped_threadpool-0.1.9.tar.gz) = 1d51f5df5af43ab3f1360b429fa5e0152ac5ce8c0bd6485cae490332e96846a8
-SIZE (rust/crates/scoped_threadpool-0.1.9.tar.gz) = 7800
-SHA256 (rust/crates/serde-1.0.90.tar.gz) = aa5f7c20820475babd2c077c3ab5f8c77a31c15e16ea38687b4c02d3e48680f4
-SIZE (rust/crates/serde-1.0.90.tar.gz) = 71415
-SHA256 (rust/crates/serde_derive-1.0.90.tar.gz) = 58fc82bec244f168b23d1963b45c8bf5726e9a15a9d146a067f9081aeed2de79
-SIZE (rust/crates/serde_derive-1.0.90.tar.gz) = 48815
-SHA256 (rust/crates/spin-0.5.0.tar.gz) = 44363f6f51401c34e7be73db0db371c04705d35efbe9f7d6082e03a921a32c55
-SIZE (rust/crates/spin-0.5.0.tar.gz) = 10493
-SHA256 (rust/crates/strsim-0.8.0.tar.gz) = 8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a
-SIZE (rust/crates/strsim-0.8.0.tar.gz) = 9309
-SHA256 (rust/crates/syn-0.15.32.tar.gz) = 846620ec526c1599c070eff393bfeeeb88a93afa2513fc3b49f1fea84cf7b0ed
-SIZE (rust/crates/syn-0.15.32.tar.gz) = 148009
-SHA256 (rust/crates/synstructure-0.10.1.tar.gz) = 73687139bf99285483c96ac0add482c3776528beac1d97d444f6e91f203a2015
-SIZE (rust/crates/synstructure-0.10.1.tar.gz) = 17836
-SHA256 (rust/crates/termion-1.5.2.tar.gz) = dde0593aeb8d47accea5392b39350015b5eccb12c0d98044d856983d89548dea
-SIZE (rust/crates/termion-1.5.2.tar.gz) = 22076
-SHA256 (rust/crates/textwrap-0.11.0.tar.gz) = d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060
-SIZE (rust/crates/textwrap-0.11.0.tar.gz) = 17322
-SHA256 (rust/crates/toml-0.5.0.tar.gz) = 87c5890a989fa47ecdc7bcb4c63a77a82c18f306714104b1decfd722db17b39e
-SIZE (rust/crates/toml-0.5.0.tar.gz) = 51079
-SHA256 (rust/crates/unicode-width-0.1.5.tar.gz) = 882386231c45df4700b275c7ff55b6f3698780a650026380e72dabe76fa46526
-SIZE (rust/crates/unicode-width-0.1.5.tar.gz) = 15761
-SHA256 (rust/crates/unicode-xid-0.1.0.tar.gz) = fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc
-SIZE (rust/crates/unicode-xid-0.1.0.tar.gz) = 16000
-SHA256 (rust/crates/untrusted-0.6.2.tar.gz) = 55cd1f4b4e96b46aeb8d4855db4a7a9bd96eeeb5c6a1ab54593328761642ce2f
-SIZE (rust/crates/untrusted-0.6.2.tar.gz) = 7526
-SHA256 (rust/crates/vec_map-0.8.1.tar.gz) = 05c78687fb1a80548ae3250346c3db86a80a7cdd77bda190189f2d0a0987c81a
-SIZE (rust/crates/vec_map-0.8.1.tar.gz) = 14959
-SHA256 (rust/crates/winapi-0.3.7.tar.gz) = f10e386af2b13e47c89e7236a7a14a086791a2b88ebad6df9bf42040195cf770
-SIZE (rust/crates/winapi-0.3.7.tar.gz) = 1075776
-SHA256 (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.tar.gz) = ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6
-SIZE (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.tar.gz) = 2918815
-SHA256 (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.tar.gz) = 712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f
-SIZE (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.tar.gz) = 2947998
-SHA256 (evansmurithi-cloak-v0.2.0_GH0.tar.gz) = 87d356875eb26c70e95ccbd8ac1ecfa99bf974c486b42bea92460d18f6ac9699
-SIZE (evansmurithi-cloak-v0.2.0_GH0.tar.gz) = 26749
+TIMESTAMP = 1644417260
+SHA256 (rust/crates/aho-corasick-0.7.18.crate) = 1e37cfd5e7657ada45f742d6e99ca5788580b5c529dc78faf11ece6dc702656f
+SIZE (rust/crates/aho-corasick-0.7.18.crate) = 112923
+SHA256 (rust/crates/assert_cmd-2.0.4.crate) = 93ae1ddd39efd67689deb1979d80bad3bf7f2b09c6e6117c8d1f2443b5e2f83e
+SIZE (rust/crates/assert_cmd-2.0.4.crate) = 22581
+SHA256 (rust/crates/assert_fs-1.0.7.crate) = cf09bb72e00da477c2596865e8873227e2196d263cca35414048875dbbeea1be
+SIZE (rust/crates/assert_fs-1.0.7.crate) = 17519
+SHA256 (rust/crates/atty-0.2.14.crate) = d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8
+SIZE (rust/crates/atty-0.2.14.crate) = 5470
+SHA256 (rust/crates/autocfg-1.0.1.crate) = cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a
+SIZE (rust/crates/autocfg-1.0.1.crate) = 12908
+SHA256 (rust/crates/bitflags-1.3.2.crate) = bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a
+SIZE (rust/crates/bitflags-1.3.2.crate) = 23021
+SHA256 (rust/crates/bstr-0.2.17.crate) = ba3569f383e8f1598449f1a423e72e99569137b47740b1da11ef19af3d5c3223
+SIZE (rust/crates/bstr-0.2.17.crate) = 330350
+SHA256 (rust/crates/bumpalo-3.9.1.crate) = a4a45a46ab1f2412e53d3a0ade76ffad2025804294569aae387231a0cd6e0899
+SIZE (rust/crates/bumpalo-3.9.1.crate) = 77507
+SHA256 (rust/crates/cc-1.0.72.crate) = 22a9137b95ea06864e018375b72adfb7db6e6f68cfc8df5a04d00288050485ee
+SIZE (rust/crates/cc-1.0.72.crate) = 57495
+SHA256 (rust/crates/cfg-if-1.0.0.crate) = baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd
+SIZE (rust/crates/cfg-if-1.0.0.crate) = 7934
+SHA256 (rust/crates/clap-3.0.13.crate) = 08799f92c961c7a1cf0cc398a9073da99e21ce388b46372c37f3191f2f3eed3e
+SIZE (rust/crates/clap-3.0.13.crate) = 191249
+SHA256 (rust/crates/crossbeam-utils-0.8.6.crate) = cfcae03edb34f947e64acdb1c33ec169824e20657e9ecb61cef6c8c74dcb8120
+SIZE (rust/crates/crossbeam-utils-0.8.6.crate) = 38841
+SHA256 (rust/crates/data-encoding-2.3.2.crate) = 3ee2393c4a91429dffb4bedf19f4d6abf27d8a732c8ce4980305d782e5426d57
+SIZE (rust/crates/data-encoding-2.3.2.crate) = 19159
+SHA256 (rust/crates/difflib-0.4.0.crate) = 6184e33543162437515c2e2b48714794e37845ec9851711914eec9d308f6ebe8
+SIZE (rust/crates/difflib-0.4.0.crate) = 7638
+SHA256 (rust/crates/dirs-next-2.0.0.crate) = b98cf8ebf19c3d1b223e151f99a4f9f0690dca41414773390fc824184ac833e1
+SIZE (rust/crates/dirs-next-2.0.0.crate) = 11689
+SHA256 (rust/crates/dirs-sys-next-0.1.2.crate) = 4ebda144c4fe02d1f7ea1a7d9641b6fc6b580adcfa024ae48797ecdeb6825b4d
+SIZE (rust/crates/dirs-sys-next-0.1.2.crate) = 10681
+SHA256 (rust/crates/doc-comment-0.3.3.crate) = fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10
+SIZE (rust/crates/doc-comment-0.3.3.crate) = 4123
+SHA256 (rust/crates/either-1.6.1.crate) = e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457
+SIZE (rust/crates/either-1.6.1.crate) = 13641
+SHA256 (rust/crates/escargot-0.5.7.crate) = f5584ba17d7ab26a8a7284f13e5bd196294dd2f2d79773cff29b9e9edef601a6
+SIZE (rust/crates/escargot-0.5.7.crate) = 20971
+SHA256 (rust/crates/fastrand-1.7.0.crate) = c3fcf0cee53519c866c09b5de1f6c56ff9d647101f81c1964fa632e148896cdf
+SIZE (rust/crates/fastrand-1.7.0.crate) = 11265
+SHA256 (rust/crates/float-cmp-0.9.0.crate) = 98de4bbd547a563b716d8dfa9aad1cb19bfab00f4fa09a6a4ed21dbcf44ce9c4
+SIZE (rust/crates/float-cmp-0.9.0.crate) = 10102
+SHA256 (rust/crates/fnv-1.0.7.crate) = 3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1
+SIZE (rust/crates/fnv-1.0.7.crate) = 11266
+SHA256 (rust/crates/getrandom-0.2.4.crate) = 418d37c8b1d42553c93648be529cb70f920d3baf8ef469b74b9638df426e0b4c
+SIZE (rust/crates/getrandom-0.2.4.crate) = 26800
+SHA256 (rust/crates/globset-0.4.8.crate) = 10463d9ff00a2a068db14231982f5132edebad0d7660cd956a1c30292dbcbfbd
+SIZE (rust/crates/globset-0.4.8.crate) = 22886
+SHA256 (rust/crates/globwalk-0.8.1.crate) = 93e3af942408868f6934a7b85134a3230832b9977cf66125df2f9edcfce4ddcc
+SIZE (rust/crates/globwalk-0.8.1.crate) = 13705
+SHA256 (rust/crates/hashbrown-0.11.2.crate) = ab5ef0d4909ef3724cc8cce6ccc8572c5c817592e9285f5464f8e86f8bd3726e
+SIZE (rust/crates/hashbrown-0.11.2.crate) = 85713
+SHA256 (rust/crates/hermit-abi-0.1.19.crate) = 62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33
+SIZE (rust/crates/hermit-abi-0.1.19.crate) = 9979
+SHA256 (rust/crates/ignore-0.4.18.crate) = 713f1b139373f96a2e0ce3ac931cd01ee973c3c5dd7c40c0c2efe96ad2b6751d
+SIZE (rust/crates/ignore-0.4.18.crate) = 53174
+SHA256 (rust/crates/indexmap-1.8.0.crate) = 282a6247722caba404c065016bbfa522806e51714c34f5dfc3e4a3a46fcb4223
+SIZE (rust/crates/indexmap-1.8.0.crate) = 52583
+SHA256 (rust/crates/instant-0.1.12.crate) = 7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c
+SIZE (rust/crates/instant-0.1.12.crate) = 6128
+SHA256 (rust/crates/itertools-0.10.3.crate) = a9a9d19fa1e79b6215ff29b9d6880b706147f16e9b1dbb1e4e5947b5b02bc5e3
+SIZE (rust/crates/itertools-0.10.3.crate) = 118661
+SHA256 (rust/crates/itoa-1.0.1.crate) = 1aab8fc367588b89dcee83ab0fd66b72b50b72fa1904d7095045ace2b0c81c35
+SIZE (rust/crates/itoa-1.0.1.crate) = 11059
+SHA256 (rust/crates/js-sys-0.3.56.crate) = a38fc24e30fd564ce974c02bf1d337caddff65be6cc4735a1f7eab22a7440f04
+SIZE (rust/crates/js-sys-0.3.56.crate) = 70520
+SHA256 (rust/crates/lazy_static-1.4.0.crate) = e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646
+SIZE (rust/crates/lazy_static-1.4.0.crate) = 10443
+SHA256 (rust/crates/libc-0.2.116.crate) = 565dbd88872dbe4cc8a46e527f26483c1d1f7afa6b884a3bd6cd893d4f98da74
+SIZE (rust/crates/libc-0.2.116.crate) = 566648
+SHA256 (rust/crates/log-0.4.14.crate) = 51b9bbe6c47d51fc3e1a9b945965946b4c44142ab8792c50835a980d362c2710
+SIZE (rust/crates/log-0.4.14.crate) = 34582
+SHA256 (rust/crates/memchr-2.4.1.crate) = 308cc39be01b73d0d18f82a0e7b2a3df85245f84af96fdddc5d202d27e47b86a
+SIZE (rust/crates/memchr-2.4.1.crate) = 64977
+SHA256 (rust/crates/normalize-line-endings-0.3.0.crate) = 61807f77802ff30975e01f4f071c8ba10c022052f98b3294119f3e615d13e5be
+SIZE (rust/crates/normalize-line-endings-0.3.0.crate) = 5737
+SHA256 (rust/crates/num-traits-0.2.14.crate) = 9a64b1ec5cda2586e284722486d802acf1f7dbdc623e2bfc57e65ca1cd099290
+SIZE (rust/crates/num-traits-0.2.14.crate) = 45476
+SHA256 (rust/crates/once_cell-1.9.0.crate) = da32515d9f6e6e489d7bc9d84c71b060db7247dc035bbe44eac88cf87486d8d5
+SIZE (rust/crates/once_cell-1.9.0.crate) = 30702
+SHA256 (rust/crates/os_str_bytes-6.0.0.crate) = 8e22443d1643a904602595ba1cd8f7d896afe56d26712531c5ff73a15b2fbf64
+SIZE (rust/crates/os_str_bytes-6.0.0.crate) = 21046
+SHA256 (rust/crates/predicates-2.1.1.crate) = a5aab5be6e4732b473071984b3164dbbfb7a3674d30ea5ff44410b6bcd960c3c
+SIZE (rust/crates/predicates-2.1.1.crate) = 23150
+SHA256 (rust/crates/predicates-core-1.0.3.crate) = da1c2388b1513e1b605fcec39a95e0a9e8ef088f71443ef37099fa9ae6673fcb
+SIZE (rust/crates/predicates-core-1.0.3.crate) = 7757
+SHA256 (rust/crates/predicates-tree-1.0.5.crate) = 4d86de6de25020a36c6d3643a86d9a6a9f552107c0559c60ea03551b5e16c032
+SIZE (rust/crates/predicates-tree-1.0.5.crate) = 8126
+SHA256 (rust/crates/proc-macro2-1.0.36.crate) = c7342d5883fbccae1cc37a2353b09c87c9b0f3afd73f5fb9bba687a1f733b029
+SIZE (rust/crates/proc-macro2-1.0.36.crate) = 41411
+SHA256 (rust/crates/quote-1.0.15.crate) = 864d3e96a899863136fc6e99f3d7cae289dafe43bf2c5ac19b70df7210c0a145
+SIZE (rust/crates/quote-1.0.15.crate) = 27281
+SHA256 (rust/crates/redox_syscall-0.2.10.crate) = 8383f39639269cde97d255a32bdb68c047337295414940c68bdd30c2e13203ff
+SIZE (rust/crates/redox_syscall-0.2.10.crate) = 23582
+SHA256 (rust/crates/redox_users-0.4.0.crate) = 528532f3d801c87aec9def2add9ca802fe569e44a544afe633765267840abe64
+SIZE (rust/crates/redox_users-0.4.0.crate) = 13023
+SHA256 (rust/crates/regex-1.5.4.crate) = d07a8629359eb56f1e2fb1652bb04212c072a87ba68546a04065d525673ac461
+SIZE (rust/crates/regex-1.5.4.crate) = 236581
+SHA256 (rust/crates/regex-automata-0.1.10.crate) = 6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132
+SIZE (rust/crates/regex-automata-0.1.10.crate) = 114533
+SHA256 (rust/crates/regex-syntax-0.6.25.crate) = f497285884f3fcff424ffc933e56d7cbca511def0c9831a7f9b5f6153e3cc89b
+SIZE (rust/crates/regex-syntax-0.6.25.crate) = 293293
+SHA256 (rust/crates/remove_dir_all-0.5.3.crate) = 3acd125665422973a33ac9d3dd2df85edad0f4ae9b00dafb1a05e43a9f5ef8e7
+SIZE (rust/crates/remove_dir_all-0.5.3.crate) = 9184
+SHA256 (rust/crates/ring-0.16.20.crate) = 3053cf52e236a3ed746dfc745aa9cacf1b791d846bdaf412f60a8d7d6e17c8fc
+SIZE (rust/crates/ring-0.16.20.crate) = 5082615
+SHA256 (rust/crates/ryu-1.0.9.crate) = 73b4b750c782965c211b42f022f59af1fbceabdd026623714f104152f1ec149f
+SIZE (rust/crates/ryu-1.0.9.crate) = 48391
+SHA256 (rust/crates/same-file-1.0.6.crate) = 93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502
+SIZE (rust/crates/same-file-1.0.6.crate) = 10183
+SHA256 (rust/crates/serde-1.0.136.crate) = ce31e24b01e1e524df96f1c2fdd054405f8d7376249a5110886fb4b658484789
+SIZE (rust/crates/serde-1.0.136.crate) = 76158
+SHA256 (rust/crates/serde_derive-1.0.136.crate) = 08597e7152fcd306f41838ed3e37be9eaeed2b61c42e2117266a554fab4662f9
+SIZE (rust/crates/serde_derive-1.0.136.crate) = 54776
+SHA256 (rust/crates/serde_json-1.0.78.crate) = d23c1ba4cf0efd44be32017709280b32d1cea5c3f1275c3b6d9e8bc54f758085
+SIZE (rust/crates/serde_json-1.0.78.crate) = 144364
+SHA256 (rust/crates/spin-0.5.2.crate) = 6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d
+SIZE (rust/crates/spin-0.5.2.crate) = 12004
+SHA256 (rust/crates/strsim-0.10.0.crate) = 73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623
+SIZE (rust/crates/strsim-0.10.0.crate) = 11355
+SHA256 (rust/crates/syn-1.0.86.crate) = 8a65b3f4ffa0092e9887669db0eae07941f023991ab58ea44da8fe8e2d511c6b
+SIZE (rust/crates/syn-1.0.86.crate) = 235126
+SHA256 (rust/crates/tempfile-3.3.0.crate) = 5cdb1ef4eaeeaddc8fbd371e5017057064af0911902ef36b39801f67cc6d79e4
+SIZE (rust/crates/tempfile-3.3.0.crate) = 27578
+SHA256 (rust/crates/termcolor-1.1.2.crate) = 2dfed899f0eb03f32ee8c6a0aabdb8a7949659e3466561fc0adf54e26d88c5f4
+SIZE (rust/crates/termcolor-1.1.2.crate) = 17287
+SHA256 (rust/crates/terminal_size-0.1.17.crate) = 633c1a546cee861a1a6d0dc69ebeca693bf4296661ba7852b9d21d159e0506df
+SIZE (rust/crates/terminal_size-0.1.17.crate) = 9141
+SHA256 (rust/crates/termtree-0.2.4.crate) = 507e9898683b6c43a9aa55b64259b721b52ba226e0f3779137e50ad114a4c90b
+SIZE (rust/crates/termtree-0.2.4.crate) = 4416
+SHA256 (rust/crates/textwrap-0.14.2.crate) = 0066c8d12af8b5acd21e00547c3797fde4e8677254a7ee429176ccebbe93dd80
+SIZE (rust/crates/textwrap-0.14.2.crate) = 52016
+SHA256 (rust/crates/thiserror-1.0.30.crate) = 854babe52e4df1653706b98fcfc05843010039b406875930a70e4d9644e5c417
+SIZE (rust/crates/thiserror-1.0.30.crate) = 17748
+SHA256 (rust/crates/thiserror-impl-1.0.30.crate) = aa32fd3f627f367fe16f893e2597ae3c05020f8bba2666a4e6ea73d377e5714b
+SIZE (rust/crates/thiserror-impl-1.0.30.crate) = 15230
+SHA256 (rust/crates/thread_local-1.1.4.crate) = 5516c27b78311c50bf42c071425c560ac799b11c30b31f87e3081965fe5e0180
+SIZE (rust/crates/thread_local-1.1.4.crate) = 13106
+SHA256 (rust/crates/toml-0.5.8.crate) = a31142970826733df8241ef35dc040ef98c679ab14d7c3e54d827099b3acecaa
+SIZE (rust/crates/toml-0.5.8.crate) = 54219
+SHA256 (rust/crates/unicode-xid-0.2.2.crate) = 8ccb82d61f80a663efe1f787a51b16b5a51e3314d6ac365b08639f52387b33f3
+SIZE (rust/crates/unicode-xid-0.2.2.crate) = 14955
+SHA256 (rust/crates/untrusted-0.7.1.crate) = a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a
+SIZE (rust/crates/untrusted-0.7.1.crate) = 7924
+SHA256 (rust/crates/wait-timeout-0.2.0.crate) = 9f200f5b12eb75f8c1ed65abd4b2db8a6e1b138a20de009dacee265a2498f3f6
+SIZE (rust/crates/wait-timeout-0.2.0.crate) = 12441
+SHA256 (rust/crates/walkdir-2.3.2.crate) = 808cf2735cd4b6866113f648b791c6adc5714537bc222d9347bb203386ffda56
+SIZE (rust/crates/walkdir-2.3.2.crate) = 23516
+SHA256 (rust/crates/wasi-0.10.2+wasi-snapshot-preview1.crate) = fd6fbd9a79829dd1ad0cc20627bf1ed606756a7f77edff7b66b7064f9cb327c6
+SIZE (rust/crates/wasi-0.10.2+wasi-snapshot-preview1.crate) = 27505
+SHA256 (rust/crates/wasm-bindgen-0.2.79.crate) = 25f1af7423d8588a3d840681122e72e6a24ddbcb3f0ec385cac0d12d24256c06
+SIZE (rust/crates/wasm-bindgen-0.2.79.crate) = 164276
+SHA256 (rust/crates/wasm-bindgen-backend-0.2.79.crate) = 8b21c0df030f5a177f3cba22e9bc4322695ec43e7257d865302900290bcdedca
+SIZE (rust/crates/wasm-bindgen-backend-0.2.79.crate) = 25776
+SHA256 (rust/crates/wasm-bindgen-macro-0.2.79.crate) = 2f4203d69e40a52ee523b2529a773d5ffc1dc0071801c87b3d270b471b80ed01
+SIZE (rust/crates/wasm-bindgen-macro-0.2.79.crate) = 11806
+SHA256 (rust/crates/wasm-bindgen-macro-support-0.2.79.crate) = bfa8a30d46208db204854cadbb5d4baf5fcf8071ba5bf48190c3e59937962ebc
+SIZE (rust/crates/wasm-bindgen-macro-support-0.2.79.crate) = 17861
+SHA256 (rust/crates/wasm-bindgen-shared-0.2.79.crate) = 3d958d035c4438e28c70e4321a2911302f10135ce78a9c7834c0cab4123d06a2
+SIZE (rust/crates/wasm-bindgen-shared-0.2.79.crate) = 7204
+SHA256 (rust/crates/web-sys-0.3.56.crate) = c060b319f29dd25724f09a2ba1418f142f539b2be99fbf4d2d5a8f7330afb8eb
+SIZE (rust/crates/web-sys-0.3.56.crate) = 666465
+SHA256 (rust/crates/winapi-0.3.9.crate) = 5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419
+SIZE (rust/crates/winapi-0.3.9.crate) = 1200382
+SHA256 (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.crate) = ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6
+SIZE (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.crate) = 2918815
+SHA256 (rust/crates/winapi-util-0.1.5.crate) = 70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178
+SIZE (rust/crates/winapi-util-0.1.5.crate) = 10164
+SHA256 (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.crate) = 712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f
+SIZE (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.crate) = 2947998
+SHA256 (evansmurithi-cloak-v0.3.0_GH0.tar.gz) = f2b8441cbc751c5f7455ab2c3ea654455b510a1d2a2576e6d64d78699e218a8b
+SIZE (evansmurithi-cloak-v0.3.0_GH0.tar.gz) = 26207
diff --git a/security/cloak/files/patch-ring-aarch64 b/security/cloak/files/patch-ring-aarch64
deleted file mode 100644
index 93982c3c5afe..000000000000
--- a/security/cloak/files/patch-ring-aarch64
+++ /dev/null
@@ -1,202 +0,0 @@
-From 19df2c6f7457c62884fe087f08f913443acf0267 Mon Sep 17 00:00:00 2001
-From: Greg V <greg@unrelenting.technology>
-Date: Sun, 25 Aug 2019 16:54:24 +0300
-Subject: [PATCH 1/2] Fix build on aarch64 on arbitrary OS (without a feature
- detection method)
-
-I agree to license my contributions to each file under the terms given
-at the top of each file I changed.
----
- src/cpu.rs | 18 ++++++++++++------
- 1 file changed, 12 insertions(+), 6 deletions(-)
-
-diff --git cargo-crates/ring-0.14.6/src/cpu.rs cargo-crates/ring-0.14.6/src/cpu.rs
-index 822aae4e3..bfd87c8de 100644
---- cargo-crates/ring-0.14.6/src/cpu.rs
-+++ cargo-crates/ring-0.14.6/src/cpu.rs
-@@ -170,10 +170,10 @@ pub(crate) mod arm {
-
- pub(crate) struct Feature {
- #[cfg_attr(
-- any(
-- target_os = "ios",
-- not(any(target_arch = "arm", target_arch = "aarch64"))
-- ),
-+ not(all(
-+ any(target_os = "android", target_os = "linux", target_os = "fuchsia"),
-+ any(target_arch = "arm", target_arch = "aarch64")
-+ )),
- allow(dead_code)
- )]
- mask: u32,
-@@ -198,7 +198,10 @@ pub(crate) mod arm {
- return self.mask == self.mask & unsafe { GFp_armcap_P };
- }
-
-- #[cfg(not(any(target_arch = "arm", target_arch = "aarch64")))]
-+ #[cfg(not(all(
-+ any(target_os = "android", target_os = "ios", target_os = "linux", target_os = "fuchsia"),
-+ any(target_arch = "arm", target_arch = "aarch64")
-+ )))]
- {
- return false;
- }
-@@ -206,7 +209,10 @@ pub(crate) mod arm {
- }
-
- // Keep in sync with `ARMV7_NEON`.
-- #[cfg(any(target_arch = "aarch64", target_arch = "arm"))]
-+ #[cfg(all(
-+ any(target_os = "android", target_os = "ios", target_os = "linux", target_os = "fuchsia"),
-+ any(target_arch = "arm", target_arch = "aarch64")
-+ ))]
- pub(crate) const NEON: Feature = Feature {
- mask: 1 << 0,
- ios: true,
-
-From 300516a643a1019e5bb99663ab76acc0fb05e7ae Mon Sep 17 00:00:00 2001
-From: Greg V <greg@unrelenting.technology>
-Date: Sun, 25 Aug 2019 17:52:18 +0300
-Subject: [PATCH 2/2] Add CPU feature detection for FreeBSD/aarch64
-
-I agree to license my contributions to each file under the terms given
-at the top of each file I changed.
----
- build.rs | 1 +
- crypto/cpu-aarch64.c | 32 ++++++++++++++++++++++++++++++++
- src/cpu.rs | 40 ++++++++++++++++++++++++++++++++++++----
- 3 files changed, 69 insertions(+), 4 deletions(-)
- create mode 100644 crypto/cpu-aarch64.c
-
-diff --git cargo-crates/ring-0.14.6/build.rs cargo-crates/ring-0.14.6/build.rs
-index c6cb3a700..62b150170 100644
---- cargo-crates/ring-0.14.6/build.rs
-+++ cargo-crates/ring-0.14.6/build.rs
-@@ -65,6 +65,7 @@ const RING_SRCS: &[(&[&str], &str)] = &[
- (&[], "third_party/fiat/curve25519.c"),
-
- (&[X86_64, X86], "crypto/cpu-intel.c"),
-+ (&[AARCH64], "crypto/cpu-aarch64.c"),
-
- (&[X86], "crypto/fipsmodule/aes/asm/aes-586.pl"),
- (&[X86], "crypto/fipsmodule/aes/asm/aesni-x86.pl"),
-diff --git cargo-crates/ring-0.14.6/crypto/cpu-aarch64.c cargo-crates/ring-0.14.6/crypto/cpu-aarch64.c
-new file mode 100644
-index 000000000..8bb537b78
---- /dev/null
-+++ cargo-crates/ring-0.14.6/crypto/cpu-aarch64.c
-@@ -0,0 +1,32 @@
-+// Copyright 2019 Greg V
-+//
-+// Permission to use, copy, modify, and/or distribute this software for any
-+// purpose with or without fee is hereby granted, provided that the above
-+// copyright notice and this permission notice appear in all copies.
-+//
-+// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHORS DISCLAIM ALL WARRANTIES
-+// WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-+// MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY
-+// SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-+// WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
-+// OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
-+// CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-+
-+
-+// Run-time feature detection for aarch64 on any OS that emulates the mrs instruction.
-+//
-+// On FreeBSD >= 12.0, Linux >= 4.11 and other operating systems, it is possible to use
-+// privileged system registers from userspace to check CPU feature support.
-+//
-+// For proper support of SoCs where different cores have different capabilities
-+// the OS has to always report only the features supported by all cores, like FreeBSD does.
-+//
-+// Only FreeBSD uses this right now.
-+
-+#include <stdint.h>
-+
-+uint64_t GFp_aarch64_read_isar0(void) {
-+ uint64_t val;
-+ __asm __volatile("mrs %0, ID_AA64ISAR0_EL1" : "=&r" (val));
-+ return val;
-+}
-diff --git cargo-crates/ring-0.14.6/src/cpu.rs cargo-crates/ring-0.14.6/src/cpu.rs
-index bfd87c8de..d65d36a6a 100644
---- cargo-crates/ring-0.14.6/src/cpu.rs
-+++ cargo-crates/ring-0.14.6/src/cpu.rs
-@@ -60,6 +60,11 @@ pub(crate) fn features() -> Features {
- {
- arm::fuchsia_setup();
- }
-+
-+ #[cfg(all(any(target_os = "freebsd"), target_arch = "aarch64"))]
-+ {
-+ arm::aarch64_mrs_setup();
-+ }
- });
- }
-
-@@ -168,10 +173,37 @@ pub(crate) mod arm {
- }
- }
-
-+ #[cfg(all(any(target_os = "freebsd"), target_arch = "aarch64"))]
-+ pub fn aarch64_mrs_setup() {
-+ extern "C" {
-+ fn GFp_aarch64_read_isar0() -> u64;
-+ }
-+
-+ #[inline]
-+ fn bits_shift(x: u64, high: usize, low: usize) -> u64 {
-+ (x >> low) & ((1 << (high - low + 1)) - 1)
-+ }
-+
-+ let mut features = 0;
-+ let aa64isar0 = unsafe { GFp_aarch64_read_isar0() };
-+
-+ if bits_shift(aa64isar0, 7, 4) >= 1 {
-+ features |= AES.mask;
-+ }
-+ if bits_shift(aa64isar0, 7, 4) >= 2 {
-+ features |= PMULL.mask;
-+ }
-+ if bits_shift(aa64isar0, 15, 12) >= 1 {
-+ features |= 1 << 4;
-+ }
-+
-+ unsafe { GFp_armcap_P = features };
-+ }
-+
- pub(crate) struct Feature {
- #[cfg_attr(
- not(all(
-- any(target_os = "android", target_os = "linux", target_os = "fuchsia"),
-+ any(target_os = "android", all(target_os = "freebsd", target_arch = "aarch64"), target_os = "linux", target_os = "fuchsia"),
- any(target_arch = "arm", target_arch = "aarch64")
- )),
- allow(dead_code)
-@@ -191,7 +223,7 @@ pub(crate) mod arm {
- }
-
- #[cfg(all(
-- any(target_os = "android", target_os = "linux", target_os = "fuchsia"),
-+ any(target_os = "android", all(target_os = "freebsd", target_arch = "aarch64"), target_os = "linux", target_os = "fuchsia"),
- any(target_arch = "arm", target_arch = "aarch64")
- ))]
- {
-@@ -199,7 +231,7 @@ pub(crate) mod arm {
- }
-
- #[cfg(not(all(
-- any(target_os = "android", target_os = "ios", target_os = "linux", target_os = "fuchsia"),
-+ any(target_os = "android", all(target_os = "freebsd", target_arch = "aarch64"), target_os = "ios", target_os = "linux", target_os = "fuchsia"),
- any(target_arch = "arm", target_arch = "aarch64")
- )))]
- {
-@@ -231,7 +263,7 @@ pub(crate) mod arm {
- };
-
- #[cfg(all(
-- any(target_os = "android", target_os = "linux", target_os = "fuchsia"),
-+ any(target_os = "android", all(target_os = "freebsd", target_arch = "aarch64"), target_os = "linux", target_os = "fuchsia"),
- any(target_arch = "arm", target_arch = "aarch64")
- ))]
- extern "C" {