Home
last modified time | relevance | path

Searched defs:tfm (Results 1 – 10 of 10) sorted by relevance

/linux-2.4.37.9/crypto/
Dcipher.c47 static int crypt(struct crypto_tfm *tfm, in crypt()
98 static void cbc_process(struct crypto_tfm *tfm, u8 *dst, u8 *src, in cbc_process()
123 static void ecb_process(struct crypto_tfm *tfm, u8 *dst, u8 *src, in ecb_process()
129 static int setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int keylen) in setkey()
141 static int ecb_encrypt(struct crypto_tfm *tfm, in ecb_encrypt()
150 static int ecb_encrypt_iv(struct crypto_tfm *tfm, in ecb_encrypt_iv()
159 static int ecb_decrypt(struct crypto_tfm *tfm, in ecb_decrypt()
169 static int ecb_decrypt_iv(struct crypto_tfm *tfm, in ecb_decrypt_iv()
178 static int cbc_encrypt(struct crypto_tfm *tfm, in cbc_encrypt()
188 static int cbc_encrypt_iv(struct crypto_tfm *tfm, in cbc_encrypt_iv()
[all …]
Ddigest.c21 static void init(struct crypto_tfm *tfm) in init()
26 static void update(struct crypto_tfm *tfm, in update()
55 static void final(struct crypto_tfm *tfm, u8 *out) in final()
60 static int setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int keylen) in setkey()
69 static void digest(struct crypto_tfm *tfm, in digest()
86 int crypto_init_digest_flags(struct crypto_tfm *tfm, u32 flags) in crypto_init_digest_flags()
91 int crypto_init_digest_ops(struct crypto_tfm *tfm) in crypto_init_digest_ops()
104 void crypto_exit_digest_ops(struct crypto_tfm *tfm) in crypto_exit_digest_ops()
Dhmac.c24 static void hash_key(struct crypto_tfm *tfm, u8 *key, unsigned int keylen) in hash_key()
35 int crypto_alloc_hmac_block(struct crypto_tfm *tfm) in crypto_alloc_hmac_block()
50 void crypto_free_hmac_block(struct crypto_tfm *tfm) in crypto_free_hmac_block()
56 void crypto_hmac_init(struct crypto_tfm *tfm, u8 *key, unsigned int *keylen) in crypto_hmac_init()
81 void crypto_hmac_update(struct crypto_tfm *tfm, in crypto_hmac_update()
87 void crypto_hmac_final(struct crypto_tfm *tfm, u8 *key, in crypto_hmac_final()
122 void crypto_hmac(struct crypto_tfm *tfm, u8 *key, unsigned int *keylen, in crypto_hmac()
Dcompress.c21 static int crypto_compress(struct crypto_tfm *tfm, in crypto_compress()
30 static int crypto_decompress(struct crypto_tfm *tfm, in crypto_decompress()
39 int crypto_init_compress_flags(struct crypto_tfm *tfm, u32 flags) in crypto_init_compress_flags()
44 int crypto_init_compress_ops(struct crypto_tfm *tfm) in crypto_init_compress_ops()
60 void crypto_exit_compress_ops(struct crypto_tfm *tfm) in crypto_exit_compress_ops()
Dinternal.h39 static inline void crypto_yield(struct crypto_tfm *tfm) in crypto_yield()
45 static inline void *crypto_tfm_ctx(struct crypto_tfm *tfm) in crypto_tfm_ctx()
66 static inline int crypto_alloc_hmac_block(struct crypto_tfm *tfm) in crypto_alloc_hmac_block()
71 static inline void crypto_free_hmac_block(struct crypto_tfm *tfm) in crypto_free_hmac_block()
Dapi.c58 static int crypto_init_flags(struct crypto_tfm *tfm, u32 flags) in crypto_init_flags()
80 static int crypto_init_ops(struct crypto_tfm *tfm) in crypto_init_ops()
100 static void crypto_exit_ops(struct crypto_tfm *tfm) in crypto_exit_ops()
123 struct crypto_tfm *tfm = NULL; in crypto_alloc_tfm() local
157 void crypto_free_tfm(struct crypto_tfm *tfm) in crypto_free_tfm()
Dtcrypt.c86 struct crypto_tfm *tfm; in test_hash() local
178 struct crypto_tfm *tfm; in test_hmac() local
265 struct crypto_tfm *tfm; in test_cipher() local
426 struct crypto_tfm *tfm; in test_deflate() local
/linux-2.4.37.9/include/linux/
Dcrypto.h215 static inline const char *crypto_tfm_alg_name(struct crypto_tfm *tfm) in crypto_tfm_alg_name()
220 static inline const char *crypto_tfm_alg_modname(struct crypto_tfm *tfm) in crypto_tfm_alg_modname()
230 static inline u32 crypto_tfm_alg_type(struct crypto_tfm *tfm) in crypto_tfm_alg_type()
235 static inline unsigned int crypto_tfm_alg_min_keysize(struct crypto_tfm *tfm) in crypto_tfm_alg_min_keysize()
241 static inline unsigned int crypto_tfm_alg_max_keysize(struct crypto_tfm *tfm) in crypto_tfm_alg_max_keysize()
247 static inline unsigned int crypto_tfm_alg_ivsize(struct crypto_tfm *tfm) in crypto_tfm_alg_ivsize()
253 static inline unsigned int crypto_tfm_alg_blocksize(struct crypto_tfm *tfm) in crypto_tfm_alg_blocksize()
258 static inline unsigned int crypto_tfm_alg_digestsize(struct crypto_tfm *tfm) in crypto_tfm_alg_digestsize()
267 static inline void crypto_digest_init(struct crypto_tfm *tfm) in crypto_digest_init()
273 static inline void crypto_digest_update(struct crypto_tfm *tfm, in crypto_digest_update()
[all …]
/linux-2.4.37.9/net/sctp/
Dsocket.c3986 struct crypto_tfm *tfm=NULL; in sctp_inet_listen() local
/linux-2.4.37.9/drivers/net/wireless/
Dairo.c1072 struct crypto_tfm *tfm; member
1432 void emmh32_setseed(emmh32_context *context, u8 *pkey, int keylen, struct crypto_tfm *tfm) in emmh32_setseed()