It could improve performance to change the object types so that there's a blob and an unloaded blob inside each object. This would reduce the calls to load/unload (hopefully) and possibly simplify memory mgmt by reducing free's.
Logged In: YES user_id=1168529
If all keys held a pointer to a crypto context (openssl RSA *), we can avoid re-allocating the RSA* every time a software encrypt/decrypt is done.
Log in to post a comment.
Logged In: YES
user_id=1168529
If all keys held a pointer to a crypto context (openssl
RSA *), we can avoid re-allocating the RSA* every time a
software encrypt/decrypt is done.