In order to use an algorithm, an according handle must be created. This is done using the following function:
Creates a new handle for the algorithm algorithm and stores it in handle. flags is not used currently.
algorithm must be a valid algorithm ID, see See Available asymmetric algorithms, for a list of supported algorithms and the according constants. Besides using the listed constants directly, the functions
gcry_pk_name_to_id
may be used to convert the textual name of an algorithm into the according numeric ID.