Linux cpanel.rrshost.in 5.15.0-25-generic #25-Ubuntu SMP Wed Mar 30 15:54:22 UTC 2022 x86_64
Apache
: 109.123.238.221 | : 172.70.80.147
128 Domain
8.2.28
aev999
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
src /
linux-headers-5.15.0-25 /
include /
crypto /
[ HOME SHELL ]
Name
Size
Permission
Action
internal
[ DIR ]
drwxr-xr-x
acompress.h
8.86
KB
-rw-r--r--
aead.h
18.39
KB
-rw-r--r--
aes.h
2.5
KB
-rw-r--r--
akcipher.h
12.92
KB
-rw-r--r--
algapi.h
7.15
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--
blake2b.h
1.6
KB
-rw-r--r--
blake2s.h
2.72
KB
-rw-r--r--
blowfish.h
415
B
-rw-r--r--
cast5.h
590
B
-rw-r--r--
cast6.h
607
B
-rw-r--r--
cast_common.h
232
B
-rw-r--r--
chacha.h
3.13
KB
-rw-r--r--
chacha20poly1305.h
1.66
KB
-rw-r--r--
cryptd.h
2
KB
-rw-r--r--
ctr.h
1.42
KB
-rw-r--r--
curve25519.h
2.02
KB
-rw-r--r--
des.h
1.68
KB
-rw-r--r--
dh.h
2.51
KB
-rw-r--r--
drbg.h
8.95
KB
-rw-r--r--
ecc_curve.h
1.31
KB
-rw-r--r--
ecdh.h
2.43
KB
-rw-r--r--
engine.h
4.11
KB
-rw-r--r--
gcm.h
867
B
-rw-r--r--
gf128mul.h
9.42
KB
-rw-r--r--
ghash.h
388
B
-rw-r--r--
hash.h
34.04
KB
-rw-r--r--
hash_info.h
998
B
-rw-r--r--
hmac.h
173
B
-rw-r--r--
if_alg.h
6.58
KB
-rw-r--r--
kpp.h
9.91
KB
-rw-r--r--
md5.h
497
B
-rw-r--r--
nhpoly1305.h
2.18
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
2.44
KB
-rw-r--r--
public_key.h
2.38
KB
-rw-r--r--
rng.h
6.59
KB
-rw-r--r--
scatterwalk.h
2.94
KB
-rw-r--r--
serpent.h
696
B
-rw-r--r--
sha1.h
1.18
KB
-rw-r--r--
sha1_base.h
2.45
KB
-rw-r--r--
sha2.h
3.76
KB
-rw-r--r--
sha256_base.h
2.56
KB
-rw-r--r--
sha3.h
879
B
-rw-r--r--
sha512_base.h
3.18
KB
-rw-r--r--
skcipher.h
19.95
KB
-rw-r--r--
sm2.h
749
B
-rw-r--r--
sm3.h
897
B
-rw-r--r--
sm3_base.h
2.55
KB
-rw-r--r--
sm4.h
1.12
KB
-rw-r--r--
streebog.h
949
B
-rw-r--r--
twofish.h
743
B
-rw-r--r--
xts.h
1.1
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : nhpoly1305.h
/* SPDX-License-Identifier: GPL-2.0 */ /* * Common values and helper functions for the NHPoly1305 hash function. */ #ifndef _NHPOLY1305_H #define _NHPOLY1305_H #include <crypto/hash.h> #include <crypto/internal/poly1305.h> /* NH parameterization: */ /* Endianness: little */ /* Word size: 32 bits (works well on NEON, SSE2, AVX2) */ /* Stride: 2 words (optimal on ARM32 NEON; works okay on other CPUs too) */ #define NH_PAIR_STRIDE 2 #define NH_MESSAGE_UNIT (NH_PAIR_STRIDE * 2 * sizeof(u32)) /* Num passes (Toeplitz iteration count): 4, to give ε = 2^{-128} */ #define NH_NUM_PASSES 4 #define NH_HASH_BYTES (NH_NUM_PASSES * sizeof(u64)) /* Max message size: 1024 bytes (32x compression factor) */ #define NH_NUM_STRIDES 64 #define NH_MESSAGE_WORDS (NH_PAIR_STRIDE * 2 * NH_NUM_STRIDES) #define NH_MESSAGE_BYTES (NH_MESSAGE_WORDS * sizeof(u32)) #define NH_KEY_WORDS (NH_MESSAGE_WORDS + \ NH_PAIR_STRIDE * 2 * (NH_NUM_PASSES - 1)) #define NH_KEY_BYTES (NH_KEY_WORDS * sizeof(u32)) #define NHPOLY1305_KEY_SIZE (POLY1305_BLOCK_SIZE + NH_KEY_BYTES) struct nhpoly1305_key { struct poly1305_core_key poly_key; u32 nh_key[NH_KEY_WORDS]; }; struct nhpoly1305_state { /* Running total of polynomial evaluation */ struct poly1305_state poly_state; /* Partial block buffer */ u8 buffer[NH_MESSAGE_UNIT]; unsigned int buflen; /* * Number of bytes remaining until the current NH message reaches * NH_MESSAGE_BYTES. When nonzero, 'nh_hash' holds the partial NH hash. */ unsigned int nh_remaining; __le64 nh_hash[NH_NUM_PASSES]; }; typedef void (*nh_t)(const u32 *key, const u8 *message, size_t message_len, __le64 hash[NH_NUM_PASSES]); int crypto_nhpoly1305_setkey(struct crypto_shash *tfm, const u8 *key, unsigned int keylen); int crypto_nhpoly1305_init(struct shash_desc *desc); int crypto_nhpoly1305_update(struct shash_desc *desc, const u8 *src, unsigned int srclen); int crypto_nhpoly1305_update_helper(struct shash_desc *desc, const u8 *src, unsigned int srclen, nh_t nh_fn); int crypto_nhpoly1305_final(struct shash_desc *desc, u8 *dst); int crypto_nhpoly1305_final_helper(struct shash_desc *desc, u8 *dst, nh_t nh_fn); #endif /* _NHPOLY1305_H */
Close