microsoft / SymCrypt

Cryptographic library
MIT License
660 stars 68 forks source link

Providing substitue for _aligned_malloc and _aligned_free #37

Open mjsabby opened 4 months ago

mjsabby commented 4 months ago

Is there a reason why in the test module and the new user module that the allocation functions are not settable by the library user?

For example, it's possible a user may want to use the stack for providing memory in super high performance scenarios.

Sorry this is more of a discussion but I didn't see the discussion tab open.

mjsabby commented 4 months ago

I create #38 for this.

NielsFerguson commented 4 months ago

Thanks for looking at the code and thinking about how to improve it.

See my comment on the pull request as to why I don't see how this would be an improvement.