/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/crypto/ |
H A D | cipher.c | 23 static int setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int keylen) argument 25 struct cipher_alg *cia = &tfm->__crt_alg->cra_cipher; 27 tfm->crt_flags &= ~CRYPTO_TFM_RES_MASK; 29 tfm->crt_flags |= CRYPTO_TFM_RES_BAD_KEY_LEN; 32 return cia->cia_setkey(tfm, key, keylen); 37 struct crypto_tfm *tfm, 40 unsigned long alignmask = crypto_tfm_alg_alignmask(tfm); 41 unsigned int size = crypto_tfm_alg_blocksize(tfm); 46 fn(tfm, tmp, tmp); 50 static void cipher_encrypt_unaligned(struct crypto_tfm *tfm, argument 35 cipher_crypt_unaligned(void (*fn)(struct crypto_tfm *, u8 *, const u8 *), struct crypto_tfm *tfm, u8 *dst, const u8 *src) argument 64 cipher_decrypt_unaligned(struct crypto_tfm *tfm, u8 *dst, const u8 *src) argument 78 crypto_init_cipher_ops(struct crypto_tfm *tfm) argument 92 crypto_exit_cipher_ops(struct crypto_tfm *tfm) argument [all...] |
H A D | compress.c | 21 static int crypto_compress(struct crypto_tfm *tfm, argument 25 return tfm->__crt_alg->cra_compress.coa_compress(tfm, src, slen, dst, 29 static int crypto_decompress(struct crypto_tfm *tfm, argument 33 return tfm->__crt_alg->cra_compress.coa_decompress(tfm, src, slen, dst, 37 int crypto_init_compress_ops(struct crypto_tfm *tfm) argument 39 struct compress_tfm *ops = &tfm->crt_compress; 47 void crypto_exit_compress_ops(struct crypto_tfm *tfm) argument
|
H A D | digest.c | 28 struct crypto_tfm *tfm = crypto_hash_tfm(desc->tfm); local 30 tfm->__crt_alg->cra_digest.dia_init(tfm); 37 struct crypto_tfm *tfm = crypto_hash_tfm(desc->tfm); local 38 unsigned int alignmask = crypto_tfm_alg_alignmask(tfm); 63 tfm->__crt_alg->cra_digest.dia_update(tfm, p, 69 tfm 96 struct crypto_tfm *tfm = crypto_hash_tfm(desc->tfm); local 114 nosetkey(struct crypto_hash *tfm, const u8 *key, unsigned int keylen) argument 122 struct crypto_tfm *tfm = crypto_hash_tfm(hash); local 139 crypto_init_digest_ops(struct crypto_tfm *tfm) argument 157 crypto_exit_digest_ops(struct crypto_tfm *tfm) argument [all...] |
H A D | crc32c.c | 34 static void chksum_init(struct crypto_tfm *tfm) argument 36 struct chksum_ctx *mctx = crypto_tfm_ctx(tfm); 46 static int chksum_setkey(struct crypto_tfm *tfm, const u8 *key, argument 49 struct chksum_ctx *mctx = crypto_tfm_ctx(tfm); 52 tfm->crt_flags |= CRYPTO_TFM_RES_BAD_KEY_LEN; 59 static void chksum_update(struct crypto_tfm *tfm, const u8 *data, argument 62 struct chksum_ctx *mctx = crypto_tfm_ctx(tfm); 67 static void chksum_final(struct crypto_tfm *tfm, u8 *out) argument 69 struct chksum_ctx *mctx = crypto_tfm_ctx(tfm); 74 static int crc32c_cra_init(struct crypto_tfm *tfm) argument [all...] |
H A D | api.c | 217 static int crypto_init_ops(struct crypto_tfm *tfm, u32 type, u32 mask) argument 219 const struct crypto_type *type_obj = tfm->__crt_alg->cra_type; 222 return type_obj->init(tfm, type, mask); 224 switch (crypto_tfm_alg_type(tfm)) { 226 return crypto_init_cipher_ops(tfm); 229 return crypto_init_digest_ops(tfm); 232 return crypto_init_compress_ops(tfm); 242 static void crypto_exit_ops(struct crypto_tfm *tfm) argument 244 const struct crypto_type *type = tfm->__crt_alg->cra_type; 248 type->exit(tfm); 311 struct crypto_tfm *tfm = NULL; local 366 struct crypto_tfm *tfm; local 405 crypto_free_tfm(struct crypto_tfm *tfm) argument [all...] |
H A D | ablkcipher.c | 22 static int setkey(struct crypto_ablkcipher *tfm, const u8 *key, argument 25 struct ablkcipher_alg *cipher = crypto_ablkcipher_alg(tfm); 28 crypto_ablkcipher_set_flags(tfm, CRYPTO_TFM_RES_BAD_KEY_LEN); 32 return cipher->setkey(tfm, key, keylen); 41 static int crypto_init_ablkcipher_ops(struct crypto_tfm *tfm, u32 type, argument 44 struct ablkcipher_alg *alg = &tfm->__crt_alg->cra_ablkcipher; 45 struct ablkcipher_tfm *crt = &tfm->crt_ablkcipher;
|
H A D | blkcipher.c | 69 static inline unsigned int blkcipher_done_slow(struct crypto_blkcipher *tfm, argument 74 unsigned int alignmask = crypto_blkcipher_alignmask(tfm); 106 struct crypto_blkcipher *tfm = desc->tfm; local 110 unsigned int bsize = crypto_blkcipher_blocksize(tfm); 116 n = blkcipher_done_slow(tfm, walk, bsize); 134 memcpy(desc->info, walk->iv, crypto_blkcipher_ivsize(tfm)); 222 struct crypto_blkcipher *tfm = desc->tfm; local 223 unsigned int alignmask = crypto_blkcipher_alignmask(tfm); 272 blkcipher_copy_iv(struct blkcipher_walk *walk, struct crypto_blkcipher *tfm, unsigned int alignmask) argument 314 struct crypto_blkcipher *tfm = desc->tfm; local 339 setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int keylen) argument 352 async_setkey(struct crypto_ablkcipher *tfm, const u8 *key, unsigned int keylen) argument 360 struct crypto_tfm *tfm = req->base.tfm; local 374 struct crypto_tfm *tfm = req->base.tfm; local 401 crypto_init_blkcipher_ops_async(struct crypto_tfm *tfm) argument 414 crypto_init_blkcipher_ops_sync(struct crypto_tfm *tfm) argument 433 crypto_init_blkcipher_ops(struct crypto_tfm *tfm, u32 type, u32 mask) argument [all...] |
H A D | sha1.c | 37 static void sha1_init(struct crypto_tfm *tfm) argument 39 struct sha1_ctx *sctx = crypto_tfm_ctx(tfm); 49 static void sha1_update(struct crypto_tfm *tfm, const u8 *data, argument 52 struct sha1_ctx *sctx = crypto_tfm_ctx(tfm); 84 static void sha1_final(struct crypto_tfm *tfm, u8 *out) argument 86 struct sha1_ctx *sctx = crypto_tfm_ctx(tfm); 97 sha1_update(tfm, padding, padlen); 100 sha1_update(tfm, (const u8 *)&bits, sizeof(bits));
|
H A D | cbc.c | 44 struct crypto_cipher *tfm, 49 crypto_cipher_alg(tfm)->cia_encrypt; 50 int bsize = crypto_cipher_blocksize(tfm); 58 fn(crypto_cipher_tfm(tfm), dst, iv); 70 struct crypto_cipher *tfm, 75 crypto_cipher_alg(tfm)->cia_encrypt; 76 int bsize = crypto_cipher_blocksize(tfm); 83 fn(crypto_cipher_tfm(tfm), src, src); 99 struct crypto_blkcipher *tfm = desc->tfm; local 42 crypto_cbc_encrypt_segment(struct blkcipher_desc *desc, struct blkcipher_walk *walk, struct crypto_cipher *tfm, void (*xor)(u8 *, const u8 *, unsigned int)) argument 68 crypto_cbc_encrypt_inplace(struct blkcipher_desc *desc, struct blkcipher_walk *walk, struct crypto_cipher *tfm, void (*xor)(u8 *, const u8 *, unsigned int)) argument 121 crypto_cbc_decrypt_segment(struct blkcipher_desc *desc, struct blkcipher_walk *walk, struct crypto_cipher *tfm, void (*xor)(u8 *, const u8 *, unsigned int)) argument 149 crypto_cbc_decrypt_inplace(struct blkcipher_desc *desc, struct blkcipher_walk *walk, struct crypto_cipher *tfm, void (*xor)(u8 *, const u8 *, unsigned int)) argument 188 struct crypto_blkcipher *tfm = desc->tfm; local 241 crypto_cbc_init_tfm(struct crypto_tfm *tfm) argument 272 crypto_cbc_exit_tfm(struct crypto_tfm *tfm) argument [all...] |
H A D | pcbc.c | 48 struct crypto_cipher *tfm, 53 crypto_cipher_alg(tfm)->cia_encrypt; 54 int bsize = crypto_cipher_blocksize(tfm); 62 fn(crypto_cipher_tfm(tfm), dst, iv); 75 struct crypto_cipher *tfm, 80 crypto_cipher_alg(tfm)->cia_encrypt; 81 int bsize = crypto_cipher_blocksize(tfm); 90 fn(crypto_cipher_tfm(tfm), src, iv); 107 struct crypto_blkcipher *tfm = desc->tfm; local 46 crypto_pcbc_encrypt_segment(struct blkcipher_desc *desc, struct blkcipher_walk *walk, struct crypto_cipher *tfm, void (*xor)(u8 *, const u8 *, unsigned int)) argument 73 crypto_pcbc_encrypt_inplace(struct blkcipher_desc *desc, struct blkcipher_walk *walk, struct crypto_cipher *tfm, void (*xor)(u8 *, const u8 *, unsigned int)) argument 129 crypto_pcbc_decrypt_segment(struct blkcipher_desc *desc, struct blkcipher_walk *walk, struct crypto_cipher *tfm, void (*xor)(u8 *, const u8 *, unsigned int)) argument 158 crypto_pcbc_decrypt_inplace(struct blkcipher_desc *desc, struct blkcipher_walk *walk, struct crypto_cipher *tfm, void (*xor)(u8 *, const u8 *, unsigned int)) argument 192 struct crypto_blkcipher *tfm = desc->tfm; local 245 crypto_pcbc_init_tfm(struct crypto_tfm *tfm) argument 276 crypto_pcbc_exit_tfm(struct crypto_tfm *tfm) argument [all...] |
H A D | hash.c | 25 static int crypto_init_hash_ops(struct crypto_tfm *tfm, u32 type, u32 mask) argument 27 struct hash_tfm *crt = &tfm->crt_hash; 28 struct hash_alg *alg = &tfm->__crt_alg->cra_hash; 30 if (alg->digestsize > crypto_tfm_alg_blocksize(tfm))
|
H A D | hmac.c | 37 static inline struct hmac_ctx *hmac_ctx(struct crypto_hash *tfm) argument 39 return align_ptr(crypto_hash_ctx_aligned(tfm) + 40 crypto_hash_blocksize(tfm) * 2 + 41 crypto_hash_digestsize(tfm), sizeof(void *)); 53 struct crypto_hash *tfm = ctx->child; local 61 desc.tfm = tfm; 88 struct crypto_hash *parent = pdesc->tfm; 97 desc.tfm = ctx->child; 111 struct hmac_ctx *ctx = hmac_ctx(pdesc->tfm); 173 hmac_init_tfm(struct crypto_tfm *tfm) argument 188 hmac_exit_tfm(struct crypto_tfm *tfm) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/crypto/ |
H A D | padlock-sha.c | 42 static inline struct padlock_sha_ctx *ctx(struct crypto_tfm *tfm) argument 44 return crypto_tfm_ctx(tfm); 53 static void padlock_sha_bypass(struct crypto_tfm *tfm) argument 55 if (ctx(tfm)->bypass) 58 crypto_hash_init(&ctx(tfm)->fallback); 59 if (ctx(tfm)->data && ctx(tfm)->used) { 62 sg_set_buf(&sg, ctx(tfm)->data, ctx(tfm)->used); 63 crypto_hash_update(&ctx(tfm) 70 padlock_sha_init(struct crypto_tfm *tfm) argument 76 padlock_sha_update(struct crypto_tfm *tfm, const uint8_t *data, unsigned int length) argument 147 padlock_sha_final(struct crypto_tfm *tfm, uint8_t *out) argument 161 padlock_cra_init(struct crypto_tfm *tfm) argument 187 padlock_sha1_cra_init(struct crypto_tfm *tfm) argument 194 padlock_sha256_cra_init(struct crypto_tfm *tfm) argument 201 padlock_cra_exit(struct crypto_tfm *tfm) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/ |
H A D | crypto.h | 106 struct crypto_tfm *tfm; member in struct:crypto_async_request 125 struct crypto_blkcipher *tfm; member in struct:blkcipher_desc 131 struct crypto_tfm *tfm; member in struct:cipher_desc 132 void (*crfn)(struct crypto_tfm *tfm, u8 *dst, const u8 *src); 139 struct crypto_hash *tfm; member in struct:hash_desc 148 int (*setkey)(struct crypto_ablkcipher *tfm, const u8 *key, 161 int (*setkey)(struct crypto_tfm *tfm, const u8 *key, 178 int (*cia_setkey)(struct crypto_tfm *tfm, const u8 *key, 180 void (*cia_encrypt)(struct crypto_tfm *tfm, u8 *dst, const u8 *src); 181 void (*cia_decrypt)(struct crypto_tfm *tfm, u 417 crypto_tfm_alg_name(struct crypto_tfm *tfm) argument 422 crypto_tfm_alg_driver_name(struct crypto_tfm *tfm) argument 427 crypto_tfm_alg_priority(struct crypto_tfm *tfm) argument 432 crypto_tfm_alg_modname(struct crypto_tfm *tfm) argument 437 crypto_tfm_alg_type(struct crypto_tfm *tfm) argument 442 crypto_tfm_alg_blocksize(struct crypto_tfm *tfm) argument 447 crypto_tfm_alg_alignmask(struct crypto_tfm *tfm) argument 452 crypto_tfm_get_flags(struct crypto_tfm *tfm) argument 457 crypto_tfm_set_flags(struct crypto_tfm *tfm, u32 flags) argument 462 crypto_tfm_clear_flags(struct crypto_tfm *tfm, u32 flags) argument 467 crypto_tfm_ctx(struct crypto_tfm *tfm) argument 474 struct crypto_tfm *tfm; local 481 __crypto_ablkcipher_cast( struct crypto_tfm *tfm) argument 498 crypto_ablkcipher_tfm( struct crypto_ablkcipher *tfm) argument 504 crypto_free_ablkcipher(struct crypto_ablkcipher *tfm) argument 519 crypto_ablkcipher_crt( struct crypto_ablkcipher *tfm) argument 525 crypto_ablkcipher_ivsize( struct crypto_ablkcipher *tfm) argument 531 crypto_ablkcipher_blocksize( struct crypto_ablkcipher *tfm) argument 537 crypto_ablkcipher_alignmask( struct crypto_ablkcipher *tfm) argument 543 crypto_ablkcipher_get_flags(struct crypto_ablkcipher *tfm) argument 548 crypto_ablkcipher_set_flags(struct crypto_ablkcipher *tfm, u32 flags) argument 554 crypto_ablkcipher_clear_flags(struct crypto_ablkcipher *tfm, u32 flags) argument 560 crypto_ablkcipher_setkey(struct crypto_ablkcipher *tfm, const u8 *key, unsigned int keylen) argument 586 crypto_ablkcipher_reqsize(struct crypto_ablkcipher *tfm) argument 591 ablkcipher_request_set_tfm( struct ablkcipher_request *req, struct crypto_ablkcipher *tfm) argument 603 ablkcipher_request_alloc( struct crypto_ablkcipher *tfm, gfp_t gfp) argument 642 __crypto_blkcipher_cast( struct crypto_tfm *tfm) argument 648 crypto_blkcipher_cast( struct crypto_tfm *tfm) argument 665 crypto_blkcipher_tfm( struct crypto_blkcipher *tfm) argument 671 crypto_free_blkcipher(struct crypto_blkcipher *tfm) argument 685 crypto_blkcipher_name(struct crypto_blkcipher *tfm) argument 690 crypto_blkcipher_crt( struct crypto_blkcipher *tfm) argument 696 crypto_blkcipher_alg( struct crypto_blkcipher *tfm) argument 702 crypto_blkcipher_ivsize(struct crypto_blkcipher *tfm) argument 707 crypto_blkcipher_blocksize( struct crypto_blkcipher *tfm) argument 713 crypto_blkcipher_alignmask( struct crypto_blkcipher *tfm) argument 719 crypto_blkcipher_get_flags(struct crypto_blkcipher *tfm) argument 724 crypto_blkcipher_set_flags(struct crypto_blkcipher *tfm, u32 flags) argument 730 crypto_blkcipher_clear_flags(struct crypto_blkcipher *tfm, u32 flags) argument 736 crypto_blkcipher_setkey(struct crypto_blkcipher *tfm, const u8 *key, unsigned int keylen) argument 777 crypto_blkcipher_set_iv(struct crypto_blkcipher *tfm, const u8 *src, unsigned int len) argument 783 crypto_blkcipher_get_iv(struct crypto_blkcipher *tfm, u8 *dst, unsigned int len) argument 789 __crypto_cipher_cast(struct crypto_tfm *tfm) argument 794 crypto_cipher_cast(struct crypto_tfm *tfm) argument 810 crypto_cipher_tfm(struct crypto_cipher *tfm) argument 815 crypto_free_cipher(struct crypto_cipher *tfm) argument 829 crypto_cipher_crt(struct crypto_cipher *tfm) argument 834 crypto_cipher_blocksize(struct crypto_cipher *tfm) argument 839 crypto_cipher_alignmask(struct crypto_cipher *tfm) argument 844 crypto_cipher_get_flags(struct crypto_cipher *tfm) argument 849 crypto_cipher_set_flags(struct crypto_cipher *tfm, u32 flags) argument 855 crypto_cipher_clear_flags(struct crypto_cipher *tfm, u32 flags) argument 861 crypto_cipher_setkey(struct crypto_cipher *tfm, const u8 *key, unsigned int keylen) argument 868 crypto_cipher_encrypt_one(struct crypto_cipher *tfm, u8 *dst, const u8 *src) argument 875 crypto_cipher_decrypt_one(struct crypto_cipher *tfm, u8 *dst, const u8 *src) argument 882 __crypto_hash_cast(struct crypto_tfm *tfm) argument 887 crypto_hash_cast(struct crypto_tfm *tfm) argument 904 crypto_hash_tfm(struct crypto_hash *tfm) argument 909 crypto_free_hash(struct crypto_hash *tfm) argument 923 crypto_hash_crt(struct crypto_hash *tfm) argument 928 crypto_hash_blocksize(struct crypto_hash *tfm) argument 933 crypto_hash_alignmask(struct crypto_hash *tfm) argument 938 crypto_hash_digestsize(struct crypto_hash *tfm) argument 943 crypto_hash_get_flags(struct crypto_hash *tfm) argument 948 crypto_hash_set_flags(struct crypto_hash *tfm, u32 flags) argument 953 crypto_hash_clear_flags(struct crypto_hash *tfm, u32 flags) argument 988 __crypto_comp_cast(struct crypto_tfm *tfm) argument 993 crypto_comp_cast(struct crypto_tfm *tfm) argument 1010 crypto_comp_tfm(struct crypto_comp *tfm) argument 1015 crypto_free_comp(struct crypto_comp *tfm) argument 1029 crypto_comp_name(struct crypto_comp *tfm) argument 1034 crypto_comp_crt(struct crypto_comp *tfm) argument 1039 crypto_comp_compress(struct crypto_comp *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen) argument 1047 crypto_comp_decompress(struct crypto_comp *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/mac80211/ |
H A D | aes_ccm.c | 20 static void ieee80211_aes_encrypt(struct crypto_cipher *tfm, argument 23 crypto_cipher_encrypt_one(tfm, ct, pt); 27 static inline void aes_ccm_prepare(struct crypto_cipher *tfm, u8 *b_0, u8 *aad, argument 32 ieee80211_aes_encrypt(tfm, b_0, b); 37 ieee80211_aes_encrypt(tfm, aad, b); 43 ieee80211_aes_encrypt(tfm, aad, a); 51 ieee80211_aes_encrypt(tfm, b_0, s_0); 55 void ieee80211_aes_ccm_encrypt(struct crypto_cipher *tfm, u8 *scratch, argument 68 aes_ccm_prepare(tfm, b_0, aad, b, s_0, b); 80 ieee80211_aes_encrypt(tfm, 94 ieee80211_aes_ccm_decrypt(struct crypto_cipher *tfm, u8 *scratch, u8 *b_0, u8 *aad, u8 *cdata, size_t data_len, u8 *mic, u8 *data) argument 139 struct crypto_cipher *tfm; local 151 ieee80211_aes_key_free(struct crypto_cipher *tfm) argument [all...] |
H A D | aes_ccm.h | 18 void ieee80211_aes_ccm_encrypt(struct crypto_cipher *tfm, u8 *scratch, 21 int ieee80211_aes_ccm_decrypt(struct crypto_cipher *tfm, u8 *scratch, 24 void ieee80211_aes_key_free(struct crypto_cipher *tfm);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/crypto/ |
H A D | twofish.h | 20 int twofish_setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int key_len);
|
H A D | algapi.h | 25 int (*init)(struct crypto_tfm *tfm, u32 type, u32 mask); 26 void (*exit)(struct crypto_tfm *tfm); 122 int crypto_tfm_in_queue(struct crypto_queue *queue, struct crypto_tfm *tfm); 131 static inline void *crypto_tfm_ctx_aligned(struct crypto_tfm *tfm) argument 133 unsigned long addr = (unsigned long)crypto_tfm_ctx(tfm); 134 unsigned long align = crypto_tfm_alg_alignmask(tfm); 142 struct crypto_tfm *tfm) 144 return container_of(tfm->__crt_alg, struct crypto_instance, alg); 153 struct crypto_ablkcipher *tfm) 155 return &crypto_ablkcipher_tfm(tfm) 141 crypto_tfm_alg_instance( struct crypto_tfm *tfm) argument 152 crypto_ablkcipher_alg( struct crypto_ablkcipher *tfm) argument 158 crypto_ablkcipher_ctx(struct crypto_ablkcipher *tfm) argument 172 crypto_blkcipher_ctx(struct crypto_blkcipher *tfm) argument 177 crypto_blkcipher_ctx_aligned(struct crypto_blkcipher *tfm) argument 191 crypto_cipher_alg(struct crypto_cipher *tfm) argument 204 crypto_hash_ctx_aligned(struct crypto_hash *tfm) argument 243 ablkcipher_tfm_in_queue(struct crypto_ablkcipher *tfm) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/x86_64/crypto/ |
H A D | twofish.c | 48 asmlinkage void twofish_enc_blk(struct crypto_tfm *tfm, u8 *dst, const u8 *src); 49 asmlinkage void twofish_dec_blk(struct crypto_tfm *tfm, u8 *dst, const u8 *src); 51 static void twofish_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) argument 53 twofish_enc_blk(tfm, dst, src); 56 static void twofish_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) argument 58 twofish_dec_blk(tfm, dst, src);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/i386/crypto/ |
H A D | twofish.c | 48 asmlinkage void twofish_enc_blk(struct crypto_tfm *tfm, u8 *dst, const u8 *src); 49 asmlinkage void twofish_dec_blk(struct crypto_tfm *tfm, u8 *dst, const u8 *src); 51 static void twofish_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) argument 53 twofish_enc_blk(tfm, dst, src); 56 static void twofish_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) argument 58 twofish_dec_blk(tfm, dst, src);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/block/ |
H A D | cryptoloop.c | 49 struct crypto_blkcipher *tfm; local 85 tfm = crypto_alloc_blkcipher(cms, 0, CRYPTO_ALG_ASYNC); 86 if (IS_ERR(tfm)) 87 return PTR_ERR(tfm); 89 err = crypto_blkcipher_setkey(tfm, info->lo_encrypt_key, 95 lo->key_data = tfm; 99 crypto_free_blkcipher(tfm); 117 struct crypto_blkcipher *tfm = lo->key_data; local 119 .tfm = tfm, 180 struct crypto_blkcipher *tfm = lo->key_data; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/sunrpc/auth_gss/ |
H A D | gss_krb5_crypto.c | 54 struct crypto_blkcipher *tfm, 63 struct blkcipher_desc desc = { .tfm = tfm, .info = local_iv }; 65 if (length % crypto_blkcipher_blocksize(tfm) != 0) 68 if (crypto_blkcipher_ivsize(tfm) > 16) { 69 dprintk("RPC: gss_k5encrypt: tfm iv size to large %d\n", 70 crypto_blkcipher_ivsize(tfm)); 75 memcpy(local_iv, iv, crypto_blkcipher_ivsize(tfm)); 90 struct crypto_blkcipher *tfm, 99 struct blkcipher_desc desc = { .tfm 53 krb5_encrypt( struct crypto_blkcipher *tfm, void * iv, void * in, void * out, int length) argument 89 krb5_decrypt( struct crypto_blkcipher *tfm, void * iv, void * in, void * out, int length) argument 233 gss_encrypt_xdr_buf(struct crypto_blkcipher *tfm, struct xdr_buf *buf, int offset, struct page **pages) argument 303 gss_decrypt_xdr_buf(struct crypto_blkcipher *tfm, struct xdr_buf *buf, int offset) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/net/ |
H A D | ah.h | 18 struct crypto_hash *tfm; member in struct:ah_data 27 desc.tfm = ahp->tfm;
|
H A D | esp.h | 20 * It is logically different of crypto_tfm_alg_ivsize(tfm). 22 * >= crypto_tfm_alg_ivsize(tfm). */ 26 struct crypto_blkcipher *tfm; /* crypto handle */ member in struct:esp_data::__anon10506 39 struct crypto_hash *tfm; member in struct:esp_data::__anon10507 51 desc.tfm = esp->auth.tfm;
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv6/ |
H A D | esp6.c | 47 struct crypto_blkcipher *tfm; local 69 tfm = esp->conf.tfm; 70 desc.tfm = tfm; 72 blksize = ALIGN(crypto_blkcipher_blocksize(tfm), 4); 106 crypto_blkcipher_set_iv(tfm, esp->conf.ivec, esp->conf.ivlen); 128 crypto_blkcipher_get_iv(tfm, esp->conf.ivec, esp->conf.ivlen); 146 struct crypto_blkcipher *tfm = esp->conf.tfm; local 298 struct crypto_blkcipher *tfm; local [all...] |