Searched refs:byteorder (Results 1 – 15 of 15) sorted by relevance
| /linux/scripts/crypto/ |
| H A D | gen-hash-testvecs.py | 54 self.r = int.from_bytes(key[:16], byteorder='little') & rclamp 55 self.s = int.from_bytes(key[16:], byteorder='little') 61 c = int.from_bytes(chunk, byteorder='little') + 2**(8 * len(chunk)) 69 return m.to_bytes(16, byteorder='little') 88 return Ghash.reflect_bits_in_bytes(int.from_bytes(data, byteorder='little')) 92 return Ghash.reflect_bits_in_bytes(poly).to_bytes(16, byteorder='little') 125 self.h = int.from_bytes(key, byteorder='little') 132 self.acc ^= int.from_bytes(data[i:i+16], byteorder='little') 144 return self.acc.to_bytes(16, byteorder='little') 260 return int.from_bytes(bytestr[pos//8 : pos//8 + length//8], byteorder [all...] |
| /linux/rust/zerocopy/src/ |
| H A D | byteorder.rs | 999 pub type $ty = crate::byteorder::$ty<$trait>; 1243 ($fn:ident, $byteorder:ident) => { 1244 $fn::<U16<$byteorder>>(); 1245 $fn::<U32<$byteorder>>(); 1246 $fn::<U64<$byteorder>>(); 1247 $fn::<U128<$byteorder>>(); 1248 $fn::<Usize<$byteorder>>(); 1253 ($fn:ident, $byteorder:ident) => { 1254 $fn::<I16<$byteorder>>(); 1255 $fn::<I32<$byteorder>>(); [all …]
|
| H A D | macros.rs | 1259 byteorder::native_endian::{U16, U32},
|
| H A D | lib.rs | 349 pub mod byteorder; module 397 byteorder::*,
|
| /linux/include/uapi/linux/ |
| H A D | aio_abi.h | 84 #error edit for your odd byteorder.
|
| /linux/include/uapi/asm-generic/ |
| H A D | Kbuild | 9 mandatory-y += byteorder.h
|
| /linux/tools/testing/selftests/drivers/net/lib/py/ |
| H A D | env.py | 586 ifindex_bytes = self.nk_host_ifindex.to_bytes(4, byteorder='little') 620 phys_ifindex_bytes = self.ifindex.to_bytes(4, byteorder=sys.byteorder)
|
| /linux/Documentation/translations/zh_CN/kernel-hacking/ |
| H A D | hacking.rst | 316 定义于 ``include/asm/byteorder.h``
|
| /linux/tools/testing/selftests/tpm2/ |
| H A D | tpm2.py | 745 pcrSelect = int.from_bytes(pcrSelect, byteorder='big')
|
| /linux/fs/befs/ |
| H A D | ChangeLog | 283 native byteorder works 100%.
|
| /linux/Documentation/dev-tools/ |
| H A D | checkuapi.rst | 61 #include <asm/byteorder.h>
|
| /linux/Documentation/translations/it_IT/kernel-hacking/ |
| H A D | hacking.rst | 395 Definite in ``include/asm/byteorder.h``
|
| /linux/tools/lib/bpf/ |
| H A D | libbpf.c | 734 unsigned char byteorder; member 1644 obj->byteorder = ehdr->e_ident[EI_DATA]; in bpf_object__elf_init() 1677 return obj->byteorder == ELFDATA2LSB; in is_native_endianness() 1679 return obj->byteorder == ELFDATA2MSB; in is_native_endianness()
|
| /linux/Documentation/networking/ |
| H A D | can.rst | 263 the CAN payload. There is no given byteorder on the CAN bus by
|
| /linux/ |
| H A D | CREDITS | 3446 D: petty kernel janitor (byteorder, ufs)
|