Home GnuPG

Removed the module registration interface
e0fe4a5c862aUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Removed the module registration interface

The module registration interface is not widely used but complicates
the internal operation of Libgcrypt a lot. It also does not allow for
efficient implementation of new algorithm or cipher modes. Further the
required locking of all access to internal module data or functions
would make it hard to come up with a deadlock free pthread_atfork
implementation. Thus we remove the entire subsystem.

Note that the module system is still used internally but it is now
possible to change it without breaking the ABI.

In case a feature to add more algorithms demanded in the future, we
may add one by dlopening modules at startup time from a dedicated
directory.

Details

Provenance
wernerAuthored on Sep 15 2011, 6:08 PM
Parents
rCfc9eec3626fc: Removed the AC interface (gcry_ac_*)
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rCe0fe4a5c862a: Removed the module registration interface (authored by Werner Koch <wk@gnupg.org>).Sep 15 2011, 6:08 PM