Home
last modified time | relevance | path

Searched refs:KeyInner (Results 1 – 25 of 76) sorted by relevance

1234

/dports/security/cloak/cloak-0.2.0/cargo-crates/ring-0.14.6/src/aead/
H A Dquic.rs27 inner: KeyInner,
32 enum KeyInner { enum
72 new_mask: fn(key: &KeyInner, sample: Block) -> [u8; 5],
121 Ok(KeyInner::Aes(aes_key)) in aes_init_128()
126 Ok(KeyInner::Aes(aes_key)) in aes_init_256()
129 fn aes_new_mask(key: &KeyInner, sample: Block) -> [u8; 5] { in aes_new_mask() argument
131 KeyInner::Aes(key) => key,
146 fn chacha20_init(key: &[u8], _todo: cpu::Features) -> Result<KeyInner, error::Unspecified> { in chacha20_init() argument
148 Ok(KeyInner::ChaCha20(chacha::Key::from(chacha20_key))) in chacha20_init()
151 fn chacha20_new_mask(key: &KeyInner, sample: Block) -> [u8; 5] { in chacha20_new_mask() argument
[all …]
H A Dchacha20_poly1305.rs44 ) -> Result<aead::KeyInner, error::Unspecified> { in chacha20_poly1305_init() argument
46 Ok(aead::KeyInner::ChaCha20Poly1305(chacha::Key::from(key))) in chacha20_poly1305_init()
50 key: &aead::KeyInner, nonce: Nonce, aad: Aad, in_out: &mut [u8], cpu_features: cpu::Features, in chacha20_poly1305_seal() argument
56 key: &aead::KeyInner, nonce: Nonce, aad: Aad, in_prefix_len: usize, in_out: &mut [u8], in chacha20_poly1305_open() argument
73 key: &aead::KeyInner, nonce: Nonce, Aad(aad): Aad, in_out: &mut [u8], direction: Direction, in aead() argument
77 aead::KeyInner::ChaCha20Poly1305(key) => key, in aead()
H A Daes_gcm.rs46 fn init_128(key: &[u8], cpu_features: cpu::Features) -> Result<aead::KeyInner, error::Unspecified> { in init_128() argument
50 fn init_256(key: &[u8], cpu_features: cpu::Features) -> Result<aead::KeyInner, error::Unspecified> { in init_256() argument
56 ) -> Result<aead::KeyInner, error::Unspecified> { in init() argument
59 Ok(aead::KeyInner::AesGcm(Key { aes_key, gcm_key })) in init()
65 key: &aead::KeyInner, nonce: Nonce, aad: Aad, in_out: &mut [u8], cpu_features: cpu::Features, in aes_gcm_seal() argument
71 key: &aead::KeyInner, nonce: Nonce, aad: Aad, in_prefix_len: usize, in_out: &mut [u8], in aes_gcm_open() argument
86 key: &aead::KeyInner, nonce: Nonce, aad: Aad, in_out: &mut [u8], direction: Direction, in aead() argument
90 aead::KeyInner::AesGcm(key) => key, in aead()
/dports/devel/sccache/sccache-0.2.15/cargo-crates/ring-0.16.19/src/aead/
H A Dquic.rs27 inner: KeyInner,
32 enum KeyInner { enum
87 new_mask: fn(key: &KeyInner, sample: Sample) -> [u8; 5],
149 Ok(KeyInner::Aes(aes_key)) in aes_init_128()
154 Ok(KeyInner::Aes(aes_key)) in aes_init_256()
157 fn aes_new_mask(key: &KeyInner, sample: Sample) -> [u8; 5] { in aes_new_mask() argument
159 KeyInner::Aes(key) => key,
174 fn chacha20_init(key: &[u8], _todo: cpu::Features) -> Result<KeyInner, error::Unspecified> { in chacha20_init() argument
176 Ok(KeyInner::ChaCha20(chacha::Key::from(chacha20_key))) in chacha20_init()
179 fn chacha20_new_mask(key: &KeyInner, sample: Sample) -> [u8; 5] { in chacha20_new_mask() argument
[all …]
H A Dchacha20_poly1305.rs41 ) -> Result<aead::KeyInner, error::Unspecified> { in chacha20_poly1305_init() argument
43 Ok(aead::KeyInner::ChaCha20Poly1305(chacha::Key::from(key))) in chacha20_poly1305_init()
47 key: &aead::KeyInner, in chacha20_poly1305_seal() argument
57 key: &aead::KeyInner, in chacha20_poly1305_open() argument
78 key: &aead::KeyInner, in aead() argument
86 aead::KeyInner::ChaCha20Poly1305(key) => key, in aead()
H A Daes_gcm.rs46 fn init_128(key: &[u8], cpu_features: cpu::Features) -> Result<aead::KeyInner, error::Unspecified> { in init_128() argument
50 fn init_256(key: &[u8], cpu_features: cpu::Features) -> Result<aead::KeyInner, error::Unspecified> { in init_256() argument
58 ) -> Result<aead::KeyInner, error::Unspecified> { in init() argument
61 Ok(aead::KeyInner::AesGcm(Key { aes_key, gcm_key })) in init()
67 key: &aead::KeyInner, in aes_gcm_seal() argument
77 key: &aead::KeyInner, in aes_gcm_open() argument
96 key: &aead::KeyInner, in aead() argument
104 aead::KeyInner::AesGcm(key) => key, in aead()
/dports/security/vaultwarden/vaultwarden-1.23.1/cargo-crates/ring-0.16.20/src/aead/
H A Dquic.rs27 inner: KeyInner,
32 enum KeyInner { enum
87 new_mask: fn(key: &KeyInner, sample: Sample) -> [u8; 5],
149 Ok(KeyInner::Aes(aes_key)) in aes_init_128()
154 Ok(KeyInner::Aes(aes_key)) in aes_init_256()
157 fn aes_new_mask(key: &KeyInner, sample: Sample) -> [u8; 5] { in aes_new_mask() argument
159 KeyInner::Aes(key) => key,
174 fn chacha20_init(key: &[u8], _todo: cpu::Features) -> Result<KeyInner, error::Unspecified> { in chacha20_init() argument
176 Ok(KeyInner::ChaCha20(chacha::Key::from(chacha20_key))) in chacha20_init()
179 fn chacha20_new_mask(key: &KeyInner, sample: Sample) -> [u8; 5] { in chacha20_new_mask() argument
[all …]
/dports/lang/gleam/gleam-0.18.2/cargo-crates/ring-0.16.20/src/aead/
H A Dquic.rs27 inner: KeyInner,
32 enum KeyInner { enum
87 new_mask: fn(key: &KeyInner, sample: Sample) -> [u8; 5],
149 Ok(KeyInner::Aes(aes_key)) in aes_init_128()
154 Ok(KeyInner::Aes(aes_key)) in aes_init_256()
157 fn aes_new_mask(key: &KeyInner, sample: Sample) -> [u8; 5] { in aes_new_mask() argument
159 KeyInner::Aes(key) => key,
174 fn chacha20_init(key: &[u8], _todo: cpu::Features) -> Result<KeyInner, error::Unspecified> { in chacha20_init() argument
176 Ok(KeyInner::ChaCha20(chacha::Key::from(chacha20_key))) in chacha20_init()
179 fn chacha20_new_mask(key: &KeyInner, sample: Sample) -> [u8; 5] { in chacha20_new_mask() argument
[all …]
/dports/net/routinator/routinator-0.10.2/cargo-crates/ring-0.16.20/src/aead/
H A Dquic.rs27 inner: KeyInner,
32 enum KeyInner { enum
87 new_mask: fn(key: &KeyInner, sample: Sample) -> [u8; 5],
149 Ok(KeyInner::Aes(aes_key)) in aes_init_128()
154 Ok(KeyInner::Aes(aes_key)) in aes_init_256()
157 fn aes_new_mask(key: &KeyInner, sample: Sample) -> [u8; 5] { in aes_new_mask() argument
159 KeyInner::Aes(key) => key,
174 fn chacha20_init(key: &[u8], _todo: cpu::Features) -> Result<KeyInner, error::Unspecified> { in chacha20_init() argument
176 Ok(KeyInner::ChaCha20(chacha::Key::from(chacha20_key))) in chacha20_init()
179 fn chacha20_new_mask(key: &KeyInner, sample: Sample) -> [u8; 5] { in chacha20_new_mask() argument
[all …]
/dports/www/ffsend/ffsend-ccd489ce2e75b91c0f17fbf13dbd91fe84f5ad98/cargo-crates/ring-0.16.20/src/aead/
H A Dquic.rs27 inner: KeyInner,
32 enum KeyInner { enum
87 new_mask: fn(key: &KeyInner, sample: Sample) -> [u8; 5],
149 Ok(KeyInner::Aes(aes_key)) in aes_init_128()
154 Ok(KeyInner::Aes(aes_key)) in aes_init_256()
157 fn aes_new_mask(key: &KeyInner, sample: Sample) -> [u8; 5] { in aes_new_mask() argument
159 KeyInner::Aes(key) => key,
174 fn chacha20_init(key: &[u8], _todo: cpu::Features) -> Result<KeyInner, error::Unspecified> { in chacha20_init() argument
176 Ok(KeyInner::ChaCha20(chacha::Key::from(chacha20_key))) in chacha20_init()
179 fn chacha20_new_mask(key: &KeyInner, sample: Sample) -> [u8; 5] { in chacha20_new_mask() argument
[all …]
/dports/security/rustscan/RustScan-2.0.1/cargo-crates/ring-0.16.15/src/aead/
H A Dquic.rs27 inner: KeyInner,
32 enum KeyInner { enum
85 new_mask: fn(key: &KeyInner, sample: Block) -> [u8; 5],
147 Ok(KeyInner::Aes(aes_key)) in aes_init_128()
152 Ok(KeyInner::Aes(aes_key)) in aes_init_256()
155 fn aes_new_mask(key: &KeyInner, sample: Block) -> [u8; 5] { in aes_new_mask() argument
157 KeyInner::Aes(key) => key,
172 fn chacha20_init(key: &[u8], _todo: cpu::Features) -> Result<KeyInner, error::Unspecified> { in chacha20_init() argument
174 Ok(KeyInner::ChaCha20(chacha::Key::from(chacha20_key))) in chacha20_init()
177 fn chacha20_new_mask(key: &KeyInner, sample: Block) -> [u8; 5] { in chacha20_new_mask() argument
[all …]
H A Dchacha20_poly1305.rs41 ) -> Result<aead::KeyInner, error::Unspecified> { in chacha20_poly1305_init() argument
43 Ok(aead::KeyInner::ChaCha20Poly1305(chacha::Key::from(key))) in chacha20_poly1305_init()
47 key: &aead::KeyInner, in chacha20_poly1305_seal() argument
57 key: &aead::KeyInner, in chacha20_poly1305_open() argument
78 key: &aead::KeyInner, in aead() argument
86 aead::KeyInner::ChaCha20Poly1305(key) => key, in aead()
/dports/net/quiche/quiche-0.9.0/cargo-crates/ring-0.16.20/src/aead/
H A Dquic.rs27 inner: KeyInner,
32 enum KeyInner { enum
87 new_mask: fn(key: &KeyInner, sample: Sample) -> [u8; 5],
149 Ok(KeyInner::Aes(aes_key)) in aes_init_128()
154 Ok(KeyInner::Aes(aes_key)) in aes_init_256()
157 fn aes_new_mask(key: &KeyInner, sample: Sample) -> [u8; 5] { in aes_new_mask() argument
159 KeyInner::Aes(key) => key,
174 fn chacha20_init(key: &[u8], _todo: cpu::Features) -> Result<KeyInner, error::Unspecified> { in chacha20_init() argument
176 Ok(KeyInner::ChaCha20(chacha::Key::from(chacha20_key))) in chacha20_init()
179 fn chacha20_new_mask(key: &KeyInner, sample: Sample) -> [u8; 5] { in chacha20_new_mask() argument
[all …]
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/cargo-crates/ring-0.16.12/src/aead/
H A Dquic.rs27 inner: KeyInner,
32 enum KeyInner { enum
85 new_mask: fn(key: &KeyInner, sample: Block) -> [u8; 5],
147 Ok(KeyInner::Aes(aes_key)) in aes_init_128()
152 Ok(KeyInner::Aes(aes_key)) in aes_init_256()
155 fn aes_new_mask(key: &KeyInner, sample: Block) -> [u8; 5] { in aes_new_mask() argument
157 KeyInner::Aes(key) => key,
172 fn chacha20_init(key: &[u8], _todo: cpu::Features) -> Result<KeyInner, error::Unspecified> { in chacha20_init() argument
174 Ok(KeyInner::ChaCha20(chacha::Key::from(chacha20_key))) in chacha20_init()
177 fn chacha20_new_mask(key: &KeyInner, sample: Block) -> [u8; 5] { in chacha20_new_mask() argument
[all …]
H A Dchacha20_poly1305.rs46 ) -> Result<aead::KeyInner, error::Unspecified> { in chacha20_poly1305_init() argument
48 Ok(aead::KeyInner::ChaCha20Poly1305(chacha::Key::from(key))) in chacha20_poly1305_init()
52 key: &aead::KeyInner, in chacha20_poly1305_seal() argument
62 key: &aead::KeyInner, in chacha20_poly1305_open() argument
83 key: &aead::KeyInner, in aead() argument
91 aead::KeyInner::ChaCha20Poly1305(key) => key, in aead()
/dports/net/krill/krill-0.9.4/cargo-crates/ring-0.16.20/src/aead/
H A Dquic.rs27 inner: KeyInner,
32 enum KeyInner { enum
87 new_mask: fn(key: &KeyInner, sample: Sample) -> [u8; 5],
149 Ok(KeyInner::Aes(aes_key)) in aes_init_128()
154 Ok(KeyInner::Aes(aes_key)) in aes_init_256()
157 fn aes_new_mask(key: &KeyInner, sample: Sample) -> [u8; 5] { in aes_new_mask() argument
159 KeyInner::Aes(key) => key,
174 fn chacha20_init(key: &[u8], _todo: cpu::Features) -> Result<KeyInner, error::Unspecified> { in chacha20_init() argument
176 Ok(KeyInner::ChaCha20(chacha::Key::from(chacha20_key))) in chacha20_init()
179 fn chacha20_new_mask(key: &KeyInner, sample: Sample) -> [u8; 5] { in chacha20_new_mask() argument
[all …]
/dports/dns/doh-proxy/doh-proxy-0.9.2/cargo-crates/ring-0.16.20/src/aead/
H A Dquic.rs27 inner: KeyInner,
32 enum KeyInner { enum
87 new_mask: fn(key: &KeyInner, sample: Sample) -> [u8; 5],
149 Ok(KeyInner::Aes(aes_key)) in aes_init_128()
154 Ok(KeyInner::Aes(aes_key)) in aes_init_256()
157 fn aes_new_mask(key: &KeyInner, sample: Sample) -> [u8; 5] { in aes_new_mask() argument
159 KeyInner::Aes(key) => key,
174 fn chacha20_init(key: &[u8], _todo: cpu::Features) -> Result<KeyInner, error::Unspecified> { in chacha20_init() argument
176 Ok(KeyInner::ChaCha20(chacha::Key::from(chacha20_key))) in chacha20_init()
179 fn chacha20_new_mask(key: &KeyInner, sample: Sample) -> [u8; 5] { in chacha20_new_mask() argument
[all …]
/dports/www/zola/zola-0.15.2/cargo-crates/ring-0.16.20/src/aead/
H A Dquic.rs27 inner: KeyInner,
32 enum KeyInner { enum
87 new_mask: fn(key: &KeyInner, sample: Sample) -> [u8; 5],
149 Ok(KeyInner::Aes(aes_key)) in aes_init_128()
154 Ok(KeyInner::Aes(aes_key)) in aes_init_256()
157 fn aes_new_mask(key: &KeyInner, sample: Sample) -> [u8; 5] { in aes_new_mask() argument
159 KeyInner::Aes(key) => key,
174 fn chacha20_init(key: &[u8], _todo: cpu::Features) -> Result<KeyInner, error::Unspecified> { in chacha20_init() argument
176 Ok(KeyInner::ChaCha20(chacha::Key::from(chacha20_key))) in chacha20_init()
179 fn chacha20_new_mask(key: &KeyInner, sample: Sample) -> [u8; 5] { in chacha20_new_mask() argument
[all …]
/dports/www/xh/xh-0.14.1/cargo-crates/ring-0.16.20/src/aead/
H A Dquic.rs27 inner: KeyInner,
32 enum KeyInner { enum
87 new_mask: fn(key: &KeyInner, sample: Sample) -> [u8; 5],
149 Ok(KeyInner::Aes(aes_key)) in aes_init_128()
154 Ok(KeyInner::Aes(aes_key)) in aes_init_256()
157 fn aes_new_mask(key: &KeyInner, sample: Sample) -> [u8; 5] { in aes_new_mask() argument
159 KeyInner::Aes(key) => key,
174 fn chacha20_init(key: &[u8], _todo: cpu::Features) -> Result<KeyInner, error::Unspecified> { in chacha20_init() argument
176 Ok(KeyInner::ChaCha20(chacha::Key::from(chacha20_key))) in chacha20_init()
179 fn chacha20_new_mask(key: &KeyInner, sample: Sample) -> [u8; 5] { in chacha20_new_mask() argument
[all …]
/dports/www/miniserve/miniserve-0.18.0/cargo-crates/ring-0.16.20/src/aead/
H A Dquic.rs27 inner: KeyInner,
32 enum KeyInner { enum
87 new_mask: fn(key: &KeyInner, sample: Sample) -> [u8; 5],
149 Ok(KeyInner::Aes(aes_key)) in aes_init_128()
154 Ok(KeyInner::Aes(aes_key)) in aes_init_256()
157 fn aes_new_mask(key: &KeyInner, sample: Sample) -> [u8; 5] { in aes_new_mask() argument
159 KeyInner::Aes(key) => key,
174 fn chacha20_init(key: &[u8], _todo: cpu::Features) -> Result<KeyInner, error::Unspecified> { in chacha20_init() argument
176 Ok(KeyInner::ChaCha20(chacha::Key::from(chacha20_key))) in chacha20_init()
179 fn chacha20_new_mask(key: &KeyInner, sample: Sample) -> [u8; 5] { in chacha20_new_mask() argument
[all …]
/dports/devel/dtool/dtool-0.11.0/cargo-crates/ring-0.16.20/src/aead/
H A Dquic.rs27 inner: KeyInner,
32 enum KeyInner { enum
87 new_mask: fn(key: &KeyInner, sample: Sample) -> [u8; 5],
149 Ok(KeyInner::Aes(aes_key)) in aes_init_128()
154 Ok(KeyInner::Aes(aes_key)) in aes_init_256()
157 fn aes_new_mask(key: &KeyInner, sample: Sample) -> [u8; 5] { in aes_new_mask() argument
159 KeyInner::Aes(key) => key,
174 fn chacha20_init(key: &[u8], _todo: cpu::Features) -> Result<KeyInner, error::Unspecified> { in chacha20_init() argument
176 Ok(KeyInner::ChaCha20(chacha::Key::from(chacha20_key))) in chacha20_init()
179 fn chacha20_new_mask(key: &KeyInner, sample: Sample) -> [u8; 5] { in chacha20_new_mask() argument
[all …]
/dports/audio/ncspot/ncspot-0.9.3/cargo-crates/ring-0.16.20/src/aead/
H A Dquic.rs27 inner: KeyInner,
32 enum KeyInner { enum
87 new_mask: fn(key: &KeyInner, sample: Sample) -> [u8; 5],
149 Ok(KeyInner::Aes(aes_key)) in aes_init_128()
154 Ok(KeyInner::Aes(aes_key)) in aes_init_256()
157 fn aes_new_mask(key: &KeyInner, sample: Sample) -> [u8; 5] { in aes_new_mask() argument
159 KeyInner::Aes(key) => key,
174 fn chacha20_init(key: &[u8], _todo: cpu::Features) -> Result<KeyInner, error::Unspecified> { in chacha20_init() argument
176 Ok(KeyInner::ChaCha20(chacha::Key::from(chacha20_key))) in chacha20_init()
179 fn chacha20_new_mask(key: &KeyInner, sample: Sample) -> [u8; 5] { in chacha20_new_mask() argument
[all …]
/dports/www/jwt-cli/jwt-cli-5.0.0/cargo-crates/ring-0.16.20/src/aead/
H A Dquic.rs27 inner: KeyInner,
32 enum KeyInner { enum
87 new_mask: fn(key: &KeyInner, sample: Sample) -> [u8; 5],
149 Ok(KeyInner::Aes(aes_key)) in aes_init_128()
154 Ok(KeyInner::Aes(aes_key)) in aes_init_256()
157 fn aes_new_mask(key: &KeyInner, sample: Sample) -> [u8; 5] { in aes_new_mask() argument
159 KeyInner::Aes(key) => key,
174 fn chacha20_init(key: &[u8], _todo: cpu::Features) -> Result<KeyInner, error::Unspecified> { in chacha20_init() argument
176 Ok(KeyInner::ChaCha20(chacha::Key::from(chacha20_key))) in chacha20_init()
179 fn chacha20_new_mask(key: &KeyInner, sample: Sample) -> [u8; 5] { in chacha20_new_mask() argument
[all …]
/dports/textproc/angle-grinder/angle-grinder-0.18.0/cargo-crates/ring-0.16.20/src/aead/
H A Dquic.rs27 inner: KeyInner,
32 enum KeyInner { enum
87 new_mask: fn(key: &KeyInner, sample: Sample) -> [u8; 5],
149 Ok(KeyInner::Aes(aes_key)) in aes_init_128()
154 Ok(KeyInner::Aes(aes_key)) in aes_init_256()
157 fn aes_new_mask(key: &KeyInner, sample: Sample) -> [u8; 5] { in aes_new_mask() argument
159 KeyInner::Aes(key) => key,
174 fn chacha20_init(key: &[u8], _todo: cpu::Features) -> Result<KeyInner, error::Unspecified> { in chacha20_init() argument
176 Ok(KeyInner::ChaCha20(chacha::Key::from(chacha20_key))) in chacha20_init()
179 fn chacha20_new_mask(key: &KeyInner, sample: Sample) -> [u8; 5] { in chacha20_new_mask() argument
[all …]
/dports/devel/py-maturin/maturin-0.11.3/cargo-crates/ring-0.16.20/src/aead/
H A Dquic.rs27 inner: KeyInner,
32 enum KeyInner { enum
87 new_mask: fn(key: &KeyInner, sample: Sample) -> [u8; 5],
149 Ok(KeyInner::Aes(aes_key)) in aes_init_128()
154 Ok(KeyInner::Aes(aes_key)) in aes_init_256()
157 fn aes_new_mask(key: &KeyInner, sample: Sample) -> [u8; 5] { in aes_new_mask() argument
159 KeyInner::Aes(key) => key,
174 fn chacha20_init(key: &[u8], _todo: cpu::Features) -> Result<KeyInner, error::Unspecified> { in chacha20_init() argument
176 Ok(KeyInner::ChaCha20(chacha::Key::from(chacha20_key))) in chacha20_init()
179 fn chacha20_new_mask(key: &KeyInner, sample: Sample) -> [u8; 5] { in chacha20_new_mask() argument
[all …]

1234