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
/* * ECDH params to be used with kpp API * * 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_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 /** * struct ecdh - define an ECDH private key * * @curve_id: ECC curve the key is based on. * @key: Private ECDH key * @key_size: Size of the private ECDH key */ struct ecdh { unsigned short curve_id; 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 */ 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