libtomcrypt
libtomcrypt copied to clipboard
Constify math descriptors
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.