Lines Matching refs:module

42    field from the module specification against NULL and instead
165 gcry_module_t module;
167 /* The algorithm id. This is a hack required because the module
172 limitations of the module system (we don't want to change the
371 /* Register a new cipher module whose specification can be found in
373 and a pointer representhing this module is stored in MODULE. */
378 gcry_module_t *module)
383 /* We do not support module loading in fips mode. */
396 *module = mod;
406 gcry_cipher_unregister (gcry_module_t module)
409 _gcry_module_release (module);
417 ispassed as NULL. A pointer to the specification of the module
423 gcry_module_t module;
430 module = gcry_cipher_lookup_oid (oid);
431 if (module)
433 gcry_cipher_spec_t *cipher = module->spec;
440 *algorithm = module->mod_id;
445 _gcry_module_release (module);
676 gcry_module_t module = NULL;
686 /* Fetch the according module and check wether the cipher is marked
689 module = _gcry_module_lookup_id (ciphers_registered, algo);
690 if (module)
692 /* Found module. */
694 if (module->flags & FLAG_MODULE_DISABLED)
698 _gcry_module_release (module);
702 cipher = (gcry_cipher_spec_t *) module->spec;
703 extraspec = module->extraspec;
794 h->module = module;
823 if (module)
825 /* Release module. */
827 _gcry_module_release (module);
855 /* Release module. */
857 _gcry_module_release (h->module);
1869 /* Explicitly initialize this module. */
1904 gcry_module_t module = NULL;
1911 module = _gcry_module_lookup_id (ciphers_registered, algo);
1912 if (module && !(module->flags & FLAG_MODULE_DISABLED))
1913 extraspec = module->extraspec;
1921 report ("cipher", algo, "module",
1922 module && !(module->flags & FLAG_MODULE_DISABLED)?
1924 module? "algorithm disabled" : "algorithm not found");
1927 if (module)
1930 _gcry_module_release (module);