Lines Matching refs:alg
39 struct crypto_alg *alg = list_entry(p, struct crypto_alg, cra_list); in c_show() local
41 seq_printf(m, "name : %s\n", alg->cra_name); in c_show()
42 seq_printf(m, "driver : %s\n", alg->cra_driver_name); in c_show()
43 seq_printf(m, "module : %s\n", module_name(alg->cra_module)); in c_show()
44 seq_printf(m, "priority : %d\n", alg->cra_priority); in c_show()
45 seq_printf(m, "refcnt : %u\n", refcount_read(&alg->cra_refcnt)); in c_show()
47 (alg->cra_flags & CRYPTO_ALG_TESTED) ? in c_show()
50 (alg->cra_flags & CRYPTO_ALG_INTERNAL) ? in c_show()
54 (alg->cra_flags & CRYPTO_ALG_FIPS_INTERNAL) ? in c_show()
58 if (alg->cra_flags & CRYPTO_ALG_LARVAL) { in c_show()
60 seq_printf(m, "flags : 0x%x\n", alg->cra_flags); in c_show()
64 if (alg->cra_type && alg->cra_type->show) { in c_show()
65 alg->cra_type->show(m, alg); in c_show()
69 switch (alg->cra_flags & CRYPTO_ALG_TYPE_MASK) { in c_show()
72 seq_printf(m, "blocksize : %u\n", alg->cra_blocksize); in c_show()
74 alg->cra_cipher.cia_min_keysize); in c_show()
76 alg->cra_cipher.cia_max_keysize); in c_show()