Home
last modified time | relevance | path

Searched refs:derive (Results 1 – 25 of 396) sorted by relevance

12345678910>>...16

/external/crosvm/x86_64/src/
Dbootparam.rs15 #[derive(Default)]
55 #[derive(Debug, Default, Copy, Clone)]
95 #[derive(Debug, Default, Copy, Clone)]
108 #[derive(Copy, Clone)]
130 #[derive(Copy, Clone)]
141 #[derive(Debug, Default, Copy, Clone)]
148 #[derive(Debug, Default, Copy, Clone)]
157 #[derive(Debug, Default, Copy, Clone)]
162 #[derive(Debug, Default, Copy, Clone)]
167 #[derive(Debug, Default, Copy, Clone)]
[all …]
/external/rust/crates/syn/1.0.7/src/
Dmacros.rs7 #[cfg_attr(feature = "extra-traits", derive(Debug, Eq, PartialEq, Hash))]
8 #[cfg_attr(feature = "clone-impls", derive(Clone))]
12 #[cfg_attr(feature = "extra-traits", derive(Debug, Eq, PartialEq, Hash))]
13 #[cfg_attr(feature = "clone-impls", derive(Clone))]
30 #[cfg_attr(feature = "extra-traits", derive(Debug))]
31 #[cfg_attr(feature = "clone-impls", derive(Clone))]
39 #[cfg_attr(feature = "clone-impls", derive(Clone))]
47 #[cfg_attr(feature = "extra-traits", derive(Debug, Eq, PartialEq, Hash))]
48 #[cfg_attr(feature = "clone-impls", derive(Clone))]
70 #[cfg_attr(feature = "extra-traits", derive(Debug))]
[all …]
/external/crosvm/p9/src/protocol/
Dmessages.rs87 #[derive(Debug)]
119 #[derive(Debug)]
290 #[derive(Debug, P9WireFormat)]
296 #[derive(Debug, P9WireFormat)]
301 #[derive(Debug, P9WireFormat)]
308 #[derive(Debug, P9WireFormat)]
315 #[derive(Debug, P9WireFormat)]
322 #[derive(Debug, P9WireFormat)]
327 #[derive(Debug, P9WireFormat)]
332 #[derive(Debug, P9WireFormat)]
[all …]
/external/crosvm/devices/src/virtio/gpu/
Dprotocol.rs100 #[derive(Copy, Clone, Debug)]
114 #[derive(Copy, Clone, Debug)]
126 #[derive(Copy, Clone, Debug)]
141 #[derive(Copy, Clone, Debug, Default)]
153 #[derive(Copy, Clone, Debug)]
164 #[derive(Copy, Clone, Debug)]
177 #[derive(Copy, Clone, Debug)]
189 #[derive(Copy, Clone, Debug)]
201 #[derive(Copy, Clone, Debug)]
213 #[derive(Copy, Clone, Debug)]
[all …]
/external/rust/crates/syn/0.15.42/src/
Dmacros.rs9 #[cfg_attr(feature = "extra-traits", derive(Debug, Eq, PartialEq, Hash))]
10 #[cfg_attr(feature = "clone-impls", derive(Clone))]
15 #[cfg_attr(feature = "extra-traits", derive(Debug, Eq, PartialEq, Hash))]
16 #[cfg_attr(feature = "clone-impls", derive(Clone))]
27 #[cfg_attr(feature = "extra-traits", derive(Debug))]
28 #[cfg_attr(feature = "clone-impls", derive(Clone))]
37 #[cfg_attr(feature = "extra-traits", derive(Debug, Eq, PartialEq, Hash))]
38 #[cfg_attr(feature = "clone-impls", derive(Clone))]
50 #[cfg_attr(feature = "extra-traits", derive(Debug, Eq, PartialEq, Hash))]
51 #[cfg_attr(feature = "clone-impls", derive(Clone))]
/external/crosvm/devices/src/usb/xhci/
Dxhci_abi.rs13 #[derive(Debug)]
41 #[derive(PartialEq, Debug, Clone, Copy)]
70 #[derive(PartialEq, Debug)]
84 #[derive(PartialEq, Debug)]
97 #[derive(PartialEq, Debug)]
105 #[derive(PartialEq, Debug)]
121 #[derive(Clone, Copy, PartialEq)]
298 #[derive(Clone, Copy)]
318 #[derive(Clone, Copy)]
339 #[derive(Clone, Copy)]
[all …]
/external/crosvm/usb_util/src/
Dtypes.rs13 #[derive(Debug)]
40 #[derive(PartialEq)]
49 #[derive(PartialEq, Clone, Copy)]
62 #[derive(Copy, Clone, PartialEq)]
73 #[derive(PartialEq)]
84 #[derive(PartialEq)]
94 #[derive(PartialEq)]
111 #[derive(Copy, Clone, Debug)]
/external/python/cryptography/tests/hazmat/primitives/
Dtest_hkdf.py47 hkdf.derive(b"\x01" * 16)
50 hkdf.derive(b"\x02" * 16)
124 hkdf.derive(u"foo")
157 assert hkdf.derive(b"\x01" * 16) == b"gJ\xfb{"
172 assert hkdf.derive(ikm) == binascii.unhexlify(vector["okm"])
187 assert hkdf.derive(ikm) == binascii.unhexlify(vector["okm"])
203 assert binascii.hexlify(hkdf.derive(prk)) == okm
216 assert binascii.hexlify(hkdf.derive(prk)) == okm
246 hkdf.derive(b"first")
249 hkdf.derive(b"second")
[all …]
Dtest_pbkdf2hmac.py23 kdf.derive(b"password")
25 kdf.derive(b"password2")
28 key = kdf.derive(b"password")
45 key = kdf.derive(b"password")
58 kdf.derive(u"unicode here")
63 assert kdf.derive(data) == b"\xe9n\xaa\x81\xbbt\xa4\xf6\x08\xce"
Dtest_concatkdf.py34 ckdf.derive(b"\x01" * 16)
37 ckdf.derive(b"\x02" * 16)
53 assert ckdf.derive(prk) == okm
69 assert ckdf.derive(bytearray(prk)) == okm
119 ckdf.derive(u"foo")
153 ckdf.derive(b"\x01" * 16)
156 ckdf.derive(b"\x02" * 16)
175 assert ckdf.derive(prk) == okm
194 assert ckdf.derive(bytearray(prk)) == okm
215 assert ckdf.derive(prk) == okm
[all …]
Dtest_x963kdf.py32 xkdf.derive(b"\x01" * 16)
35 xkdf.derive(b"\x02" * 16)
46 assert xkdf.derive(key) == derivedkey
57 assert xkdf.derive(key) == derivedkey
104 xkdf.derive(u"foo")
Dtest_kbkdf.py29 key = kdf.derive(b"material")
43 kdf.derive(b'material')
46 kdf.derive(b'material2')
52 key = kdf.derive(b'material')
71 kdf.derive(b'material')
150 kdf.derive(u'material')
157 key = kdf.derive(bytearray(b"material"))
Dtest_scrypt.py58 assert binascii.hexlify(scrypt.derive(password)) == derived_key
95 scrypt.derive(password)
109 scrypt.derive(password)
122 assert scrypt.derive(password) == b'\xf4\x92\x86\xb2\x06\x0c\x848W\x87'
164 scrypt.derive(password)
166 scrypt.derive(password)
/external/crosvm/devices/src/
Dsplit_irqchip_common.rs10 #[derive(Clone, Copy, Debug, PartialEq)]
17 #[derive(Clone, Copy, Debug, PartialEq)]
24 #[derive(Debug, Clone, Copy, PartialEq)]
37 #[derive(Clone, Copy, PartialEq)]
50 #[derive(Clone, Copy, PartialEq)]
/external/crosvm/net_sys/src/
Diff.rs8 #[derive(Default)]
411 #[derive(Debug, Default, Copy, Clone)]
438 #[derive(Debug, Default, Copy, Clone)]
462 #[derive(Copy, Clone)]
473 #[derive(Debug, Copy, Clone)]
510 #[derive(Debug, Default, Copy, Clone)]
574 #[derive(Debug, Default, Copy, Clone)]
580 #[derive(Debug, Default, Copy, Clone)]
586 #[derive(Debug, Default, Copy, Clone)]
594 #[derive(Debug, Default, Copy, Clone)]
[all …]
/external/adhd/cras/client/cras-sys/src/
Dgen.rs46 #[derive(Copy, Clone)]
107 #[derive(Copy, Clone)]
126 #[derive(Debug, Copy, Clone)]
341 #[derive(Debug, Copy, Clone)]
417 #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
474 #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
490 #[derive(Debug, Copy, Clone)]
553 #[derive(Debug, Copy, Clone)]
620 #[derive(Debug, Copy, Clone)]
659 #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
[all …]
/external/crosvm/vm_control/src/
Dlib.rs26 #[derive(Debug)]
63 #[derive(Debug)]
98 #[derive(MsgOnSocket, Debug)]
104 #[derive(MsgOnSocket, Debug)]
120 #[derive(MsgOnSocket, Debug)]
126 #[derive(MsgOnSocket, Debug)]
143 #[derive(MsgOnSocket, Copy, Clone, Debug, Default)]
156 #[derive(MsgOnSocket, Debug)]
187 #[derive(MsgOnSocket, Debug)]
256 #[derive(MsgOnSocket, Debug)]
[all …]
/external/rust/crates/syn/0.15.42/tests/debug/
Dgen.rs11 #[derive(RefCast)] in fmt()
34 #[derive(RefCast)] in fmt()
65 #[derive(RefCast)] in fmt()
84 #[derive(RefCast)] in fmt()
100 #[derive(RefCast)] in fmt()
122 #[derive(RefCast)] in fmt()
137 #[derive(RefCast)] in fmt()
154 #[derive(RefCast)] in fmt()
195 #[derive(RefCast)] in fmt()
390 #[derive(RefCast)] in fmt()
[all …]
/external/python/cryptography/docs/hazmat/primitives/
Dkey-derivation-functions.rst8 Key derivation functions derive bytes suitable for cryptographic operations
54 >>> # derive
62 >>> key = kdf.derive(b"my great password")
93 .. method:: derive(key_material)
100 :meth:`derive` or
113 ``key_material`` in :meth:`derive`.
116 :meth:`derive`.
121 :meth:`derive` or
162 >>> key = hkdf.derive(b"input key")
201 .. method:: derive(key_material)
[all …]
/external/rust/crates/syn/1.0.7/tests/debug/
Dgen.rs11 #[derive(RefCast)] in fmt()
34 #[derive(RefCast)] in fmt()
60 #[derive(RefCast)] in fmt()
77 #[derive(RefCast)] in fmt()
121 #[derive(RefCast)] in fmt()
298 #[derive(RefCast)] in fmt()
310 #[derive(RefCast)] in fmt()
347 #[derive(RefCast)] in fmt()
391 #[derive(RefCast)] in fmt()
466 #[derive(RefCast)] in fmt()
[all …]
/external/python/cryptography/src/cryptography/hazmat/primitives/kdf/
Dhkdf.py45 def derive(self, key_material): member in HKDF
47 return self._hkdf_expand.derive(self._extract(key_material))
50 if not constant_time.bytes_eq(self.derive(key_material), expected_key):
100 def derive(self, key_material): member in HKDFExpand
109 if not constant_time.bytes_eq(self.derive(key_material), expected_key):
/external/crosvm/gpu_buffer/src/
Draw.rs15 #[derive(Debug, Copy, Clone)]
20 #[derive(Debug, Copy, Clone)]
25 #[derive(Debug, Copy, Clone)]
32 #[derive(Copy, Clone)]
117 #[derive(Debug, Copy, Clone)]
127 #[derive(Debug, Copy, Clone)]
/external/crosvm/kvm_sys/src/aarch64/
Dbindings.rs8 #[derive(Default)]
492 #[derive(Debug, Default, Copy, Clone)]
542 #[derive(Debug, Default, Copy, Clone)]
587 #[derive(Debug, Default, Copy, Clone)]
648 #[derive(Debug, Default, Copy, Clone)]
694 #[derive(Debug, Default, Copy, Clone)]
701 #[derive(Debug, Default, Copy, Clone)]
803 #[derive(Debug, Default, Copy, Clone)]
871 #[derive(Debug, Default, Copy, Clone)]
910 #[derive(Debug, Default, Copy, Clone)]
[all …]
/external/crosvm/kvm_sys/src/x86/
Dbindings.rs8 #[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
87 #[derive(Default)]
478 #[derive(Debug, Default, Copy, Clone)]
528 #[derive(Debug, Default, Copy, Clone)]
573 #[derive(Debug, Default, Copy, Clone)]
649 #[derive(Debug, Default, Copy, Clone)]
846 #[derive(Copy, Clone)]
856 #[derive(Copy, Clone)]
863 #[derive(Debug, Default, Copy, Clone)]
1186 #[derive(Debug, Default, Copy, Clone)]
[all …]
/external/crosvm/devices/src/pci/
Dpci_configuration.rs26 #[derive(Copy, Clone)]
34 #[derive(Copy, Clone)]
71 #[derive(Copy, Clone)]
88 #[derive(Copy, Clone)]
112 #[derive(Copy, Clone)]
178 #[derive(Copy, Clone)]
185 #[derive(Copy, Clone)]
191 #[derive(Copy, Clone)]
200 #[derive(Debug)]
519 #[derive(Clone, Copy)]
[all …]

12345678910>>...16