亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? crypto.h

?? arm_uclinux_tools用于安裝linux的編譯器
?? H
字號:
#ifndef _LINUX_CRYPTO_H_#define _LINUX_CRYPTO_H_/* * include/linux/crypto.h * * Written by Alexander Kjeldaas <astor@fast.no> 1998-10-13 * * Copyright 1998 by Alexander Kjeldaas. This code is licensed under * an X11-like license.  See LICENSE.crypto for details. * *//* * API version tag */#define CRYPTO_API_VERSION_CODE 0x000100#define CRYPTO_API_VERSION(major,minor,micro) \ (((major) << 16) + ((minor) << 8) + (micro))/* some id constants */#define TRANSFORM_DIGEST 0#define TRANSFORM_CIPHER 1#define MAX_TRANSFORM    2#define CIPHER_MODES       0xFFFF0000 /* used to mask the mode *\				       * part of the cipher id */#define CIPHER_MODE_ECB    0x00000000#define CIPHER_MODE_CBC    0x00010000#define CIPHER_MODE_CFB    0x00020000#define CIPHER_MODE_CTR    0x00040000#define CIPHER_MODE_RTC	   0x00080000	/* Allowed keysizes: This is just a set of commonly found values. If * you need additional ones, you can place them here. Note that * CIPHER_KEY_ANY really means _any_ key length (that is a multiple of * 8 bits, just limited by MAX_KEY_SIZE*32. This is not important now, * but might become so if we choose to support keylengths greater than * 256 bits. There are many ciphers that can take keys that are longer * (e.g. blowfish: 448 bits). If you want to say all key lengths up to * 256, play safe and use 0xFFFFFFFF-1 as keysize_mask. * CIPHER_KEYSIZE_NONE means that the cipher does not expect a key. It * is only used for 'none' encryption. */#define CIPHER_KEYSIZE_ANY  0xFFFFFFFF#define CIPHER_KEYSIZE_NONE 0x00000000#define CIPHER_KEYSIZE_40   0x00000010#define CIPHER_KEYSIZE_56   0x00000040#define CIPHER_KEYSIZE_64   0x00000080#define CIPHER_KEYSIZE_80   0x00000200#define CIPHER_KEYSIZE_96   0x00000800#define CIPHER_KEYSIZE_112  0x00002000#define CIPHER_KEYSIZE_128  0x00008000#define CIPHER_KEYSIZE_160  0x00080000#define CIPHER_KEYSIZE_168  0x00100000#define CIPHER_KEYSIZE_192  0x00800000#define CIPHER_KEYSIZE_256  0x80000000/* * ioctl's for cryptoloop.c  */#define CRYPTOLOOP_SET_DEBUG      0X4CFD#define CRYPTOLOOP_SET_BLKSIZE    0X4CFC#ifdef __KERNEL__#include <linux/version.h>#include <linux/list.h>#include <linux/kernel.h>#include <linux/proc_fs.h>#include <linux/spinlock.h>#include <asm/page.h>#include <asm/semaphore.h>#if LINUX_VERSION_CODE < KERNEL_VERSION(2,3,0)# ifndef __exit#  define __exit# endif#endif/* A transform group is a group of transforms that behave in a similar * fashion */struct transform_group {	int tg_id;	char *tg_name;  /* "cipher" or "digest" */	rwlock_t tg_lock;	struct list_head *tg_head;#ifdef CONFIG_PROC_FS	struct proc_dir_entry *tg_proc_parent_dir;	int (*read_proc)(char *page, char **start, off_t off,			 int count, int *eof, void *data);#endif};/* A transform is something that can be found by id or name. Ciphers   and digests are types of transforms. */struct transform_implementation {	struct list_head t_list;	int t_flags;	char *t_name;        int t_atomicapi;	struct transform_group *t_group;#ifdef CONFIG_PROC_FS	/* keep track of the allocated proc_dir_entry */	struct proc_dir_entry *t_proc;#endif};/* Cipher data structures */struct cipher_context;typedef int (*cipher_trans_proc)(struct cipher_context *cx, const u8 *in, u8 *out,				 int size);typedef int (*cipher_trans_proc_iv)(struct cipher_context *cx, const u8 *in, u8 *out,				 int size, const u8 *iv);struct cipher_implementation {	struct transform_implementation trans;	int blocksize;         /* in bytes */	int ivsize;            /* in bytes */	int key_schedule_size; /* in bytes. 0 if the schedule size is                                  variable. */	u32 key_size_mask;     /* bit 0 set = 8 bit, ... , 				* bit 31 set = 256 bit */	/*	 * Encrypt the plaintext pointed to by "in".  Write output to	 * "out". Size of plaintext is "size".  Output buffer must be	 * able to hold "size" bytes plus padding necessary to make it	 * a multiple of the cipher blocksize. size <= 0 is	 * undefined. Returns 0 on success, non-zero on	 * failure.          *         * encrypt        - Function might sleep. This function will          *                  always exist.	 * encrypt_atomic - Will never sleep + always SW implementation.           *                  This function will exist if atomicapi==1 was          *                  set in find_cipher_by_name where this          *                  cipher_implementation was returned.	 */	cipher_trans_proc encrypt;	cipher_trans_proc encrypt_atomic;	cipher_trans_proc_iv encrypt_iv;	cipher_trans_proc_iv encrypt_atomic_iv;	/*	 * Decrypt the ciphertext pointed to by "in".  Write output to	 * "out". Size of plaintext is "size".  Input buffer is "size"	 * bytes plus padding necessary to make it a multiple of the	 * cipher blocksize. size <= 0 is undefined. Returns 0 on	 * success, non-zero on failure. 	 *	 */	cipher_trans_proc decrypt;	cipher_trans_proc decrypt_atomic;	cipher_trans_proc_iv decrypt_iv;	cipher_trans_proc_iv decrypt_atomic_iv;	/*	 * 	 */	int (*set_key)(struct cipher_context *cx, 		       const u8 *key, int key_len);	int (*set_key_atomic)(struct cipher_context *cx,                               const u8 *key, int key_len);        /* The following functions are optional.  Most ciphers will         * not need to specify them, and a default implementation will         * be used.           */        /* Realloc a cipher_context that can hold the key schedule for         * a given key.  If no cipher_context is given, allocate a new         * cipher_context.           */        struct cipher_context *        (*realloc_context)(struct cipher_context *old_cx,                           struct cipher_implementation *ci,                           int max_key_len);        void (*wipe_context)(struct cipher_context *cx);        void (*free_context)(struct cipher_context *cx);	/* lock and unlock manage the module use counts */ 	void (*lock)(void);	void (*unlock)(void);        /* The following functions are used by software         * implementations that wish to provide a single function that         * implements atomic and non-atomic versions of encrypt,         * decrypt, and set_key. If these functions are set,         * register_cipher will provide generic implementations of         * encrypt*, decrypt*, and set_key*.  However these functions         * should not be called directly by users since they will only         * exist for software-based cipher implementations.  */        int (*_encrypt) (struct cipher_context *cx,                         const u8 *in, u8 *out, int size, int atomic, 			 const u8 *iv);	int (*_decrypt)(struct cipher_context *cx,                        const u8 *in, u8 *out, int size, int atomic, 			const u8 *iv);	int (*_set_key)(struct cipher_context *cx,                         const u8 *key, int key_len, int atomic);};#define MAX_IV_SIZE  32              /* 32 byte - 256 bit */struct cipher_context {	struct cipher_implementation *ci;        int may_sleep;      /* cipher implementation (sw) might sleep */        int keyinfo_size;   /* in bytes - usually equal to                             * ci->key_schedule_size. */	u32 *keyinfo;	int key_length;     /* in bytes */	u8 iv[MAX_IV_SIZE]; /* static IV */};/* Digest data structures */struct digest_context;struct digest_implementation {	struct transform_implementation trans;	int blocksize;           /* in bytes */	int working_size;        /* in bytes */	int (*open)(struct digest_context *cx);	int (*open_atomic)(struct digest_context *cx);	int (*update)(struct digest_context *cx, const u8 *in, int size);	int (*update_atomic)(struct digest_context *cx, const u8 *in, int size);	int (*digest)(struct digest_context *cx, u8 *out);	int (*digest_atomic)(struct digest_context *cx, u8 *out);	int (*close)(struct digest_context *cx, u8 *out);	int (*close_atomic)(struct digest_context *cx, u8 *out);	int (*hmac)(struct digest_context *cx, u8 *key, int key_len, u8 *in, int size, u8 *hmac);	int (*hmac_atomic)(struct digest_context *cx, u8 *key, int key_len, u8 *in, int size, u8 *hmac);        struct digest_context *(*realloc_context)(struct digest_context *old_cx, struct digest_implementation *ci);        void (*free_context)(struct digest_context *cx);	/* lock and unlock manage the module use counts */	void (*lock)(void);	void (*unlock)(void);	/* hook for software implemented digests */	int (*_open)(struct digest_context *cx, int atomic);	int (*_update)(struct digest_context *cx, const u8 *in, int size, int atomic);	int (*_digest)(struct digest_context *cx, u8 *out, int atomic);	int (*_close)(struct digest_context *cx, u8 *out, int atomic);	int (*_hmac)(struct digest_context *cx, u8 *key, int key_len, u8 *in, int size, u8 *hmac, int atomic);};struct digest_context {	struct digest_implementation *di;	u32 *digest_info;};struct transform_implementation *find_transform_by_name(const char *name, 							int tgroup,                                                         int atomicapi);static inline struct cipher_implementation *find_cipher_by_name(const char *name, int atomicapi){	return (struct cipher_implementation *)		find_transform_by_name(name, TRANSFORM_CIPHER, atomicapi);}	static inline struct digest_implementation *find_digest_by_name(const char *name, int atomicapi){	return (struct digest_implementation *)		find_transform_by_name(name, TRANSFORM_DIGEST, atomicapi);}int register_transform(struct transform_implementation *ti, int tgroup);int register_cipher(struct cipher_implementation *ci);int register_digest(struct digest_implementation *di);int unregister_transform(struct transform_implementation *ti);int unregister_cipher(struct cipher_implementation *ci);int unregister_digest(struct digest_implementation *ci); /* Utility macros */#define INIT_CIPHER_BLKOPS(name)		\        _encrypt: name##_encrypt,		\        _decrypt: name##_decrypt#define INIT_CIPHER_OPS(name)			\        _set_key: name##_set_key,		\        lock:    name##_lock,			\        unlock:  name##_unlock#define INIT_DIGEST_OPS(name)			\        _open:   name##_open,			\	_update: name##_update,			\	_digest: name##_digest,			\	_close:  name##_close,			\	_hmac:   name##_hmac,			\	lock:   name##_lock,			\	unlock: name##_unlock/* inline PKCS padding functions */static inline int pkcspad_inplace(u8 *buf,				  u32 buf_len, u32 payload_len) {	int i;	u8 P = (u8)((buf_len - payload_len) & 0xff);	for (i = payload_len; i < buf_len; i++) {		buf[i] = P;	}	return i;}static inline int pkcspad(u8 *out, const u8 *buf,			  u32 buf_len, u32 payload_len) {	int i;	u8 P = (u8)((buf_len - payload_len) & 0xff);	memcpy(out, buf, payload_len);	for (i = payload_len; i < buf_len; i++) {		out[i] = P;	}	return i;}#endif /* __KERNEL__ */#endif /* _LINUX_CRYPTO_H_ *//* eof */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美卡1卡2卡| 成人激情免费电影网址| 国产欧美在线观看一区| 欧美亚洲综合久久| 99国产精品视频免费观看| 国产美女视频91| 久草热8精品视频在线观看| 五月激情丁香一区二区三区| 亚洲美女一区二区三区| 国产精品国产三级国产aⅴ无密码| 国产精品久久久久久一区二区三区| 欧美一级片在线看| 欧美日韩国产欧美日美国产精品| 91亚洲精品乱码久久久久久蜜桃| 岛国av在线一区| 高清国产午夜精品久久久久久| 狠狠色狠狠色综合| 国产中文字幕精品| 久久电影国产免费久久电影| 美女脱光内衣内裤视频久久网站 | 欧美大肚乱孕交hd孕妇| 91精品国产丝袜白色高跟鞋| 91精品国产丝袜白色高跟鞋| 精品免费日韩av| www成人在线观看| 国产午夜精品一区二区三区嫩草 | 日韩欧美黄色影院| 日韩欧美激情一区| 国产日本亚洲高清| 综合久久久久久久| 亚洲一区在线视频观看| 五月天视频一区| 国产在线视频一区二区三区| 国产99久久久国产精品| 99精品1区2区| 欧美疯狂性受xxxxx喷水图片| 91精品麻豆日日躁夜夜躁| 日韩三级免费观看| 国产免费成人在线视频| 亚洲视频一区二区在线| 亚洲大片精品永久免费| 久久99热狠狠色一区二区| 国产成人精品影院| 色综合欧美在线视频区| 91精品久久久久久蜜臀| 国产精品午夜在线| 午夜精品免费在线| 精品一区在线看| 99精品视频在线观看免费| 欧美精品日韩综合在线| 26uuu亚洲综合色欧美| 国产精品欧美综合在线| 亚洲成人免费视频| 懂色av中文字幕一区二区三区| 在线视频欧美区| 欧美大片一区二区三区| 亚洲美女屁股眼交| 久久99精品久久久| 欧美日韩专区在线| 欧美激情一区二区三区四区| 天天av天天翘天天综合网色鬼国产| 精品在线免费观看| 欧美日韩精品高清| 国产精品福利一区| 久久国产精品区| 欧美日韩激情一区| 1000部国产精品成人观看| 激情综合色综合久久| 91高清视频免费看| 中文字幕欧美激情一区| 精品一区二区三区的国产在线播放| 91久久精品国产91性色tv| 国产网站一区二区三区| 麻豆国产91在线播放| 欧美日精品一区视频| 亚洲欧美偷拍三级| 成人精品国产一区二区4080| 日韩欧美亚洲一区二区| 亚洲成av人片一区二区| 91久久国产最好的精华液| 中文字幕精品三区| 国产jizzjizz一区二区| 91美女片黄在线观看| 一区视频在线播放| 日韩码欧中文字| 男人操女人的视频在线观看欧美 | 国内一区二区在线| 欧美精品日韩一本| 一区二区在线免费观看| 99久久夜色精品国产网站| 国产日韩成人精品| 国产精品1区2区| 久久影视一区二区| 国产精品亚洲成人| 欧美激情综合五月色丁香小说| 国产一区二区成人久久免费影院 | 日本va欧美va瓶| 欧美群妇大交群中文字幕| 亚洲电影一级黄| 欧美高清www午色夜在线视频| 午夜精品123| 3atv一区二区三区| 捆绑紧缚一区二区三区视频| 欧美不卡视频一区| 国产精品一二三四| 国产精品少妇自拍| 色综合久久中文字幕综合网 | 日韩高清中文字幕一区| 91精品国产乱| 国产精品一区专区| 国产精品你懂的| 色综合天天综合在线视频| 9i看片成人免费高清| 国产精品丝袜一区| 91网页版在线| 日韩精品亚洲专区| 日韩欧美的一区| 国产成人午夜电影网| 亚洲欧洲成人精品av97| 欧美这里有精品| 麻豆一区二区三区| 欧美激情在线一区二区三区| 色拍拍在线精品视频8848| 午夜精品久久久久影视| 久久综合久久综合九色| av电影在线观看不卡 | 国产日韩av一区二区| 色激情天天射综合网| 日本中文字幕不卡| 欧美国产欧美综合| 欧美性受xxxx黑人xyx性爽| 免费在线看成人av| 国产精品私人影院| 91精品国产综合久久国产大片| 精品制服美女久久| 一区二区三区中文字幕在线观看| 欧美v日韩v国产v| 色婷婷综合激情| 国产精品18久久久久| 亚洲国产你懂的| 国产精品久久久久久久岛一牛影视 | 午夜精品久久久久久| 久久影院午夜片一区| |精品福利一区二区三区| 国产91在线观看| 亚洲精品成人a在线观看| 精品久久久久久久久久久院品网| 成人黄色在线看| 久久se这里有精品| 亚洲图片欧美一区| 国产日韩av一区二区| 在线观看91av| 一本大道综合伊人精品热热 | 高清在线成人网| 日韩 欧美一区二区三区| 国产精品不卡一区| 日韩久久免费av| 精品理论电影在线观看| 91久久久免费一区二区| 成人性生交大片免费看中文网站| 日韩电影在线观看网站| 亚洲图片欧美色图| 亚洲欧洲成人精品av97| 久久久久国产精品人| 欧美大度的电影原声| 日韩一区二区在线观看| 欧美日产在线观看| av一区二区不卡| 国产成人综合自拍| 久久国产精品第一页| 美女高潮久久久| 日韩国产精品久久| 午夜精品国产更新| 婷婷六月综合网| 亚洲成av人片在线观看| 亚洲综合久久久| 亚洲一二三四在线观看| 亚洲精品成人少妇| 玉米视频成人免费看| 亚洲欧美国产高清| 亚洲摸摸操操av| 亚洲伦在线观看| 一区二区三区高清不卡| 亚洲精品中文字幕乱码三区| 亚洲视频狠狠干| 亚洲一区二区偷拍精品| 亚洲亚洲人成综合网络| 亚洲成人激情综合网| 石原莉奈在线亚洲三区| 乱中年女人伦av一区二区| 免费的国产精品| 国产自产v一区二区三区c| 欧美午夜精品免费| 欧美午夜精品久久久久久孕妇| 91精品婷婷国产综合久久竹菊| 欧美日韩亚洲综合一区二区三区| 色成年激情久久综合| 欧美日韩欧美一区二区| 91精品国产欧美一区二区| 欧美放荡的少妇|