1# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2#
3# When uploading crates to the registry Cargo will automatically
4# "normalize" Cargo.toml files for maximal compatibility
5# with all versions of Cargo and also rewrite `path` dependencies
6# to registry (e.g., crates.io) dependencies.
7#
8# If you are reading this file be aware that the original Cargo.toml
9# will likely look very different (and much more reasonable).
10# See Cargo.toml.orig for the original contents.
11
12[package]
13edition = "2021"
14rust-version = "1.61.0"
15name = "ring"
16version = "0.17.2"
17authors = ["Brian Smith <[email protected]>"]
18build = "build.rs"
19links = "ring_core_0_17_2"
20include = [
21    "LICENSE",
22    "Cargo.toml",
23    "pregenerated/*",
24    "benches/*.rs",
25    "build.rs",
26    "crypto/chacha/asm/chacha-armv4.pl",
27    "crypto/chacha/asm/chacha-armv8.pl",
28    "crypto/chacha/asm/chacha-x86.pl",
29    "crypto/chacha/asm/chacha-x86_64.pl",
30    "crypto/cipher_extra/test/aes_128_gcm_siv_tests.txt",
31    "crypto/cipher_extra/test/aes_256_gcm_siv_tests.txt",
32    "crypto/constant_time_test.c",
33    "crypto/cpu_intel.c",
34    "crypto/crypto.c",
35    "crypto/curve25519/asm/x25519-asm-arm.S",
36    "crypto/curve25519/curve25519.c",
37    "crypto/curve25519/curve25519_64_adx.c",
38    "crypto/curve25519/curve25519_tables.h",
39    "crypto/curve25519/internal.h",
40    "crypto/fipsmodule/aes/aes_nohw.c",
41    "crypto/fipsmodule/aes/asm/aesni-x86.pl",
42    "crypto/fipsmodule/aes/asm/aesni-x86_64.pl",
43    "crypto/fipsmodule/aes/asm/aesv8-armx.pl",
44    "crypto/fipsmodule/aes/asm/bsaes-armv7.pl",
45    "crypto/fipsmodule/aes/asm/bsaes-x86_64.pl",
46    "crypto/fipsmodule/aes/asm/vsaes-armv7.pl",
47    "crypto/fipsmodule/aes/asm/vpaes-x86.pl",
48    "crypto/fipsmodule/aes/asm/vpaes-x86_64.pl",
49    "crypto/fipsmodule/bn/asm/armv4-mont.pl",
50    "crypto/fipsmodule/bn/asm/armv8-mont.pl",
51    "crypto/fipsmodule/bn/asm/x86-mont.pl",
52    "crypto/fipsmodule/bn/asm/x86_64-mont.pl",
53    "crypto/fipsmodule/bn/asm/x86_64-mont5.pl",
54    "crypto/fipsmodule/bn/internal.h",
55    "crypto/fipsmodule/bn/montgomery.c",
56    "crypto/fipsmodule/bn/montgomery_inv.c",
57    "crypto/fipsmodule/ec/asm/p256-armv8-asm.pl",
58    "crypto/fipsmodule/ec/asm/p256-x86_64-asm.pl",
59    "crypto/fipsmodule/ec/ecp_nistz.c",
60    "crypto/fipsmodule/ec/ecp_nistz.h",
61    "crypto/fipsmodule/ec/ecp_nistz384.h",
62    "crypto/fipsmodule/ec/ecp_nistz384.inl",
63    "crypto/fipsmodule/ec/gfp_p256.c",
64    "crypto/fipsmodule/ec/gfp_p384.c",
65    "crypto/fipsmodule/ec/p256.c",
66    "crypto/fipsmodule/ec/p256-nistz-table.h",
67    "crypto/fipsmodule/ec/p256-nistz.c",
68    "crypto/fipsmodule/ec/p256-nistz.h",
69    "crypto/fipsmodule/ec/p256_shared.h",
70    "crypto/fipsmodule/ec/p256_table.h",
71    "crypto/fipsmodule/ec/util.h",
72    "crypto/fipsmodule/ecdsa/ecdsa_verify_tests.txt",
73    "crypto/fipsmodule/modes/asm/aesni-gcm-x86_64.pl",
74    "crypto/fipsmodule/modes/asm/ghash-armv4.pl",
75    "crypto/fipsmodule/modes/asm/ghash-x86.pl",
76    "crypto/fipsmodule/modes/asm/ghash-x86_64.pl",
77    "crypto/fipsmodule/modes/asm/ghashv8-armx.pl",
78    "crypto/fipsmodule/sha/asm/sha256-armv4.pl",
79    "crypto/fipsmodule/sha/asm/sha512-armv4.pl",
80    "crypto/fipsmodule/sha/asm/sha512-armv8.pl",
81    "crypto/fipsmodule/sha/asm/sha512-x86_64.pl",
82    "crypto/internal.h",
83    "crypto/limbs/limbs.c",
84    "crypto/limbs/limbs.h",
85    "crypto/limbs/limbs.inl",
86    "crypto/mem.c",
87    "crypto/perlasm/arm-xlate.pl",
88    "crypto/perlasm/x86asm.pl",
89    "crypto/perlasm/x86gas.pl",
90    "crypto/perlasm/x86nasm.pl",
91    "crypto/perlasm/x86_64-xlate.pl",
92    "crypto/poly1305/internal.h",
93    "crypto/poly1305/poly1305.c",
94    "crypto/poly1305/poly1305_arm.c",
95    "crypto/poly1305/poly1305_arm_asm.S",
96    "crypto/poly1305/poly1305_vec.c",
97    "crypto/cipher_extra/asm/chacha20_poly1305_armv8.pl",
98    "crypto/cipher_extra/asm/chacha20_poly1305_x86_64.pl",
99    "examples/**/*.rs",
100    "include/ring-core/aes.h",
101    "include/ring-core/arm_arch.h",
102    "include/ring-core/asm_base.h",
103    "include/ring-core/base.h",
104    "include/ring-core/check.h",
105    "include/ring-core/mem.h",
106    "include/ring-core/poly1305.h",
107    "include/ring-core/target.h",
108    "include/ring-core/type_check.h",
109    "src/**/*.rs",
110    "src/aead/poly1305_test.txt",
111    "src/data/alg-rsa-encryption.der",
112    "src/ec/curve25519/ed25519/ed25519_pkcs8_v2_template.der",
113    "src/ec/suite_b/ecdsa/ecPublicKey_p256_pkcs8_v1_template.der",
114    "src/ec/suite_b/ecdsa/ecPublicKey_p384_pkcs8_v1_template.der",
115    "src/rsa/signature_rsa_example_private_key.der",
116    "src/rsa/signature_rsa_example_public_key.der",
117    "tests/**/*.rs",
118    "tests/ecdsa_test_private_key_p256.p8",
119    "tests/ecdsa_test_public_key_p256.der",
120    "tests/ecdsa_test_public_key_p256_debug.txt",
121    "tests/ed25519_test_private_key.bin",
122    "tests/ed25519_test_private_key.p8",
123    "tests/ed25519_test_public_key.bin",
124    "tests/ed25519_test_public_key.der",
125    "tests/rsa_test_private_key_2048.p8",
126    "tests/rsa_test_public_key_2048.der",
127    "tests/rsa_test_public_key_2048_debug.txt",
128    "tests/rsa_test_public_modulus.bin",
129    "third_party/fiat/asm/fiat_curve25519_adx_mul.S",
130    "third_party/fiat/asm/fiat_curve25519_adx_square.S",
131    "third_party/fiat/curve25519_32.h",
132    "third_party/fiat/curve25519_64.h",
133    "third_party/fiat/curve25519_64_adx.h",
134    "third_party/fiat/curve25519_64_msvc.h",
135    "third_party/fiat/p256_32.h",
136    "third_party/fiat/p256_64.h",
137    "third_party/fiat/p256_64_msvc.h",
138    "third_party/fiat/LICENSE",
139    "third_party/NIST/SHAVS/SHA1LongMsg.rsp",
140    "third_party/NIST/SHAVS/SHA1Monte.rsp",
141    "third_party/NIST/SHAVS/SHA1ShortMsg.rsp",
142    "third_party/NIST/SHAVS/SHA224LongMsg.rsp",
143    "third_party/NIST/SHAVS/SHA224Monte.rsp",
144    "third_party/NIST/SHAVS/SHA224ShortMsg.rsp",
145    "third_party/NIST/SHAVS/SHA256LongMsg.rsp",
146    "third_party/NIST/SHAVS/SHA256Monte.rsp",
147    "third_party/NIST/SHAVS/SHA256ShortMsg.rsp",
148    "third_party/NIST/SHAVS/SHA384LongMsg.rsp",
149    "third_party/NIST/SHAVS/SHA384Monte.rsp",
150    "third_party/NIST/SHAVS/SHA384ShortMsg.rsp",
151    "third_party/NIST/SHAVS/SHA512LongMsg.rsp",
152    "third_party/NIST/SHAVS/SHA512Monte.rsp",
153    "third_party/NIST/SHAVS/SHA512ShortMsg.rsp",
154]
155description = "Safe, fast, small crypto using Rust."
156readme = "README.md"
157keywords = [
158    "crypto",
159    "cryptography",
160    "rand",
161    "ECC",
162    "RSA",
163]
164categories = [
165    "cryptography",
166    "no-std",
167]
168license-file = "LICENSE"
169repository = "https://github.com/briansmith/ring"
170
171[package.metadata.docs.rs]
172all-features = true
173
174[profile.bench]
175opt-level = 3
176lto = true
177codegen-units = 1
178debug = 0
179debug-assertions = false
180rpath = false
181
182[profile.release]
183opt-level = 3
184lto = true
185codegen-units = 1
186debug = 0
187debug-assertions = false
188rpath = false
189
190[lib]
191name = "ring"
192
193[[bench]]
194name = "aead"
195harness = false
196
197[[bench]]
198name = "x25519"
199harness = false
200
201[dependencies.getrandom]
202version = "0.2.8"
203
204[dependencies.untrusted]
205version = "0.9"
206
207[dev-dependencies.criterion]
208version = "0.4"
209default-features = false
210
211[build-dependencies.cc]
212version = "1.0.69"
213default-features = false
214
215[features]
216alloc = []
217default = [
218    "alloc",
219    "dev_urandom_fallback",
220]
221dev_urandom_fallback = []
222slow_tests = []
223std = ["alloc"]
224test_logging = []
225unstable-testing-arm-no-hw = []
226unstable-testing-arm-no-neon = []
227wasm32_unknown_unknown_js = ["getrandom/js"]
228
229[target."cfg(all(target_arch = \"aarch64\", target_os = \"windows\"))".dependencies.windows-sys]
230version = "0.48"
231features = [
232    "Win32_Foundation",
233    "Win32_System_Threading",
234]
235
236[target."cfg(any(target_arch = \"x86\",target_arch = \"x86_64\", all(any(target_arch = \"aarch64\", target_arch = \"arm\"), any(target_os = \"android\", target_os = \"fuchsia\", target_os = \"linux\", target_os = \"windows\"))))".dependencies.spin]
237version = "0.9.2"
238features = ["once"]
239default-features = false
240
241[target."cfg(any(target_os = \"android\", target_os = \"linux\"))".dependencies.libc]
242version = "0.2.100"
243default-features = false
244
245[target."cfg(any(unix, windows))".dev-dependencies.libc]
246version = "0.2.100"
247default-features = false
248
249[target."cfg(target_arch = \"wasm32\")".dev-dependencies.wasm-bindgen-test]
250version = "0.3.26"
251default-features = false
252