Home
last modified time | relevance | path

Searched refs:alg (Results 1 – 21 of 21) sorted by relevance

/linux-2.4.37.9/crypto/
Dapi.c26 static inline int crypto_alg_get(struct crypto_alg *alg) in crypto_alg_get() argument
28 return try_inc_mod_count(alg->cra_module); in crypto_alg_get()
31 static inline void crypto_alg_put(struct crypto_alg *alg) in crypto_alg_put() argument
33 if (alg->cra_module) in crypto_alg_put()
34 __MOD_DEC_USE_COUNT(alg->cra_module); in crypto_alg_put()
39 struct crypto_alg *q, *alg = NULL; in crypto_alg_lookup() local
49 alg = q; in crypto_alg_lookup()
55 return alg; in crypto_alg_lookup()
124 struct crypto_alg *alg; in crypto_alloc_tfm() local
126 alg = crypto_alg_mod_lookup(name); in crypto_alloc_tfm()
[all …]
Dproc.c53 struct crypto_alg *alg = (struct crypto_alg *)p; in c_show() local
55 seq_printf(m, "name : %s\n", alg->cra_name); in c_show()
57 (alg->cra_module ? in c_show()
58 alg->cra_module->name : in c_show()
61 switch (alg->cra_flags & CRYPTO_ALG_TYPE_MASK) { in c_show()
64 seq_printf(m, "blocksize : %u\n", alg->cra_blocksize); in c_show()
66 alg->cra_cipher.cia_min_keysize); in c_show()
68 alg->cra_cipher.cia_max_keysize); in c_show()
73 seq_printf(m, "blocksize : %u\n", alg->cra_blocksize); in c_show()
75 alg->cra_digest.dia_digestsize); in c_show()
Dautoload.c31 struct crypto_alg *alg = crypto_alg_lookup(name); in crypto_alg_mod_lookup() local
32 if (alg == NULL) { in crypto_alg_mod_lookup()
34 alg = crypto_alg_lookup(name); in crypto_alg_mod_lookup()
36 return alg; in crypto_alg_mod_lookup()
Ddeflate.c207 static struct crypto_alg alg = { variable
212 .cra_list = LIST_HEAD_INIT(alg.cra_list),
222 return crypto_register_alg(&alg); in init()
227 crypto_unregister_alg(&alg); in fini()
Dblowfish.c449 static struct crypto_alg alg = { variable
455 .cra_list = LIST_HEAD_INIT(alg.cra_list),
466 return crypto_register_alg(&alg); in init()
471 crypto_unregister_alg(&alg); in fini()
Dmd4.c221 static struct crypto_alg alg = { variable
227 .cra_list = LIST_HEAD_INIT(alg.cra_list),
237 return crypto_register_alg(&alg); in init()
242 crypto_unregister_alg(&alg); in fini()
Dcast6.c531 static struct crypto_alg alg = { variable
537 .cra_list = LIST_HEAD_INIT(alg.cra_list),
550 return crypto_register_alg(&alg); in init()
555 crypto_unregister_alg(&alg); in fini()
Dmd5.c216 static struct crypto_alg alg = { variable
222 .cra_list = LIST_HEAD_INIT(alg.cra_list),
232 return crypto_register_alg(&alg); in init()
237 crypto_unregister_alg(&alg); in fini()
Dsha1.c180 static struct crypto_alg alg = { variable
186 .cra_list = LIST_HEAD_INIT(alg.cra_list),
196 return crypto_register_alg(&alg); in init()
201 crypto_unregister_alg(&alg); in fini()
Dtwofish.c873 static struct crypto_alg alg = { variable
879 .cra_list = LIST_HEAD_INIT(alg.cra_list),
890 return crypto_register_alg(&alg); in init()
895 crypto_unregister_alg(&alg); in fini()
Dcast5.c818 static struct crypto_alg alg = { variable
824 .cra_list = LIST_HEAD_INIT(alg.cra_list),
838 return crypto_register_alg(&alg); in init()
843 crypto_unregister_alg(&alg); in fini()
Dsha256.c334 static struct crypto_alg alg = { variable
340 .cra_list = LIST_HEAD_INIT(alg.cra_list),
350 return crypto_register_alg(&alg); in init()
355 crypto_unregister_alg(&alg); in fini()
/linux-2.4.37.9/include/linux/
Dcrypto.h116 int crypto_register_alg(struct crypto_alg *alg);
117 int crypto_unregister_alg(struct crypto_alg *alg);
222 struct crypto_alg *alg = tfm->__crt_alg; in crypto_tfm_alg_modname() local
224 if (alg->cra_module) in crypto_tfm_alg_modname()
225 return alg->cra_module->name; in crypto_tfm_alg_modname()
/linux-2.4.37.9/drivers/scsi/aic7xxx/
Daic7xxx.h1303 ahc_queue_alg alg);
Daic79xx.h1481 ahd_queue_alg alg);
Daic79xx_osm.c2401 ahd_queue_alg alg) argument
2413 switch (alg) {
2451 } else if (alg == AHD_QUEUE_TAGGED) {
Daic7xxx_osm.c2055 ahc_queue_alg alg) argument
2067 switch (alg) {
2105 } else if (alg == AHC_QUEUE_TAGGED) {
Daic7xxx_core.c2073 ahc_queue_alg alg) in ahc_set_tags() argument
2075 ahc_platform_set_tags(ahc, devinfo, alg); in ahc_set_tags()
2077 devinfo->lun, AC_TRANSFER_NEG, &alg); in ahc_set_tags()
Daic79xx_core.c2806 ahd_queue_alg alg) in ahd_set_tags() argument
2808 ahd_platform_set_tags(ahd, devinfo, alg); in ahd_set_tags()
2810 devinfo->lun, AC_TRANSFER_NEG, &alg); in ahd_set_tags()
/linux-2.4.37.9/drivers/net/wireless/
Datmel.c2294 u16 alg; member
2450 auth.alg = C80211_MGMT_AAN_SHAREDKEY; in send_authentication_request()
2455 auth.alg = C80211_MGMT_AAN_OPENSYSTEM; in send_authentication_request()
/linux-2.4.37.9/drivers/net/wireless/prism54/
Disl_ioctl.c2033 u8 alg[HOSTAP_CRYPT_ALG_NAME_LEN]; member