Linux vmi284606.contaboserver.net 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Apache/2.4.57 (Ubuntu)
: 167.86.127.34 | : 216.73.217.31
Cant Read [ /etc/named.conf ]
7.2.24-0ubuntu0.18.04.17
root
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
src /
linux-headers-4.15.0-64 /
include /
crypto /
[ HOME SHELL ]
Name
Size
Permission
Action
internal
[ DIR ]
drwxr-xr-x
ablk_helper.h
773
B
-rw-r--r--
acompress.h
7.83
KB
-rw-r--r--
aead.h
18.03
KB
-rw-r--r--
aes.h
1.03
KB
-rw-r--r--
akcipher.h
11.63
KB
-rw-r--r--
algapi.h
11.12
KB
-rw-r--r--
authenc.h
845
B
-rw-r--r--
b128ops.h
2.41
KB
-rw-r--r--
blowfish.h
415
B
-rw-r--r--
cast5.h
590
B
-rw-r--r--
cast6.h
636
B
-rw-r--r--
cast_common.h
232
B
-rw-r--r--
cbc.h
3.48
KB
-rw-r--r--
chacha20.h
640
B
-rw-r--r--
cryptd.h
2.5
KB
-rw-r--r--
crypto_wq.h
161
B
-rw-r--r--
ctr.h
524
B
-rw-r--r--
des.h
542
B
-rw-r--r--
dh.h
2.62
KB
-rw-r--r--
drbg.h
8.96
KB
-rw-r--r--
ecdh.h
2.67
KB
-rw-r--r--
engine.h
4
KB
-rw-r--r--
gcm.h
140
B
-rw-r--r--
gf128mul.h
9.41
KB
-rw-r--r--
ghash.h
381
B
-rw-r--r--
hash.h
31.34
KB
-rw-r--r--
hash_info.h
1.13
KB
-rw-r--r--
hmac.h
173
B
-rw-r--r--
if_alg.h
7.01
KB
-rw-r--r--
kpp.h
9.62
KB
-rw-r--r--
lrw.h
1.22
KB
-rw-r--r--
mcryptd.h
2.37
KB
-rw-r--r--
md5.h
497
B
-rw-r--r--
null.h
569
B
-rw-r--r--
padlock.h
649
B
-rw-r--r--
pcrypt.h
1.4
KB
-rw-r--r--
pkcs7.h
1.21
KB
-rw-r--r--
poly1305.h
920
B
-rw-r--r--
public_key.h
2.08
KB
-rw-r--r--
rng.h
6.59
KB
-rw-r--r--
scatterwalk.h
3.67
KB
-rw-r--r--
serpent.h
712
B
-rw-r--r--
sha.h
2.88
KB
-rw-r--r--
sha1_base.h
2.47
KB
-rw-r--r--
sha256_base.h
3.03
KB
-rw-r--r--
sha3.h
704
B
-rw-r--r--
sha512_base.h
3.19
KB
-rw-r--r--
skcipher.h
20.63
KB
-rw-r--r--
sm3.h
833
B
-rw-r--r--
sm3_base.h
2.95
KB
-rw-r--r--
twofish.h
755
B
-rw-r--r--
xts.h
1.81
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : engine.h
/* * Crypto engine API * * Copyright (c) 2016 Baolin Wang <baolin.wang@linaro.org> * * 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_ENGINE_H #define _CRYPTO_ENGINE_H #include <linux/crypto.h> #include <linux/list.h> #include <linux/kernel.h> #include <linux/kthread.h> #include <crypto/algapi.h> #include <crypto/hash.h> #define ENGINE_NAME_LEN 30 /* * struct crypto_engine - crypto hardware engine * @name: the engine name * @idling: the engine is entering idle state * @busy: request pump is busy * @running: the engine is on working * @cur_req_prepared: current request is prepared * @list: link with the global crypto engine list * @queue_lock: spinlock to syncronise access to request queue * @queue: the crypto queue of the engine * @rt: whether this queue is set to run as a realtime task * @prepare_crypt_hardware: a request will soon arrive from the queue * so the subsystem requests the driver to prepare the hardware * by issuing this call * @unprepare_crypt_hardware: there are currently no more requests on the * queue so the subsystem notifies the driver that it may relax the * hardware by issuing this call * @prepare_cipher_request: do some prepare if need before handle the current request * @unprepare_cipher_request: undo any work done by prepare_cipher_request() * @cipher_one_request: do encryption for current request * @prepare_hash_request: do some prepare if need before handle the current request * @unprepare_hash_request: undo any work done by prepare_hash_request() * @hash_one_request: do hash for current request * @kworker: kthread worker struct for request pump * @pump_requests: work struct for scheduling work to the request pump * @priv_data: the engine private data * @cur_req: the current request which is on processing */ struct crypto_engine { char name[ENGINE_NAME_LEN]; bool idling; bool busy; bool running; bool cur_req_prepared; struct list_head list; spinlock_t queue_lock; struct crypto_queue queue; struct device *dev; bool rt; int (*prepare_crypt_hardware)(struct crypto_engine *engine); int (*unprepare_crypt_hardware)(struct crypto_engine *engine); int (*prepare_cipher_request)(struct crypto_engine *engine, struct ablkcipher_request *req); int (*unprepare_cipher_request)(struct crypto_engine *engine, struct ablkcipher_request *req); int (*prepare_hash_request)(struct crypto_engine *engine, struct ahash_request *req); int (*unprepare_hash_request)(struct crypto_engine *engine, struct ahash_request *req); int (*cipher_one_request)(struct crypto_engine *engine, struct ablkcipher_request *req); int (*hash_one_request)(struct crypto_engine *engine, struct ahash_request *req); struct kthread_worker *kworker; struct kthread_work pump_requests; void *priv_data; struct crypto_async_request *cur_req; }; int crypto_transfer_cipher_request(struct crypto_engine *engine, struct ablkcipher_request *req, bool need_pump); int crypto_transfer_cipher_request_to_engine(struct crypto_engine *engine, struct ablkcipher_request *req); int crypto_transfer_hash_request(struct crypto_engine *engine, struct ahash_request *req, bool need_pump); int crypto_transfer_hash_request_to_engine(struct crypto_engine *engine, struct ahash_request *req); void crypto_finalize_cipher_request(struct crypto_engine *engine, struct ablkcipher_request *req, int err); void crypto_finalize_hash_request(struct crypto_engine *engine, struct ahash_request *req, int err); int crypto_engine_start(struct crypto_engine *engine); int crypto_engine_stop(struct crypto_engine *engine); struct crypto_engine *crypto_engine_alloc_init(struct device *dev, bool rt); int crypto_engine_exit(struct crypto_engine *engine); #endif /* _CRYPTO_ENGINE_H */
Close