!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache/2.4.18 (Ubuntu). PHP/7.0.33-0ubuntu0.16.04.16 

uname -a: Linux digifus 3.13.0-57-generic #95-Ubuntu SMP Fri Jun 19 09:28:15 UTC 2015 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/usr/src/linux-headers-4.4.0-210/include/crypto/   drwxr-xr-x
Free 9.49 GB of 29.4 GB (32.28%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     mcryptd.h (2.33 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/*
 * Software async multibuffer crypto daemon headers
 *
 *    Author:
 *             Tim Chen <tim.c.chen@linux.intel.com>
 *
 *    Copyright (c) 2014, Intel Corporation.
 */

#ifndef _CRYPTO_MCRYPT_H
#define _CRYPTO_MCRYPT_H

#include <linux/crypto.h>
#include <linux/kernel.h>
#include <crypto/hash.h>

struct mcryptd_ahash {
    struct crypto_ahash base;
};

static inline struct mcryptd_ahash *__mcryptd_ahash_cast(
    struct crypto_ahash *tfm)
{
    return (struct mcryptd_ahash *)tfm;
}

struct mcryptd_cpu_queue {
    struct crypto_queue queue;
    spinlock_t q_lock;
    struct work_struct work;
};

struct mcryptd_queue {
    struct mcryptd_cpu_queue __percpu *cpu_queue;
};

struct mcryptd_instance_ctx {
    struct crypto_spawn spawn;
    struct mcryptd_queue *queue;
};

struct mcryptd_hash_ctx {
    struct crypto_shash *child;
    struct mcryptd_alg_state *alg_state;
};

struct mcryptd_tag {
    /* seq number of request */
    unsigned seq_num;
    /* arrival time of request */
    unsigned long arrival;
    unsigned long expire;
    int    cpu;
};

struct mcryptd_hash_request_ctx {
    struct list_head waiter;
    crypto_completion_t complete;
    struct mcryptd_tag tag;
    struct crypto_hash_walk walk;
    u8 *out;
    int flag;
    struct shash_desc desc;
};

struct mcryptd_ahash *mcryptd_alloc_ahash(const char *alg_name,
                    u32 type, u32 mask);
struct crypto_shash *mcryptd_ahash_child(struct mcryptd_ahash *tfm);
struct shash_desc *mcryptd_shash_desc(struct ahash_request *req);
void mcryptd_free_ahash(struct mcryptd_ahash *tfm);
void mcryptd_flusher(struct work_struct *work);

enum mcryptd_req_type {
    MCRYPTD_NONE,
    MCRYPTD_UPDATE,
    MCRYPTD_FINUP,
    MCRYPTD_DIGEST,
    MCRYPTD_FINAL
};

struct mcryptd_alg_cstate {
    unsigned long next_flush;
    unsigned next_seq_num;
    bool    flusher_engaged;
    struct  delayed_work flush;
    int    cpu;
    struct  mcryptd_alg_state *alg_state;
    void    *mgr;
    spinlock_t work_lock;
    struct list_head work_list;
    struct list_head flush_list;
};

struct mcryptd_alg_state {
    struct mcryptd_alg_cstate __percpu *alg_cstate;
    unsigned long (*flusher)(struct mcryptd_alg_cstate *cstate);
};

/* return delay in jiffies from current time */
static inline unsigned long get_delay(unsigned long t)
{
    long delay;

    delay = (long) t - (long) jiffies;
    if (delay <= 0)
        return 0;
    else
        return (unsigned long) delay;
}

void mcryptd_arm_flusher(struct mcryptd_alg_cstate *cstate, unsigned long delay);

#endif

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0049 ]--