Page MenuHome GnuPG

Make gnupg's openpgp_oid_to_str faster
Open, LowPublic

Description

In most cases the function returns a string from a small set of actually used curves. There is no need to always parse the DER to create the string but one could simply take the result from a small lookup table. To cope with the case of unknown curves the function should return a release pointer which the caller needs to free - in most cases this pointer will however be NULL.