libtomcrypt icon indicating copy to clipboard operation
libtomcrypt copied to clipboard

Constify math descriptors

Open levitte opened this issue 5 months ago • 0 comments

Most of all, this adds proper constification to ltc_math_descriptor, the rest is suffering the consequences.

For TomsFastMath specifically, we add unconsting casts so LTM can be compiled to TFM versions before it gets properly constified. This is done through a version checking helper macro that is added in libtom/tomsfastmath#36. Note that the current TFM release isn't properly constified, but hopefully, 0.14.0 will be.

levitte avatar Sep 17 '24 09:09 levitte