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-185 /
include /
crypto /
Delete
Unzip
Name
Size
Permission
Date
Action
internal
[ DIR ]
drwxr-xr-x
2026-06-27 06:50
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-20 00:54
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-20 00:54
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-20 00:54
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-20 00:54
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-20 00:54
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-20 00:54
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 */ /* * Diffie-Hellman secret to be used with kpp API along with helper functions * * Copyright (c) 2016, Intel Corporation * Authors: Salvatore Benedetto <salvatore.benedetto@intel.com> */ #ifndef _CRYPTO_DH_ #define _CRYPTO_DH_ /** * DOC: DH Helper Functions * * To use DH with the KPP cipher API, the following data structure and * functions should be used. * * To use DH with KPP, the following functions should be used to operate on * a DH private key. The packet private key that can be set with * the KPP API function call of crypto_kpp_set_secret. */ /** * struct dh - define a DH private key * * @key: Private DH key * @p: Diffie-Hellman parameter P * @q: Diffie-Hellman parameter Q * @g: Diffie-Hellman generator G * @key_size: Size of the private DH key * @p_size: Size of DH parameter P * @q_size: Size of DH parameter Q * @g_size: Size of DH generator G */ struct dh { void *key; void *p; void *q; void *g; unsigned int key_size; unsigned int p_size; unsigned int q_size; unsigned int g_size; }; /** * crypto_dh_key_len() - Obtain the size of the private DH key * @params: private DH key * * This function returns the packet DH key size. A caller can use that * with the provided DH private key reference to obtain the required * memory size to hold a packet key. * * Return: size of the key in bytes */ unsigned int crypto_dh_key_len(const struct dh *params); /** * crypto_dh_encode_key() - encode the private key * @buf: Buffer allocated by the caller to hold the packet DH * private key. The buffer should be at least crypto_dh_key_len * bytes in size. * @len: Length of the packet private key buffer * @params: Buffer with the caller-specified private key * * The DH implementations operate on a packet representation of the private * key. * * Return: -EINVAL if buffer has insufficient size, 0 on success */ int crypto_dh_encode_key(char *buf, unsigned int len, const struct dh *params); /** * crypto_dh_decode_key() - decode a private key * @buf: Buffer holding a packet key that should be decoded * @len: Length of the packet private key buffer * @params: Buffer allocated by the caller that is filled with the * unpacked DH private key. * * The unpacking obtains the private key by pointing @p to the correct location * in @buf. Thus, both pointers refer to the same memory. * * Return: -EINVAL if buffer has insufficient size, 0 on success */ int crypto_dh_decode_key(const char *buf, unsigned int len, struct dh *params); #endif