2015-07-30 19:48:38 -04:00
|
|
|
[package]
|
|
|
|
authors = ["Brian Smith <brian@briansmith.org>"]
|
|
|
|
build = "build.rs"
|
2017-02-10 13:59:36 -10:00
|
|
|
categories = ["cryptography", "no-std"]
|
2016-08-15 15:45:47 -10:00
|
|
|
description = "Safe, fast, small crypto using Rust."
|
2016-08-12 10:23:02 -10:00
|
|
|
documentation = "https://briansmith.org/rustdoc/ring/"
|
2018-12-08 15:16:17 -10:00
|
|
|
edition = "2018"
|
2017-01-21 23:32:57 -10:00
|
|
|
keywords = ["crypto", "cryptography", "rand", "ECC", "RSA"]
|
2015-07-30 19:48:38 -04:00
|
|
|
license-file = "LICENSE"
|
2015-08-11 13:57:59 -04:00
|
|
|
name = "ring"
|
2018-11-06 10:53:07 -10:00
|
|
|
readme = "doc/link-to-readme.md"
|
2015-07-30 19:48:38 -04:00
|
|
|
repository = "https://github.com/briansmith/ring"
|
2021-02-01 11:15:42 -08:00
|
|
|
version = "0.16.20"
|
2017-05-08 15:57:05 -10:00
|
|
|
|
|
|
|
# Prevent multiple versions of *ring* from being linked into the same program.
|
2021-05-02 14:42:05 -07:00
|
|
|
links = "ring_core_dev"
|
2015-07-30 19:48:38 -04:00
|
|
|
|
2016-08-14 20:39:12 -10:00
|
|
|
include = [
|
|
|
|
"LICENSE",
|
|
|
|
"Cargo.toml",
|
|
|
|
|
2017-03-16 12:43:18 -10:00
|
|
|
"pregenerated/*",
|
2016-08-14 20:39:12 -10:00
|
|
|
|
|
|
|
"build.rs",
|
|
|
|
|
2018-05-07 13:04:56 -10:00
|
|
|
"crypto/chacha/asm/chacha-armv4.pl",
|
|
|
|
"crypto/chacha/asm/chacha-armv8.pl",
|
|
|
|
"crypto/chacha/asm/chacha-x86.pl",
|
|
|
|
"crypto/chacha/asm/chacha-x86_64.pl",
|
|
|
|
"crypto/cipher_extra/test/aes_128_gcm_siv_tests.txt",
|
|
|
|
"crypto/cipher_extra/test/aes_256_gcm_siv_tests.txt",
|
|
|
|
"crypto/constant_time_test.c",
|
|
|
|
"crypto/cpu-intel.c",
|
|
|
|
"crypto/crypto.c",
|
|
|
|
"crypto/curve25519/asm/x25519-asm-arm.S",
|
2020-06-16 18:21:16 -05:00
|
|
|
"crypto/curve25519/curve25519.c",
|
|
|
|
"crypto/curve25519/curve25519_tables.h",
|
|
|
|
"crypto/curve25519/internal.h",
|
2020-05-27 16:09:47 -05:00
|
|
|
"crypto/fipsmodule/aes/aes_nohw.c",
|
2018-05-07 13:04:56 -10:00
|
|
|
"crypto/fipsmodule/aes/asm/aesni-x86.pl",
|
|
|
|
"crypto/fipsmodule/aes/asm/aesni-x86_64.pl",
|
|
|
|
"crypto/fipsmodule/aes/asm/aesv8-armx.pl",
|
|
|
|
"crypto/fipsmodule/aes/asm/bsaes-armv7.pl",
|
|
|
|
"crypto/fipsmodule/aes/asm/bsaes-x86_64.pl",
|
2020-05-13 14:58:46 -05:00
|
|
|
"crypto/fipsmodule/aes/asm/vsaes-armv7.pl",
|
2018-05-07 13:04:56 -10:00
|
|
|
"crypto/fipsmodule/aes/asm/vpaes-x86.pl",
|
|
|
|
"crypto/fipsmodule/aes/asm/vpaes-x86_64.pl",
|
|
|
|
"crypto/fipsmodule/bn/asm/armv4-mont.pl",
|
|
|
|
"crypto/fipsmodule/bn/asm/armv8-mont.pl",
|
|
|
|
"crypto/fipsmodule/bn/asm/x86-mont.pl",
|
|
|
|
"crypto/fipsmodule/bn/asm/x86_64-mont.pl",
|
|
|
|
"crypto/fipsmodule/bn/asm/x86_64-mont5.pl",
|
|
|
|
"crypto/fipsmodule/bn/internal.h",
|
|
|
|
"crypto/fipsmodule/bn/montgomery.c",
|
|
|
|
"crypto/fipsmodule/bn/montgomery_inv.c",
|
|
|
|
"crypto/fipsmodule/ec/asm/p256-x86_64-asm.pl",
|
|
|
|
"crypto/fipsmodule/ec/ecp_nistz.c",
|
|
|
|
"crypto/fipsmodule/ec/ecp_nistz.h",
|
|
|
|
"crypto/fipsmodule/ec/ecp_nistz384.h",
|
|
|
|
"crypto/fipsmodule/ec/ecp_nistz384.inl",
|
|
|
|
"crypto/fipsmodule/ec/gfp_p256.c",
|
|
|
|
"crypto/fipsmodule/ec/gfp_p384.c",
|
2020-06-10 15:50:32 -05:00
|
|
|
"crypto/fipsmodule/ec/p256.c",
|
|
|
|
"crypto/fipsmodule/ec/p256-x86_64-table.h",
|
|
|
|
"crypto/fipsmodule/ec/p256-x86_64.c",
|
|
|
|
"crypto/fipsmodule/ec/p256-x86_64.h",
|
|
|
|
"crypto/fipsmodule/ec/p256_shared.h",
|
|
|
|
"crypto/fipsmodule/ec/p256_table.h",
|
|
|
|
"crypto/fipsmodule/ec/util.h",
|
2018-12-21 15:56:39 -10:00
|
|
|
"crypto/fipsmodule/ecdsa/ecdsa_verify_tests.txt",
|
2018-05-07 13:04:56 -10:00
|
|
|
"crypto/fipsmodule/modes/asm/aesni-gcm-x86_64.pl",
|
|
|
|
"crypto/fipsmodule/modes/asm/ghash-armv4.pl",
|
|
|
|
"crypto/fipsmodule/modes/asm/ghash-x86.pl",
|
|
|
|
"crypto/fipsmodule/modes/asm/ghash-x86_64.pl",
|
|
|
|
"crypto/fipsmodule/modes/asm/ghashv8-armx.pl",
|
|
|
|
"crypto/fipsmodule/sha/asm/sha256-armv4.pl",
|
|
|
|
"crypto/fipsmodule/sha/asm/sha512-armv4.pl",
|
|
|
|
"crypto/fipsmodule/sha/asm/sha512-armv8.pl",
|
|
|
|
"crypto/fipsmodule/sha/asm/sha512-x86_64.pl",
|
|
|
|
"crypto/internal.h",
|
|
|
|
"crypto/limbs/limbs.c",
|
|
|
|
"crypto/limbs/limbs.h",
|
|
|
|
"crypto/limbs/limbs.inl",
|
|
|
|
"crypto/mem.c",
|
|
|
|
"crypto/perlasm/arm-xlate.pl",
|
|
|
|
"crypto/perlasm/x86asm.pl",
|
|
|
|
"crypto/perlasm/x86gas.pl",
|
|
|
|
"crypto/perlasm/x86nasm.pl",
|
|
|
|
"crypto/perlasm/x86_64-xlate.pl",
|
2020-11-13 14:12:45 -08:00
|
|
|
"crypto/poly1305/internal.h",
|
|
|
|
"crypto/poly1305/poly1305.c",
|
|
|
|
"crypto/poly1305/poly1305_arm.c",
|
|
|
|
"crypto/poly1305/poly1305_arm_asm.S",
|
|
|
|
"crypto/poly1305/poly1305_vec.c",
|
2020-12-22 21:49:33 -05:00
|
|
|
"crypto/cipher_extra/asm/chacha20_poly1305_x86_64.pl",
|
2020-06-12 11:59:02 -05:00
|
|
|
"doc/link-to-readme.md",
|
2018-05-07 13:04:56 -10:00
|
|
|
"examples/checkdigest.rs",
|
2021-05-02 14:42:05 -07:00
|
|
|
"include/ring-core/aes.h",
|
|
|
|
"include/ring-core/arm_arch.h",
|
|
|
|
"include/ring-core/base.h",
|
|
|
|
"include/ring-core/check.h",
|
|
|
|
"include/ring-core/cpu.h",
|
|
|
|
"include/ring-core/mem.h",
|
|
|
|
"include/ring-core/poly1305.h",
|
|
|
|
"include/ring-core/type_check.h",
|
2018-12-21 15:12:55 -10:00
|
|
|
"src/aead.rs",
|
2018-12-04 15:21:26 -10:00
|
|
|
"src/aead/aes.rs",
|
2016-08-14 20:39:12 -10:00
|
|
|
"src/aead/aes_gcm.rs",
|
2016-08-29 04:09:34 +03:00
|
|
|
"src/aead/aes_tests.txt",
|
2018-12-21 15:12:55 -10:00
|
|
|
"src/aead/block.rs",
|
2018-12-05 13:46:15 -10:00
|
|
|
"src/aead/chacha.rs",
|
2021-02-09 17:42:50 -08:00
|
|
|
"src/aead/chacha/fallback.rs",
|
2018-12-05 13:46:15 -10:00
|
|
|
"src/aead/chacha_tests.txt",
|
2016-08-14 20:39:12 -10:00
|
|
|
"src/aead/chacha20_poly1305.rs",
|
2016-10-09 22:05:32 -10:00
|
|
|
"src/aead/chacha20_poly1305_openssh.rs",
|
2018-12-04 15:21:26 -10:00
|
|
|
"src/aead/gcm.rs",
|
2020-05-30 00:57:56 -05:00
|
|
|
"src/aead/gcm/gcm_nohw.rs",
|
2021-02-01 12:47:19 -08:00
|
|
|
"src/aead/less_safe_key.rs",
|
2018-12-04 15:21:26 -10:00
|
|
|
"src/aead/nonce.rs",
|
2021-02-24 11:21:35 -08:00
|
|
|
"src/aead/opening_key.rs",
|
2018-11-26 22:27:03 -10:00
|
|
|
"src/aead/poly1305.rs",
|
|
|
|
"src/aead/poly1305_test.txt",
|
2019-01-09 09:06:18 -10:00
|
|
|
"src/aead/quic.rs",
|
2021-02-24 11:21:35 -08:00
|
|
|
"src/aead/sealing_key.rs",
|
2018-12-21 15:12:55 -10:00
|
|
|
"src/aead/shift.rs",
|
2021-02-24 11:21:35 -08:00
|
|
|
"src/aead/unbound_key.rs",
|
2016-08-14 20:39:12 -10:00
|
|
|
"src/agreement.rs",
|
2018-12-21 15:12:55 -10:00
|
|
|
"src/arithmetic.rs",
|
2019-06-14 14:53:30 -10:00
|
|
|
"src/arithmetic/bigint.rs",
|
|
|
|
"src/arithmetic/bigint_elem_exp_consttime_tests.txt",
|
|
|
|
"src/arithmetic/bigint_elem_exp_vartime_tests.txt",
|
|
|
|
"src/arithmetic/bigint_elem_mul_tests.txt",
|
|
|
|
"src/arithmetic/bigint_elem_reduced_once_tests.txt",
|
|
|
|
"src/arithmetic/bigint_elem_reduced_tests.txt",
|
|
|
|
"src/arithmetic/bigint_elem_squared_tests.txt",
|
2019-07-03 12:43:53 -10:00
|
|
|
"src/arithmetic/constant.rs",
|
2017-04-08 20:29:11 -10:00
|
|
|
"src/arithmetic/montgomery.rs",
|
2018-12-08 12:47:23 -10:00
|
|
|
"src/array.rs",
|
2016-11-15 12:11:52 -10:00
|
|
|
"src/bits.rs",
|
2016-08-14 20:39:12 -10:00
|
|
|
"src/bssl.rs",
|
|
|
|
"src/c.rs",
|
|
|
|
"src/constant_time.rs",
|
2018-12-01 08:50:39 -10:00
|
|
|
"src/cpu.rs",
|
2017-04-29 14:28:25 -10:00
|
|
|
"src/data/alg-rsa-encryption.der",
|
2018-05-07 13:04:56 -10:00
|
|
|
"src/debug.rs",
|
2018-12-21 15:12:55 -10:00
|
|
|
"src/digest.rs",
|
2016-08-14 20:39:12 -10:00
|
|
|
"src/digest/sha1.rs",
|
2019-07-03 12:43:53 -10:00
|
|
|
"src/digest/sha2.rs",
|
2018-11-06 11:06:27 -10:00
|
|
|
"src/ec/curve25519/ed25519/digest.rs",
|
2018-12-21 15:12:55 -10:00
|
|
|
"src/ec/curve25519/ed25519.rs",
|
2018-11-06 11:06:27 -10:00
|
|
|
"src/ec/curve25519/ed25519/signing.rs",
|
|
|
|
"src/ec/curve25519/ed25519/verification.rs",
|
|
|
|
"src/ec/curve25519/ed25519/ed25519_pkcs8_v2_template.der",
|
2018-12-21 15:12:55 -10:00
|
|
|
"src/ec/curve25519.rs",
|
2017-05-01 13:15:10 -10:00
|
|
|
"src/ec/curve25519/ops.rs",
|
2019-07-03 12:43:53 -10:00
|
|
|
"src/ec/curve25519/scalar.rs",
|
2017-05-01 13:15:10 -10:00
|
|
|
"src/ec/curve25519/x25519.rs",
|
2018-12-21 15:12:55 -10:00
|
|
|
"src/ec.rs",
|
2018-12-18 23:05:14 -10:00
|
|
|
"src/ec/keys.rs",
|
2017-04-08 20:29:11 -10:00
|
|
|
"src/ec/suite_b/curve.rs",
|
2016-08-14 20:39:12 -10:00
|
|
|
"src/ec/suite_b/ecdh.rs",
|
2018-05-31 08:21:04 -10:00
|
|
|
"src/ec/suite_b/ecdsa/digest_scalar.rs",
|
2018-12-21 15:12:55 -10:00
|
|
|
"src/ec/suite_b/ecdsa.rs",
|
2018-05-28 12:18:50 -10:00
|
|
|
"src/ec/suite_b/ecdsa/signing.rs",
|
|
|
|
"src/ec/suite_b/ecdsa/verification.rs",
|
|
|
|
"src/ec/suite_b/ecdsa/ecdsa_digest_scalar_tests.txt",
|
|
|
|
"src/ec/suite_b/ecdsa/ecPublicKey_p256_pkcs8_v1_template.der",
|
|
|
|
"src/ec/suite_b/ecdsa/ecPublicKey_p384_pkcs8_v1_template.der",
|
2018-07-15 15:25:45 -10:00
|
|
|
"src/ec/suite_b/ecdsa/ecdsa_sign_asn1_tests.txt",
|
|
|
|
"src/ec/suite_b/ecdsa/ecdsa_sign_fixed_tests.txt",
|
2018-12-21 15:12:55 -10:00
|
|
|
"src/ec/suite_b.rs",
|
2017-04-08 20:29:11 -10:00
|
|
|
"src/ec/suite_b/ops/elem.rs",
|
2018-12-21 15:12:55 -10:00
|
|
|
"src/ec/suite_b/ops.rs",
|
2016-08-14 20:39:12 -10:00
|
|
|
"src/ec/suite_b/ops/p256.rs",
|
2017-03-25 18:30:54 -10:00
|
|
|
"src/ec/suite_b/ops/p256_elem_mul_tests.txt",
|
2017-03-25 18:05:20 -10:00
|
|
|
"src/ec/suite_b/ops/p256_elem_neg_tests.txt",
|
|
|
|
"src/ec/suite_b/ops/p256_elem_sum_tests.txt",
|
2017-03-30 17:45:06 -10:00
|
|
|
"src/ec/suite_b/ops/p256_point_double_tests.txt",
|
2016-08-14 20:39:12 -10:00
|
|
|
"src/ec/suite_b/ops/p256_point_mul_base_tests.txt",
|
2017-05-01 13:34:51 -10:00
|
|
|
"src/ec/suite_b/ops/p256_point_mul_serialized_tests.txt",
|
2016-08-14 20:39:12 -10:00
|
|
|
"src/ec/suite_b/ops/p256_point_mul_tests.txt",
|
2017-03-30 18:11:47 -10:00
|
|
|
"src/ec/suite_b/ops/p256_point_sum_mixed_tests.txt",
|
2018-05-07 13:04:56 -10:00
|
|
|
"src/ec/suite_b/ops/p256_point_sum_tests.txt",
|
2017-03-25 18:30:54 -10:00
|
|
|
"src/ec/suite_b/ops/p256_scalar_mul_tests.txt",
|
2017-03-26 15:07:48 -10:00
|
|
|
"src/ec/suite_b/ops/p256_scalar_square_tests.txt",
|
2016-08-14 20:39:12 -10:00
|
|
|
"src/ec/suite_b/ops/p384.rs",
|
2017-03-25 18:05:20 -10:00
|
|
|
"src/ec/suite_b/ops/p384_elem_div_by_2_tests.txt",
|
2017-03-25 18:30:54 -10:00
|
|
|
"src/ec/suite_b/ops/p384_elem_mul_tests.txt",
|
2017-03-25 18:05:20 -10:00
|
|
|
"src/ec/suite_b/ops/p384_elem_neg_tests.txt",
|
|
|
|
"src/ec/suite_b/ops/p384_elem_sum_tests.txt",
|
2017-03-30 17:45:06 -10:00
|
|
|
"src/ec/suite_b/ops/p384_point_double_tests.txt",
|
2016-08-14 20:39:12 -10:00
|
|
|
"src/ec/suite_b/ops/p384_point_mul_base_tests.txt",
|
|
|
|
"src/ec/suite_b/ops/p384_point_mul_tests.txt",
|
|
|
|
"src/ec/suite_b/ops/p384_point_sum_tests.txt",
|
2017-03-25 18:30:54 -10:00
|
|
|
"src/ec/suite_b/ops/p384_scalar_mul_tests.txt",
|
2016-08-14 20:39:12 -10:00
|
|
|
"src/ec/suite_b/private_key.rs",
|
|
|
|
"src/ec/suite_b/public_key.rs",
|
|
|
|
"src/ec/suite_b/suite_b_public_key_tests.txt",
|
2018-12-07 20:53:42 -10:00
|
|
|
"src/endian.rs",
|
2016-08-14 20:39:12 -10:00
|
|
|
"src/error.rs",
|
|
|
|
"src/hkdf.rs",
|
|
|
|
"src/hmac.rs",
|
2017-02-17 15:37:36 -10:00
|
|
|
"src/hmac_generate_serializable_tests.txt",
|
2018-12-17 16:54:36 -10:00
|
|
|
"src/io.rs",
|
|
|
|
"src/io/der.rs",
|
|
|
|
"src/io/der_writer.rs",
|
2019-07-03 12:43:53 -10:00
|
|
|
"src/io/positive.rs",
|
2018-12-17 16:54:36 -10:00
|
|
|
"src/io/writer.rs",
|
2016-08-14 20:39:12 -10:00
|
|
|
"src/lib.rs",
|
2018-05-07 13:04:56 -10:00
|
|
|
"src/limb.rs",
|
2018-12-04 15:21:26 -10:00
|
|
|
"src/endian.rs",
|
2016-08-14 20:39:12 -10:00
|
|
|
"src/pbkdf2.rs",
|
2017-04-29 14:28:25 -10:00
|
|
|
"src/pkcs8.rs",
|
2016-08-14 20:39:12 -10:00
|
|
|
"src/polyfill.rs",
|
2021-03-19 11:25:00 -07:00
|
|
|
"src/polyfill/array_map.rs",
|
2021-02-08 19:46:47 -08:00
|
|
|
"src/polyfill/chunks_fixed.rs",
|
2021-03-29 15:44:52 -07:00
|
|
|
"src/prefixed.rs",
|
2016-08-14 20:39:12 -10:00
|
|
|
"src/rand.rs",
|
2018-05-07 13:04:56 -10:00
|
|
|
"src/rsa/convert_nist_rsa_test_vectors.py",
|
2018-12-21 15:12:55 -10:00
|
|
|
"src/rsa.rs",
|
2016-10-24 18:25:06 -10:00
|
|
|
"src/rsa/padding.rs",
|
2016-12-10 20:56:16 -10:00
|
|
|
"src/rsa/random.rs",
|
2017-03-19 08:49:21 -10:00
|
|
|
"src/rsa/rsa_pss_padding_tests.txt",
|
2016-08-14 20:39:12 -10:00
|
|
|
"src/rsa/signature_rsa_example_private_key.der",
|
|
|
|
"src/rsa/signature_rsa_example_public_key.der",
|
2016-09-10 22:26:48 -10:00
|
|
|
"src/rsa/signing.rs",
|
|
|
|
"src/rsa/verification.rs",
|
2016-08-14 20:39:12 -10:00
|
|
|
"src/signature.rs",
|
|
|
|
"src/test.rs",
|
|
|
|
"src/test_1_syntax_error_tests.txt",
|
|
|
|
"src/test_1_tests.txt",
|
|
|
|
"src/test_3_tests.txt",
|
2017-06-08 10:41:05 -10:00
|
|
|
"tests/aead_aes_128_gcm_tests.txt",
|
|
|
|
"tests/aead_aes_256_gcm_tests.txt",
|
2018-05-07 13:04:56 -10:00
|
|
|
"tests/aead_chacha20_poly1305_tests.txt",
|
2018-12-06 20:10:30 -10:00
|
|
|
"tests/aead_chacha20_poly1305_openssh_tests.txt",
|
2018-05-07 13:04:56 -10:00
|
|
|
"tests/aead_tests.rs",
|
2017-06-08 11:11:05 -10:00
|
|
|
"tests/agreement_tests.rs",
|
|
|
|
"tests/agreement_tests.txt",
|
2020-05-27 12:07:24 -05:00
|
|
|
"tests/constant_time_tests.rs",
|
2017-06-07 11:24:02 -10:00
|
|
|
"tests/digest_tests.rs",
|
|
|
|
"tests/digest_tests.txt",
|
2017-05-14 22:35:40 -10:00
|
|
|
"tests/ecdsa_from_pkcs8_tests.txt",
|
2017-05-13 00:10:26 -10:00
|
|
|
"tests/ecdsa_tests.rs",
|
2019-01-19 18:17:45 -10:00
|
|
|
"tests/ecdsa_test_private_key_p256.p8",
|
|
|
|
"tests/ecdsa_test_public_key_p256.der",
|
|
|
|
"tests/ecdsa_test_public_key_p256_debug.txt",
|
2018-05-27 10:54:42 -10:00
|
|
|
"tests/ecdsa_sign_asn1_tests.txt",
|
|
|
|
"tests/ecdsa_sign_fixed_tests.txt",
|
2017-05-13 00:10:26 -10:00
|
|
|
"tests/ecdsa_verify_asn1_tests.txt",
|
|
|
|
"tests/ecdsa_verify_fixed_tests.txt",
|
2017-05-07 13:17:57 -10:00
|
|
|
"tests/ed25519_from_pkcs8_tests.txt",
|
|
|
|
"tests/ed25519_from_pkcs8_unchecked_tests.txt",
|
2018-05-07 13:04:56 -10:00
|
|
|
"tests/ed25519_tests.rs",
|
|
|
|
"tests/ed25519_tests.txt",
|
|
|
|
"tests/ed25519_test_private_key.bin",
|
2019-01-19 18:17:45 -10:00
|
|
|
"tests/ed25519_test_private_key.p8",
|
2018-05-07 13:04:56 -10:00
|
|
|
"tests/ed25519_test_public_key.bin",
|
2019-01-19 18:17:45 -10:00
|
|
|
"tests/ed25519_test_public_key.der",
|
2017-06-08 11:51:49 -10:00
|
|
|
"tests/hkdf_tests.rs",
|
|
|
|
"tests/hkdf_tests.txt",
|
2018-05-07 13:04:56 -10:00
|
|
|
"tests/hmac_tests.rs",
|
2017-06-08 11:56:39 -10:00
|
|
|
"tests/hmac_tests.txt",
|
2017-06-07 14:55:26 -10:00
|
|
|
"tests/pbkdf2_tests.rs",
|
2017-09-03 14:39:19 -10:00
|
|
|
"tests/pbkdf2_tests.txt",
|
2019-01-09 09:06:18 -10:00
|
|
|
"tests/quic_aes_128_tests.txt",
|
|
|
|
"tests/quic_aes_256_tests.txt",
|
|
|
|
"tests/quic_chacha20_tests.txt",
|
|
|
|
"tests/quic_tests.rs",
|
2019-06-13 09:59:56 -10:00
|
|
|
"tests/rand_tests.rs",
|
2017-05-16 17:19:06 -10:00
|
|
|
"tests/rsa_from_pkcs8_tests.txt",
|
2017-05-13 12:15:31 -10:00
|
|
|
"tests/rsa_pkcs1_sign_tests.txt",
|
|
|
|
"tests/rsa_pkcs1_verify_tests.txt",
|
|
|
|
"tests/rsa_primitive_verify_tests.txt",
|
|
|
|
"tests/rsa_pss_sign_tests.txt",
|
|
|
|
"tests/rsa_pss_verify_tests.txt",
|
|
|
|
"tests/rsa_tests.rs",
|
2019-01-19 18:17:45 -10:00
|
|
|
"tests/rsa_test_private_key_2048.p8",
|
|
|
|
"tests/rsa_test_public_key_2048.der",
|
|
|
|
"tests/rsa_test_public_key_2048_debug.txt",
|
2017-12-27 15:48:43 -10:00
|
|
|
"tests/signature_tests.rs",
|
2019-02-12 10:26:06 -10:00
|
|
|
"third_party/fiat/curve25519_32.h",
|
|
|
|
"third_party/fiat/curve25519_64.h",
|
2020-06-10 15:50:32 -05:00
|
|
|
"third_party/fiat/p256_32.h",
|
|
|
|
"third_party/fiat/p256_64.h",
|
2018-05-07 13:04:56 -10:00
|
|
|
"third_party/fiat/LICENSE",
|
2018-04-30 13:25:42 -10:00
|
|
|
"third_party/NIST/SHAVS/SHA1LongMsg.rsp",
|
|
|
|
"third_party/NIST/SHAVS/SHA1Monte.rsp",
|
|
|
|
"third_party/NIST/SHAVS/SHA1ShortMsg.rsp",
|
|
|
|
"third_party/NIST/SHAVS/SHA224LongMsg.rsp",
|
|
|
|
"third_party/NIST/SHAVS/SHA224Monte.rsp",
|
|
|
|
"third_party/NIST/SHAVS/SHA224ShortMsg.rsp",
|
|
|
|
"third_party/NIST/SHAVS/SHA256LongMsg.rsp",
|
|
|
|
"third_party/NIST/SHAVS/SHA256Monte.rsp",
|
|
|
|
"third_party/NIST/SHAVS/SHA256ShortMsg.rsp",
|
|
|
|
"third_party/NIST/SHAVS/SHA384LongMsg.rsp",
|
|
|
|
"third_party/NIST/SHAVS/SHA384Monte.rsp",
|
|
|
|
"third_party/NIST/SHAVS/SHA384ShortMsg.rsp",
|
|
|
|
"third_party/NIST/SHAVS/SHA512LongMsg.rsp",
|
|
|
|
"third_party/NIST/SHAVS/SHA512Monte.rsp",
|
|
|
|
"third_party/NIST/SHAVS/SHA512ShortMsg.rsp",
|
2016-08-14 20:39:12 -10:00
|
|
|
]
|
|
|
|
|
2021-01-06 23:35:24 -08:00
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|
|
|
|
|
2015-07-30 19:48:38 -04:00
|
|
|
[lib]
|
2015-08-11 13:57:59 -04:00
|
|
|
name = "ring"
|
2015-07-30 19:48:38 -04:00
|
|
|
|
2016-05-19 13:39:03 -10:00
|
|
|
[dependencies]
|
2020-04-28 11:35:34 -05:00
|
|
|
untrusted = { version = "0.7.1" }
|
2016-05-19 13:39:03 -10:00
|
|
|
|
2020-11-17 16:09:09 -08:00
|
|
|
[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"))))'.dependencies]
|
2019-08-27 17:46:58 -10:00
|
|
|
spin = { version = "0.5.2", default-features = false }
|
2019-01-14 14:26:25 -10:00
|
|
|
|
2019-07-16 11:52:09 -10:00
|
|
|
[target.'cfg(any(target_os = "android", target_os = "linux"))'.dependencies]
|
2021-02-01 14:32:17 -08:00
|
|
|
libc = { version = "0.2.84", default-features = false }
|
2020-11-18 11:06:15 -08:00
|
|
|
once_cell = { version = "1.5.2", default-features = false, features=["std"], optional = true }
|
2017-03-14 16:47:46 -10:00
|
|
|
|
2020-11-30 18:31:28 +00:00
|
|
|
[target.'cfg(any(target_os = "dragonfly", target_os = "freebsd", target_os = "illumos", target_os = "netbsd", target_os = "openbsd", target_os = "solaris"))'.dependencies]
|
2020-11-24 00:29:10 -08:00
|
|
|
once_cell = { version = "1.5.2", default-features = false, features=["std"] }
|
|
|
|
|
2019-06-17 15:15:56 -10:00
|
|
|
[target.'cfg(all(target_arch = "wasm32", target_vendor = "unknown", target_os = "unknown", target_env = ""))'.dependencies]
|
2020-04-28 11:35:34 -05:00
|
|
|
web-sys = { version = "0.3.37", default-features = false, features = ["Crypto", "Window"] }
|
2019-06-17 15:15:56 -10:00
|
|
|
|
2019-07-16 11:52:09 -10:00
|
|
|
[target.'cfg(target_os = "windows")'.dependencies]
|
2020-04-28 11:35:34 -05:00
|
|
|
winapi = { version = "0.3.8", default-features = false, features = ["ntsecapi", "wtypesbase"] }
|
2019-07-16 11:52:09 -10:00
|
|
|
|
2019-06-17 15:15:56 -10:00
|
|
|
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
|
2020-11-10 10:24:39 -08:00
|
|
|
wasm-bindgen-test = { version = "0.3.18", default-features = false }
|
2019-06-17 15:15:56 -10:00
|
|
|
|
2019-07-16 11:52:09 -10:00
|
|
|
[target.'cfg(any(unix, windows))'.dev-dependencies]
|
2021-02-01 14:32:17 -08:00
|
|
|
libc = { version = "0.2.84", default-features = false }
|
2019-02-05 15:48:01 -10:00
|
|
|
|
2017-03-16 12:43:18 -10:00
|
|
|
# Keep this in sync with `[dependencies]` in pregenerate_asm/Cargo.toml.
|
2017-02-07 23:19:36 +01:00
|
|
|
[build-dependencies]
|
2021-02-01 14:30:37 -08:00
|
|
|
cc = { version = "1.0.66", default-features = false }
|
2017-02-07 23:19:36 +01:00
|
|
|
|
2016-01-07 18:43:41 -10:00
|
|
|
[features]
|
|
|
|
# These features are documented in the top-level module's documentation.
|
2019-07-13 12:49:03 -10:00
|
|
|
default = ["alloc", "dev_urandom_fallback"]
|
2019-07-04 08:06:13 -10:00
|
|
|
alloc = []
|
2020-01-02 15:42:19 -06:00
|
|
|
dev_urandom_fallback = ["once_cell"]
|
2016-06-28 12:20:13 -10:00
|
|
|
internal_benches = []
|
2016-05-23 09:48:46 -10:00
|
|
|
slow_tests = []
|
2019-07-04 08:06:13 -10:00
|
|
|
std = ["alloc"]
|
2019-07-13 12:49:03 -10:00
|
|
|
test_logging = []
|
2020-05-27 10:41:53 -05:00
|
|
|
wasm32_c = []
|
2016-01-07 18:43:41 -10:00
|
|
|
|
2016-06-06 13:36:08 -10:00
|
|
|
# XXX: debug = false because of https://github.com/rust-lang/rust/issues/34122
|
|
|
|
|
2015-10-26 17:23:59 -10:00
|
|
|
[profile.bench]
|
|
|
|
opt-level = 3
|
2016-06-06 13:36:08 -10:00
|
|
|
debug = false
|
2015-10-26 17:23:59 -10:00
|
|
|
rpath = false
|
|
|
|
lto = true
|
|
|
|
debug-assertions = false
|
|
|
|
codegen-units = 1
|
|
|
|
|
2015-07-30 19:48:38 -04:00
|
|
|
[profile.release]
|
|
|
|
opt-level = 3
|
2016-06-06 13:36:08 -10:00
|
|
|
debug = false
|
2015-07-30 19:48:38 -04:00
|
|
|
rpath = false
|
|
|
|
lto = true
|
|
|
|
debug-assertions = false
|
|
|
|
codegen-units = 1
|