Home
last modified time | relevance | path

Searched refs:pkeys (Results 1 – 11 of 11) sorted by relevance

/external/rust/crates/libz-sys/src/zlib/contrib/minizip/
Dcrypt.h35 static int decrypt_byte(unsigned long* pkeys, const z_crc_t* pcrc_32_tab) in decrypt_byte() argument
41 temp = ((unsigned)(*(pkeys+2)) & 0xffff) | 2; in decrypt_byte()
48 static int update_keys(unsigned long* pkeys,const z_crc_t* pcrc_32_tab,int c) in update_keys() argument
50 (*(pkeys+0)) = CRC32((*(pkeys+0)), c); in update_keys()
51 (*(pkeys+1)) += (*(pkeys+0)) & 0xff; in update_keys()
52 (*(pkeys+1)) = (*(pkeys+1)) * 134775813L + 1; in update_keys()
54 register int keyshift = (int)((*(pkeys+1)) >> 24); in update_keys()
55 (*(pkeys+2)) = CRC32((*(pkeys+2)), keyshift); in update_keys()
65 static void init_keys(const char* passwd,unsigned long* pkeys,const z_crc_t* pcrc_32_tab) in init_keys() argument
67 *(pkeys+0) = 305419896L; in init_keys()
[all …]
/external/zlib/contrib/minizip/
Dcrypt.h35 static int decrypt_byte(unsigned long* pkeys, const z_crc_t* pcrc_32_tab) in decrypt_byte() argument
41 temp = ((unsigned)(*(pkeys+2)) & 0xffff) | 2; in decrypt_byte()
48 static int update_keys(unsigned long* pkeys,const z_crc_t* pcrc_32_tab,int c) in update_keys() argument
50 (*(pkeys+0)) = CRC32((*(pkeys+0)), c); in update_keys()
51 (*(pkeys+1)) += (*(pkeys+0)) & 0xff; in update_keys()
52 (*(pkeys+1)) = (*(pkeys+1)) * 134775813L + 1; in update_keys()
54 register int keyshift = (int)((*(pkeys+1)) >> 24); in update_keys()
55 (*(pkeys+2)) = CRC32((*(pkeys+2)), keyshift); in update_keys()
65 static void init_keys(const char* passwd,unsigned long* pkeys,const z_crc_t* pcrc_32_tab) in init_keys() argument
67 *(pkeys+0) = 305419896L; in init_keys()
[all …]
/external/strace/tests-mx32/
Dpkey_mprotect.c80 static const kernel_ulong_t pkeys[] = { in main() local
96 for (l = 0; l < ARRAY_SIZE(pkeys); l++) { in main()
99 prots[k].val, pkeys[l]); in main()
104 prots[k].str, (int) pkeys[l], in main()
/external/strace/tests/
Dpkey_mprotect.c80 static const kernel_ulong_t pkeys[] = { in main() local
96 for (l = 0; l < ARRAY_SIZE(pkeys); l++) { in main()
99 prots[k].val, pkeys[l]); in main()
104 prots[k].str, (int) pkeys[l], in main()
/external/strace/tests-m32/
Dpkey_mprotect.c80 static const kernel_ulong_t pkeys[] = { in main() local
96 for (l = 0; l < ARRAY_SIZE(pkeys); l++) { in main()
99 prots[k].val, pkeys[l]); in main()
104 prots[k].str, (int) pkeys[l], in main()
/external/strace/
DAndroid.bp142 "pkeys.c",
DMakefile.in355 perf_event_struct.h perf_ioctl.c personality.c pkeys.c poll.c \
452 strace-pkeys.$(OBJEXT) strace-poll.$(OBJEXT) \
1381 perf_ioctl.c personality.c pkeys.c poll.c prctl.c \
2411 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strace-pkeys.Po@am__quote@
5480 strace-pkeys.o: pkeys.c
5481 …(CFLAGS) -MT strace-pkeys.o -MD -MP -MF $(DEPDIR)/strace-pkeys.Tpo -c -o strace-pkeys.o `test -f '…
5482 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/strace-pkeys.Tpo $(DEPDIR)/strace-pkeys.Po
5485 …CPPFLAGS) $(strace_CFLAGS) $(CFLAGS) -c -o strace-pkeys.o `test -f 'pkeys.c' || echo '$(srcdir)/'`
5487 strace-pkeys.obj: pkeys.c
5488 …AGS) $(strace_CFLAGS) $(CFLAGS) -MT strace-pkeys.obj -MD -MP -MF $(DEPDIR)/strace-pkeys.Tpo -c -o …
[all …]
DMakefile.am242 pkeys.c \
DChangeLog20788 * pkeys.c (SYS_FUNC(pkey_alloc)): Likewise.
22036 * pkeys.c (SYS_FUNC(pkey_alloc)): Likewise.
23654 * pkeys.c: New file containing implementation of pkey_alloc and
/external/selinux/python/semanage/
Dseobject.py1351 pkeys = pkey.split("-")
1352 if len(pkeys) == 1:
1353 high = low = int(pkeys[0], 0)
1355 low = int(pkeys[0], 0)
1356 high = int(pkeys[1], 0)
/external/ltp/
Dgen.bp10191 srcs: ["testcases/kernel/syscalls/pkeys/pkey01.c"],