Linux anchor 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64
Apache/2.4.18 (Ubuntu)
Server IP : 10.10.100.4 & Your IP : 216.73.217.150
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-4.4.0-210 /
include /
crypto /
Delete
Unzip
Name
Size
Permission
Date
Action
internal
[ DIR ]
drwxr-xr-x
2021-04-21 07:33
ablk_helper.h
734
B
-rw-r--r--
2016-01-11 00:01
aead.h
18.71
KB
-rw-r--r--
2016-01-11 00:01
aes.h
1019
B
-rw-r--r--
2016-01-11 00:01
akcipher.h
11.52
KB
-rw-r--r--
2016-01-11 00:01
algapi.h
10.31
KB
-rw-r--r--
2016-01-11 00:01
authenc.h
845
B
-rw-r--r--
2016-01-11 00:01
b128ops.h
2.41
KB
-rw-r--r--
2016-01-11 00:01
blowfish.h
376
B
-rw-r--r--
2016-01-11 00:01
cast5.h
551
B
-rw-r--r--
2016-01-11 00:01
cast6.h
597
B
-rw-r--r--
2016-01-11 00:01
cast_common.h
193
B
-rw-r--r--
2016-01-11 00:01
chacha20.h
595
B
-rw-r--r--
2016-01-11 00:01
compress.h
4.03
KB
-rw-r--r--
2016-01-11 00:01
cryptd.h
1.84
KB
-rw-r--r--
2016-01-11 00:01
crypto_wq.h
122
B
-rw-r--r--
2016-01-11 00:01
ctr.h
524
B
-rw-r--r--
2016-01-11 00:01
des.h
503
B
-rw-r--r--
2016-01-11 00:01
dh.h
2.61
KB
-rw-r--r--
2021-04-16 11:57
drbg.h
8.57
KB
-rw-r--r--
2016-01-11 00:01
ecdh.h
2.66
KB
-rw-r--r--
2021-04-16 11:57
gf128mul.h
8.04
KB
-rw-r--r--
2016-01-11 00:01
ghash.h
342
B
-rw-r--r--
2021-04-16 11:57
hash.h
29.56
KB
-rw-r--r--
2021-04-16 11:57
hash_info.h
1.13
KB
-rw-r--r--
2021-04-16 11:57
if_alg.h
2.46
KB
-rw-r--r--
2021-04-16 11:57
kpp.h
9.22
KB
-rw-r--r--
2021-04-16 11:57
lrw.h
1.18
KB
-rw-r--r--
2016-01-11 00:01
mcryptd.h
2.33
KB
-rw-r--r--
2021-04-16 11:57
md5.h
401
B
-rw-r--r--
2016-01-11 00:01
null.h
303
B
-rw-r--r--
2016-01-11 00:01
padlock.h
649
B
-rw-r--r--
2016-01-11 00:01
pcrypt.h
1.4
KB
-rw-r--r--
2016-01-11 00:01
pkcs7.h
1.2
KB
-rw-r--r--
2016-01-11 00:01
poly1305.h
881
B
-rw-r--r--
2021-04-16 11:57
public_key.h
2.79
KB
-rw-r--r--
2021-04-16 11:57
rng.h
6.59
KB
-rw-r--r--
2016-01-11 00:01
scatterwalk.h
2.91
KB
-rw-r--r--
2016-01-11 00:01
serpent.h
673
B
-rw-r--r--
2016-01-11 00:01
sha.h
2.66
KB
-rw-r--r--
2016-01-11 00:01
sha1_base.h
2.47
KB
-rw-r--r--
2016-01-11 00:01
sha256_base.h
3.03
KB
-rw-r--r--
2016-01-11 00:01
sha512_base.h
3.19
KB
-rw-r--r--
2016-01-11 00:01
skcipher.h
15.63
KB
-rw-r--r--
2021-04-16 11:57
twofish.h
716
B
-rw-r--r--
2016-01-11 00:01
xts.h
1.19
KB
-rw-r--r--
2021-04-16 11:57
Save
Rename
/* * 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> * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the Free * Software Foundation; either version 2 of the License, or (at your option) * any later version. * */ #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 * @g: Diffie-Hellman generator G * @key_size: Size of the private DH key * @p_size: Size of DH parameter P * @g_size: Size of DH generator G */ struct dh { void *key; void *p; void *g; unsigned int key_size; unsigned int p_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 */ 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