仓库指标
- 星标
- (30,157 个星标)
- PR 合并指标
- (PR 指标待抓取)
描述
Hello Team,
After reviewing the documentation for CRYPTO_set_mem_functions,
I've noticed that the current implementation restricts us to set application memory callbacks for per objects. Unfortunately, this limitation doesn't align well with my use case.
In my scenario, I'm dealing with multiple objects, each of which has its own memory allocation, reallocation, and deallocation functions. Since the current callback mechanism lacks an application context, and I couldn't find any other suitable OpenSSL API to access specific application contexts, I'm unable to utilize memory callbacks to invoke the memory functions of individual objects.
I kindly request that you consider accepting this feature request. It would greatly enhance the flexibility and usefulness of the OpenSSL library. I'm eager to know if this feature could be made available in OpenSSL 3.0.10 or a future release.
Thank you for your attention to this matter.