Home
last modified time | relevance | path

Searched refs:byteorder (Results 1 – 15 of 15) sorted by relevance

/linux/scripts/crypto/
H A Dgen-hash-testvecs.py54 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 Dbyteorder.rs999 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 Dmacros.rs1259 byteorder::native_endian::{U16, U32},
H A Dlib.rs349 pub mod byteorder; module
397 byteorder::*,
/linux/include/uapi/linux/
H A Daio_abi.h84 #error edit for your odd byteorder.
/linux/include/uapi/asm-generic/
H A DKbuild9 mandatory-y += byteorder.h
/linux/tools/testing/selftests/drivers/net/lib/py/
H A Denv.py586 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 Dhacking.rst316 定义于 ``include/asm/byteorder.h``
/linux/tools/testing/selftests/tpm2/
H A Dtpm2.py745 pcrSelect = int.from_bytes(pcrSelect, byteorder='big')
/linux/fs/befs/
H A DChangeLog283 native byteorder works 100%.
/linux/Documentation/dev-tools/
H A Dcheckuapi.rst61 #include <asm/byteorder.h>
/linux/Documentation/translations/it_IT/kernel-hacking/
H A Dhacking.rst395 Definite in ``include/asm/byteorder.h``
/linux/tools/lib/bpf/
H A Dlibbpf.c734 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 Dcan.rst263 the CAN payload. There is no given byteorder on the CAN bus by
/linux/
H A DCREDITS3446 D: petty kernel janitor (byteorder, ufs)