Linux jobworks 6.8.0-136-generic #136-Ubuntu SMP PREEMPT_DYNAMIC Wed Jul 1 21:53:05 UTC 2026 x86_64
Apache/2.4.58 (Ubuntu)
Server IP : 10.0.1.5 & Your IP : 216.73.217.52
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-6.8.0-124 /
include /
crypto /
Delete
Unzip
Name
Size
Permission
Date
Action
internal
[ DIR ]
drwxr-xr-x
2026-06-04 06:36
acompress.h
9.26
KB
-rw-r--r--
2024-03-10 20:38
aead.h
19.47
KB
-rw-r--r--
2024-03-10 20:38
aes.h
2.5
KB
-rw-r--r--
2024-03-10 20:38
akcipher.h
15.21
KB
-rw-r--r--
2024-03-10 20:38
algapi.h
7.65
KB
-rw-r--r--
2024-03-10 20:38
arc4.h
484
B
-rw-r--r--
2024-03-10 20:38
aria.h
16.71
KB
-rw-r--r--
2024-03-10 20:38
authenc.h
635
B
-rw-r--r--
2024-03-10 20:38
b128ops.h
2.26
KB
-rw-r--r--
2024-03-10 20:38
blake2b.h
1.57
KB
-rw-r--r--
2024-03-10 20:38
blake2s.h
2.62
KB
-rw-r--r--
2024-03-10 20:38
blowfish.h
415
B
-rw-r--r--
2024-03-10 20:38
cast5.h
590
B
-rw-r--r--
2024-03-10 20:38
cast6.h
607
B
-rw-r--r--
2024-03-10 20:38
cast_common.h
232
B
-rw-r--r--
2024-03-10 20:38
chacha.h
3.32
KB
-rw-r--r--
2024-03-10 20:38
chacha20poly1305.h
1.66
KB
-rw-r--r--
2024-03-10 20:38
cryptd.h
2
KB
-rw-r--r--
2024-03-10 20:38
ctr.h
1.42
KB
-rw-r--r--
2024-03-10 20:38
curve25519.h
2.02
KB
-rw-r--r--
2024-03-10 20:38
des.h
1.68
KB
-rw-r--r--
2024-03-10 20:38
dh.h
3.03
KB
-rw-r--r--
2024-03-10 20:38
drbg.h
9.02
KB
-rw-r--r--
2024-03-10 20:38
ecc_curve.h
1.31
KB
-rw-r--r--
2024-03-10 20:38
ecdh.h
2.43
KB
-rw-r--r--
2024-03-10 20:38
engine.h
3.72
KB
-rw-r--r--
2024-03-10 20:38
gcm.h
1.48
KB
-rw-r--r--
2024-03-10 20:38
gf128mul.h
9.42
KB
-rw-r--r--
2024-03-10 20:38
ghash.h
388
B
-rw-r--r--
2024-03-10 20:38
hash.h
33.47
KB
-rw-r--r--
2026-05-26 09:55
hash_info.h
1023
B
-rw-r--r--
2024-03-10 20:38
hmac.h
173
B
-rw-r--r--
2024-03-10 20:38
if_alg.h
6.5
KB
-rw-r--r--
2026-05-26 09:55
kdf_sp800108.h
2.07
KB
-rw-r--r--
2024-03-10 20:38
kpp.h
10.9
KB
-rw-r--r--
2024-03-10 20:38
md5.h
497
B
-rw-r--r--
2024-03-10 20:38
nhpoly1305.h
2.18
KB
-rw-r--r--
2024-03-10 20:38
null.h
346
B
-rw-r--r--
2024-03-10 20:38
padlock.h
438
B
-rw-r--r--
2024-03-10 20:38
pcrypt.h
821
B
-rw-r--r--
2024-03-10 20:38
pkcs7.h
1.15
KB
-rw-r--r--
2024-03-10 20:38
poly1305.h
2.44
KB
-rw-r--r--
2024-03-10 20:38
polyval.h
445
B
-rw-r--r--
2024-03-10 20:38
public_key.h
3.59
KB
-rw-r--r--
2024-03-10 20:38
rng.h
7.72
KB
-rw-r--r--
2024-03-10 20:38
scatterwalk.h
3.69
KB
-rw-r--r--
2026-05-26 09:55
serpent.h
696
B
-rw-r--r--
2024-03-10 20:38
sha1.h
1.18
KB
-rw-r--r--
2024-03-10 20:38
sha1_base.h
2.45
KB
-rw-r--r--
2024-03-10 20:38
sha2.h
3.75
KB
-rw-r--r--
2024-03-10 20:38
sha256_base.h
3.12
KB
-rw-r--r--
2026-05-26 09:55
sha3.h
879
B
-rw-r--r--
2024-03-10 20:38
sha512_base.h
3.18
KB
-rw-r--r--
2024-03-10 20:38
sig.h
4.1
KB
-rw-r--r--
2024-03-10 20:38
skcipher.h
33.05
KB
-rw-r--r--
2024-03-10 20:38
sm2.h
745
B
-rw-r--r--
2024-03-10 20:38
sm3.h
1.6
KB
-rw-r--r--
2024-03-10 20:38
sm3_base.h
2.55
KB
-rw-r--r--
2024-03-10 20:38
sm4.h
1.22
KB
-rw-r--r--
2024-03-10 20:38
streebog.h
949
B
-rw-r--r--
2024-03-10 20:38
twofish.h
743
B
-rw-r--r--
2024-03-10 20:38
utils.h
1.89
KB
-rw-r--r--
2024-03-10 20:38
xts.h
978
B
-rw-r--r--
2024-03-10 20:38
Save
Rename
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * RNG: Random Number Generator algorithms under the crypto API * * Copyright (c) 2008 Neil Horman <nhorman@tuxdriver.com> * Copyright (c) 2015 Herbert Xu <herbert@gondor.apana.org.au> */ #ifndef _CRYPTO_RNG_H #define _CRYPTO_RNG_H #include <linux/atomic.h> #include <linux/container_of.h> #include <linux/crypto.h> struct crypto_rng; /* * struct crypto_istat_rng: statistics for RNG algorithm * @generate_cnt: number of RNG generate requests * @generate_tlen: total data size of generated data by the RNG * @seed_cnt: number of times the RNG was seeded * @err_cnt: number of error for RNG requests */ struct crypto_istat_rng { atomic64_t generate_cnt; atomic64_t generate_tlen; atomic64_t seed_cnt; atomic64_t err_cnt; }; /** * struct rng_alg - random number generator definition * * @generate: The function defined by this variable obtains a * random number. The random number generator transform * must generate the random number out of the context * provided with this call, plus any additional data * if provided to the call. * @seed: Seed or reseed the random number generator. With the * invocation of this function call, the random number * generator shall become ready for generation. If the * random number generator requires a seed for setting * up a new state, the seed must be provided by the * consumer while invoking this function. The required * size of the seed is defined with @seedsize . * @set_ent: Set entropy that would otherwise be obtained from * entropy source. Internal use only. * @stat: Statistics for rng algorithm * @seedsize: The seed size required for a random number generator * initialization defined with this variable. Some * random number generators does not require a seed * as the seeding is implemented internally without * the need of support by the consumer. In this case, * the seed size is set to zero. * @base: Common crypto API algorithm data structure. */ struct rng_alg { int (*generate)(struct crypto_rng *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int dlen); int (*seed)(struct crypto_rng *tfm, const u8 *seed, unsigned int slen); void (*set_ent)(struct crypto_rng *tfm, const u8 *data, unsigned int len); #ifdef CONFIG_CRYPTO_STATS struct crypto_istat_rng stat; #endif unsigned int seedsize; struct crypto_alg base; }; struct crypto_rng { struct crypto_tfm base; }; extern struct crypto_rng *crypto_default_rng; int crypto_get_default_rng(void); void crypto_put_default_rng(void); /** * DOC: Random number generator API * * The random number generator API is used with the ciphers of type * CRYPTO_ALG_TYPE_RNG (listed as type "rng" in /proc/crypto) */ /** * crypto_alloc_rng() -- allocate RNG handle * @alg_name: is the cra_name / name or cra_driver_name / driver name of the * message digest cipher * @type: specifies the type of the cipher * @mask: specifies the mask for the cipher * * Allocate a cipher handle for a random number generator. The returned struct * crypto_rng is the cipher handle that is required for any subsequent * API invocation for that random number generator. * * For all random number generators, this call creates a new private copy of * the random number generator that does not share a state with other * instances. The only exception is the "krng" random number generator which * is a kernel crypto API use case for the get_random_bytes() function of the * /dev/random driver. * * Return: allocated cipher handle in case of success; IS_ERR() is true in case * of an error, PTR_ERR() returns the error code. */ struct crypto_rng *crypto_alloc_rng(const char *alg_name, u32 type, u32 mask); static inline struct crypto_tfm *crypto_rng_tfm(struct crypto_rng *tfm) { return &tfm->base; } static inline struct rng_alg *__crypto_rng_alg(struct crypto_alg *alg) { return container_of(alg, struct rng_alg, base); } /** * crypto_rng_alg - obtain name of RNG * @tfm: cipher handle * * Return the generic name (cra_name) of the initialized random number generator * * Return: generic name string */ static inline struct rng_alg *crypto_rng_alg(struct crypto_rng *tfm) { return __crypto_rng_alg(crypto_rng_tfm(tfm)->__crt_alg); } /** * crypto_free_rng() - zeroize and free RNG handle * @tfm: cipher handle to be freed * * If @tfm is a NULL or error pointer, this function does nothing. */ static inline void crypto_free_rng(struct crypto_rng *tfm) { crypto_destroy_tfm(tfm, crypto_rng_tfm(tfm)); } static inline struct crypto_istat_rng *rng_get_stat(struct rng_alg *alg) { #ifdef CONFIG_CRYPTO_STATS return &alg->stat; #else return NULL; #endif } static inline int crypto_rng_errstat(struct rng_alg *alg, int err) { if (!IS_ENABLED(CONFIG_CRYPTO_STATS)) return err; if (err && err != -EINPROGRESS && err != -EBUSY) atomic64_inc(&rng_get_stat(alg)->err_cnt); return err; } /** * crypto_rng_generate() - get random number * @tfm: cipher handle * @src: Input buffer holding additional data, may be NULL * @slen: Length of additional data * @dst: output buffer holding the random numbers * @dlen: length of the output buffer * * This function fills the caller-allocated buffer with random * numbers using the random number generator referenced by the * cipher handle. * * Return: 0 function was successful; < 0 if an error occurred */ static inline int crypto_rng_generate(struct crypto_rng *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int dlen) { struct rng_alg *alg = crypto_rng_alg(tfm); if (IS_ENABLED(CONFIG_CRYPTO_STATS)) { struct crypto_istat_rng *istat = rng_get_stat(alg); atomic64_inc(&istat->generate_cnt); atomic64_add(dlen, &istat->generate_tlen); } return crypto_rng_errstat(alg, alg->generate(tfm, src, slen, dst, dlen)); } /** * crypto_rng_get_bytes() - get random number * @tfm: cipher handle * @rdata: output buffer holding the random numbers * @dlen: length of the output buffer * * This function fills the caller-allocated buffer with random numbers using the * random number generator referenced by the cipher handle. * * Return: 0 function was successful; < 0 if an error occurred */ static inline int crypto_rng_get_bytes(struct crypto_rng *tfm, u8 *rdata, unsigned int dlen) { return crypto_rng_generate(tfm, NULL, 0, rdata, dlen); } /** * crypto_rng_reset() - re-initialize the RNG * @tfm: cipher handle * @seed: seed input data * @slen: length of the seed input data * * The reset function completely re-initializes the random number generator * referenced by the cipher handle by clearing the current state. The new state * is initialized with the caller provided seed or automatically, depending * on the random number generator type (the ANSI X9.31 RNG requires * caller-provided seed, the SP800-90A DRBGs perform an automatic seeding). * The seed is provided as a parameter to this function call. The provided seed * should have the length of the seed size defined for the random number * generator as defined by crypto_rng_seedsize. * * Return: 0 if the setting of the key was successful; < 0 if an error occurred */ int crypto_rng_reset(struct crypto_rng *tfm, const u8 *seed, unsigned int slen); /** * crypto_rng_seedsize() - obtain seed size of RNG * @tfm: cipher handle * * The function returns the seed size for the random number generator * referenced by the cipher handle. This value may be zero if the random * number generator does not implement or require a reseeding. For example, * the SP800-90A DRBGs implement an automated reseeding after reaching a * pre-defined threshold. * * Return: seed size for the random number generator */ static inline int crypto_rng_seedsize(struct crypto_rng *tfm) { return crypto_rng_alg(tfm)->seedsize; } #endif