Home
last modified time | relevance | path

Searched refs:RustCrypto (Results 1 – 25 of 57) sorted by relevance

123

/external/rust/android-crates-io/crates/x509-cert/
DCHANGELOG.md16 [#1134]: https://github.com/RustCrypto/formats/pull/1134
17 [#1179]: https://github.com/RustCrypto/formats/pull/1179
18 [#1271]: https://github.com/RustCrypto/formats/pull/1271
34 [#1122]: https://github.com/RustCrypto/formats/pull/1122
35 [#1126]: https://github.com/RustCrypto/formats/pull/1126
36 [#1130]: https://github.com/RustCrypto/formats/pull/1130
37 [#1137]: https://github.com/RustCrypto/formats/pull/1137
38 [#1150]: https://github.com/RustCrypto/formats/pull/1150
39 [#1158]: https://github.com/RustCrypto/formats/pull/1158
47 [#1092]: https://github.com/RustCrypto/formats/pull/1092
[all …]
/external/rust/android-crates-io/crates/der/
DCHANGELOG.md12 [#1276]: https://github.com/RustCrypto/formats/pull/1276
13 [#1374]: https://github.com/RustCrypto/formats/pull/1374
25 [#1156]: https://github.com/RustCrypto/formats/pull/1156
26 [#1164]: https://github.com/RustCrypto/formats/pull/1164
27 [#1169]: https://github.com/RustCrypto/formats/pull/1169
28 [#1188]: https://github.com/RustCrypto/formats/pull/1188
29 [#1192]: https://github.com/RustCrypto/formats/pull/1192
35 [#1064]: https://github.com/RustCrypto/formats/pull/1064
49 [#1037]: https://github.com/RustCrypto/formats/pull/1037
50 [#1065]: https://github.com/RustCrypto/formats/pull/1065
[all …]
DREADME.md1 # [RustCrypto]: ASN.1 DER
19 implemented as crates maintained by the [RustCrypto] project:
78 [build-image]: https://github.com/RustCrypto/formats/actions/workflows/der.yml/badge.svg
79 [build-link]: https://github.com/RustCrypto/formats/actions/workflows/der.yml
87 [RustCrypto]: https://github.com/rustcrypto
88 [`pkcs1`]: https://github.com/RustCrypto/formats/tree/master/pkcs1
89 [`pkcs5`]: https://github.com/RustCrypto/formats/tree/master/pkcs5
90 [`pkcs7`]: https://github.com/RustCrypto/formats/tree/master/pkcs7
91 [`pkcs8`]: https://github.com/RustCrypto/formats/tree/master/pkcs8
92 [`pkcs10`]: https://github.com/RustCrypto/formats/tree/master/pkcs10
[all …]
/external/rust/android-crates-io/crates/spki/
DCHANGELOG.md11 [#1269]: https://github.com/RustCrypto/formats/pull/1269
22 [#986]: https://github.com/RustCrypto/formats/pull/986
23 [#999]: https://github.com/RustCrypto/formats/pull/999
24 [#1047]: https://github.com/RustCrypto/formats/pull/1047
37 [#962]: https://github.com/RustCrypto/formats/pull/962
38 [#966]: https://github.com/RustCrypto/formats/pull/966
39 [#967]: https://github.com/RustCrypto/formats/pull/967
40 [#979]: https://github.com/RustCrypto/formats/pull/979
50 [#769]: https://github.com/RustCrypto/formats/pull/769
51 [#785]: https://github.com/RustCrypto/formats/pull/785
[all …]
/external/rust/android-crates-io/crates/pkcs1/
DCHANGELOG.md11 [#1021]: https://github.com/RustCrypto/formats/pull/1021
18 [#1013]: https://github.com/RustCrypto/formats/pull/1013
27 [#1010]: https://github.com/RustCrypto/formats/pull/1010
33 [#953]: https://github.com/RustCrypto/formats/pull/953
39 [#916]: https://github.com/RustCrypto/formats/pull/916
48 [#799]: https://github.com/RustCrypto/formats/pull/799
49 [#899]: https://github.com/RustCrypto/formats/pull/899
50 [#900]: https://github.com/RustCrypto/formats/pull/900
51 [#902]: https://github.com/RustCrypto/formats/pull/902
64 [#698]: https://github.com/RustCrypto/formats/pull/698
[all …]
/external/rust/android-crates-io/crates/der_derive/
DCHANGELOG.md11 [#1443]: https://github.com/RustCrypto/formats/pull/1443
18 [#1180]: https://github.com/RustCrypto/formats/pull/1180
19 [#1184]: https://github.com/RustCrypto/formats/pull/1184
25 [#1014]: https://github.com/RustCrypto/formats/pull/1014
31 [#828]: https://github.com/RustCrypto/formats/pull/828
37 [#723]: https://github.com/RustCrypto/formats/pull/723
58 [#246]: https://github.com/RustCrypto/formats/pull/246
59 [#349]: https://github.com/RustCrypto/formats/pull/349
60 [#367]: https://github.com/RustCrypto/formats/pull/367
61 [#375]: https://github.com/RustCrypto/formats/pull/375
[all …]
DREADME.md1 # [RustCrypto]: DER Custom Derive Support
12 <https://github.com/RustCrypto/formats/tree/master/der>
44 [build-image]: https://github.com/RustCrypto/formats/actions/workflows/der.yml/badge.svg
45 [build-link]: https://github.com/RustCrypto/formats/actions/workflows/der.yml
53 [RustCrypto]: https://github.com/rustcrypto
/external/rust/android-crates-io/crates/sec1/
DCHANGELOG.md11 [#1102]: https://github.com/RustCrypto/formats/pull/1102
17 [#995]: https://github.com/RustCrypto/formats/pull/995
23 [#908]: https://github.com/RustCrypto/formats/pull/908
33 [#805]: https://github.com/RustCrypto/formats/pull/805
34 [#893]: https://github.com/RustCrypto/formats/pull/893
35 [#899]: https://github.com/RustCrypto/formats/pull/899
36 [#900]: https://github.com/RustCrypto/formats/pull/900
37 [#902]: https://github.com/RustCrypto/formats/pull/902
58 [#497]: https://github.com/RustCrypto/formats/pull/497
59 [#516]: https://github.com/RustCrypto/formats/pull/516
[all …]
/external/rust/android-crates-io/crates/pkcs8/
DCHANGELOG.md11 [#981]: https://github.com/RustCrypto/formats/pull/981
17 [#913]: https://github.com/RustCrypto/formats/pull/913
26 [#785]: https://github.com/RustCrypto/formats/pull/785
27 [#899]: https://github.com/RustCrypto/formats/pull/899
28 [#900]: https://github.com/RustCrypto/formats/pull/900
29 [#901]: https://github.com/RustCrypto/formats/pull/901
46 [#245]: https://github.com/RustCrypto/formats/pull/245
47 [#335]: https://github.com/RustCrypto/formats/pull/335
48 [#571]: https://github.com/RustCrypto/formats/pull/571
49 [#645]: https://github.com/RustCrypto/formats/pull/645
[all …]
/external/rust/android-crates-io/crates/const-oid/
DCHANGELOG.md11 [#1282]: https://github.com/RustCrypto/formats/pull/1282
17 [#867]: https://github.com/RustCrypto/formats/pull/867
23 [#1114]: https://github.com/RustCrypto/formats/pull/1114
29 [#1129]: https://github.com/RustCrypto/formats/pull/1129
35 [#761]: https://github.com/RustCrypto/formats/pull/761
42 [#561]: https://github.com/RustCrypto/formats/pull/561
43 [#758]: https://github.com/RustCrypto/formats/pull/758
56 [#451]: https://github.com/RustCrypto/formats/pull/451
57 [#453]: https://github.com/RustCrypto/formats/pull/453
58 [#456]: https://github.com/RustCrypto/formats/pull/456
[all …]
/external/rust/android-crates-io/crates/zeroize/
DCHANGELOG.md11 [#1073]: https://github.com/RustCrypto/utils/pull/1073
28 [#1045]: https://github.com/RustCrypto/utils/pull/1045
29 [#1052]: https://github.com/RustCrypto/utils/pull/1052
30 [#1055]: https://github.com/RustCrypto/utils/pull/1055
31 [#1064]: https://github.com/RustCrypto/utils/pull/1064
32 [#1067]: https://github.com/RustCrypto/utils/pull/1067
48 [#900]: https://github.com/RustCrypto/utils/pull/900
49 [#930]: https://github.com/RustCrypto/utils/pull/930
59 [#818]: https://github.com/RustCrypto/utils/pull/818
60 [#842]: https://github.com/RustCrypto/utils/pull/842
[all …]
/external/rust/android-crates-io/crates/zeroize_derive/
DCHANGELOG.md11 [#882]: https://github.com/RustCrypto/utils/pull/882
17 [#879]: https://github.com/RustCrypto/utils/pull/879
27 [#858]: https://github.com/RustCrypto/utils/pull/858
28 [#869]: https://github.com/RustCrypto/utils/pull/869
34 [#787]: https://github.com/RustCrypto/utils/pull/787
40 [#732]: https://github.com/RustCrypto/utils/pull/732
46 [#715]: https://github.com/RustCrypto/utils/pull/715
53 [#663]: https://github.com/RustCrypto/utils/pull/663
54 [#699]: https://github.com/RustCrypto/utils/pull/699
55 [#700]: https://github.com/RustCrypto/utils/pull/700
[all …]
DREADME.md1 # [RustCrypto]: `zeroize_derive`
43 [build-image]: https://github.com/RustCrypto/utils/actions/workflows/zeroize.yml/badge.svg
44 [build-link]: https://github.com/RustCrypto/utils/actions/workflows/zeroize.yml
48 [RustCrypto]: https://github.com/RustCrypto
49 [zeroize]: https://github.com/RustCrypto/utils/tree/master/zeroize
/external/cronet/tot/third_party/rust/chromium_crates_io/vendor/hex-literal-0.4.1/
DCHANGELOG.md11 [#889]: https://github.com/RustCrypto/utils/pull/889
19 [#816]: https://github.com/RustCrypto/utils/pull/816
32 [#664]: https://github.com/RustCrypto/utils/pull/664
33 [#665]: https://github.com/RustCrypto/utils/pull/665
34 [#666]: https://github.com/RustCrypto/utils/pull/666
40 [#519]: https://github.com/RustCrypto/utils/pull/519
46 [#512]: https://github.com/RustCrypto/utils/pull/512
52 [#73]: https://github.com/RustCrypto/utils/pull/73
58 [#53]: https://github.com/RustCrypto/utils/pull/53
/external/cronet/stable/third_party/rust/chromium_crates_io/vendor/hex-literal-0.4.1/
DCHANGELOG.md11 [#889]: https://github.com/RustCrypto/utils/pull/889
19 [#816]: https://github.com/RustCrypto/utils/pull/816
32 [#664]: https://github.com/RustCrypto/utils/pull/664
33 [#665]: https://github.com/RustCrypto/utils/pull/665
34 [#666]: https://github.com/RustCrypto/utils/pull/666
40 [#519]: https://github.com/RustCrypto/utils/pull/519
46 [#512]: https://github.com/RustCrypto/utils/pull/512
52 [#73]: https://github.com/RustCrypto/utils/pull/73
58 [#53]: https://github.com/RustCrypto/utils/pull/53
/external/rust/beto-rust/nearby/connections/ukey2/ukey2_connections/fuzz/fuzz_targets/
Dfuzz_connection.rs17 use crypto_provider_rustcrypto::RustCrypto;
43 let mut initiator_ctx = InitiatorD2DHandshakeContext::<RustCrypto, _>::new_impl(
48 let mut server_ctx = ServerD2DHandshakeContext::<RustCrypto, _>::new_impl(
85 .encode_message_to_peer::<RustCrypto, _>(&payload, associated_data.as_ref());
87 .decode_message_from_peer::<RustCrypto, _>(
96 .encode_message_to_peer::<RustCrypto, _>(&payload, associated_data.as_ref());
98 .decode_message_from_peer::<RustCrypto, _>(
108 .decode_message_from_peer::<RustCrypto, _>(&payload, associated_data.as_ref());
113 .decode_message_from_peer::<RustCrypto, _>(&payload, associated_data.as_ref());
/external/rust/beto-rust/nearby/presence/ldt/examples/
Dldt_prp.rs29 use crypto_provider_rustcrypto::RustCrypto;
47 let mut cp_rng = <RustCrypto as CryptoProvider>::CryptoRng::new(); in run_trials()
52 LdtEncryptCipher::<16, XtsAes128<RustCrypto>, Swap>::new( in run_trials()
53 &LdtKey::from_random::<RustCrypto>(&mut cp_rng), in run_trials()
55 LdtDecryptCipher::<16, XtsAes128<RustCrypto>, Swap>::new( in run_trials()
56 &LdtKey::from_random::<RustCrypto>(&mut cp_rng), in run_trials()
64 LdtEncryptCipher::<16, XtsAes256<RustCrypto>, Swap>::new( in run_trials()
65 &LdtKey::from_random::<RustCrypto>(&mut cp_rng), in run_trials()
67 LdtDecryptCipher::<16, XtsAes256<RustCrypto>, Swap>::new( in run_trials()
68 &LdtKey::from_random::<RustCrypto>(&mut cp_rng), in run_trials()
Dgen_ldt_xor_pad_test_vectors.rs21 use crypto_provider_rustcrypto::RustCrypto;
30 let mut cp_rng = <RustCrypto as CryptoProvider>::CryptoRng::new(); in main()
36 let key = LdtKey::from_random::<RustCrypto>(&mut cp_rng); in main()
39 let ldt_enc = LdtEncryptCipher::<BLOCK_SIZE, XtsAes128<RustCrypto>, Swap>::new(&key); in main()
/external/rust/beto-rust/nearby/presence/ldt_np_adv/fuzz/src/bin/
Dldt_np_roundtrip.rs16 use crypto_provider_rustcrypto::RustCrypto;
25 let padder = salt_padder::<RustCrypto>(salt); in test()
27 let hkdf = np_hkdf::NpKeySeedHkdf::<RustCrypto>::new(&data.key_seed); in test()
28 let ldt_enc = LdtEncryptCipher::<16, XtsAes128<RustCrypto>, Swap>::new(&hkdf.v0_ldt_key()); in test()
30 hkdf.v0_identity_token_hmac_key().calculate_hmac::<RustCrypto>(&data.plaintext[..14]); in test()
32 let cipher = build_np_adv_decrypter_from_key_seed::<RustCrypto>(&hkdf, identity_token_hmac); in test()
Dldt_np_decrypt.rs16 use crypto_provider_rustcrypto::RustCrypto;
24 let padder = salt_padder::<RustCrypto>(salt); in test()
25 let hkdf = np_hkdf::NpKeySeedHkdf::<RustCrypto>::new(&data.key_seed); in test()
26 let cipher = build_np_adv_decrypter_from_key_seed::<RustCrypto>(&hkdf, data.metadata_key_hmac); in test()
/external/rust/beto-rust/nearby/connections/ukey2/ukey2_shell/src/
Dmain.rs26 use crypto_provider_rustcrypto::RustCrypto;
118 connection_ctx.encode_message_to_peer::<RustCrypto, &[u8]>(payload, None); in run_secure_connection_loop()
122 connection_ctx.decode_message_from_peer::<RustCrypto, &[u8]>(payload, None); in run_secure_connection_loop()
129 let result = connection_ctx.get_session_unique::<RustCrypto>(); in run_secure_connection_loop()
139 let mut initiator_ctx = InitiatorD2DHandshakeContext::<RustCrypto, _>::new( in run_as_initiator()
153 .and_then(|h| h.auth_string::<RustCrypto>().derive_vec(self.verification_string_length)) in run_as_initiator()
167 let mut server_ctx = ServerD2DHandshakeContext::<RustCrypto, _>::new( in run_as_responder()
183 .and_then(|h| h.auth_string::<RustCrypto>().derive_vec(self.verification_string_length)) in run_as_responder()
/external/rust/beto-rust/nearby/crypto/crypto_provider_rustcrypto/src/
Dlib.rs50 pub type RustCrypto = RustCryptoImpl<rand::rngs::StdRng>;
53 pub type RustCrypto = RustCryptoImpl<rand_chacha::ChaCha20Rng>;
127 use crate::RustCrypto;
130 fn sha2_tests(testcase: CryptoProviderTestCase<RustCrypto>) { in sha2_tests() argument
131 testcase(PhantomData::<RustCrypto>); in sha2_tests()
/external/rust/beto-rust/nearby/presence/xts_aes/fuzz/src/bin/
Dxts_roundtrip.rs16 use crypto_provider_rustcrypto::RustCrypto;
29 <XtsAes128<RustCrypto> as ldt_tbc::TweakableBlockCipher<16>>::EncryptionCipher::new( in test()
33 <XtsAes128<RustCrypto> as ldt_tbc::TweakableBlockCipher<16>>::DecryptionCipher::new( in test()
/external/rust/beto-rust/nearby/presence/ldt/fuzz/src/bin/
Dldt_roundtrip.rs16 use crypto_provider_rustcrypto::RustCrypto;
23 let ldt_enc = LdtEncryptCipher::<16, XtsAes128<RustCrypto>, Swap>::new( in test()
26 let ldt_dec = LdtDecryptCipher::<16, XtsAes128<RustCrypto>, Swap>::new( in test()
/external/rust/beto-rust/nearby/presence/ldt/benches/
Dldt_scan.rs19 use crypto_provider_rustcrypto::RustCrypto;
35 ldt_factory::<16, XtsAes128<RustCrypto>, Swap, DefaultPadder>(), in ldt_scan()
45 XtsAes128<RustCrypto>, in ldt_scan()
56 ldt_factory::<16, XtsAes256<RustCrypto>, Swap, DefaultPadder>(), in ldt_scan()
68 ldt_factory::<16, XtsAes128<RustCrypto>, Swap, DefaultPadder>(), in ldt_scan()
76 ldt_factory::<16, XtsAes128<RustCrypto>, Swap, DefaultPadder>(), in ldt_scan()
123 let mut rng = <RustCrypto as CryptoProvider>::CryptoRng::new(); in build_bench_state()
126 .map(|_| random_ldt_scenario::<RustCrypto, _, D>(&factory, &mut rng, plaintext_len)) in build_bench_state()
131 unfindable_ciphertext: random_vec::<RustCrypto>(&mut rng, plaintext_len), in build_bench_state()

123