-
Notifications
You must be signed in to change notification settings - Fork 97
Description
Hi there,
as part of our efforts to implement ECTester we are working with the Intel Crypto Primitives library. The recent deprecation and removal of some ECC functions hit hard, and I am now struggling to find a way to implement some functionality we rely on.
Concretely, assuming that I have an IppsGFpECState *curve I want to be able to extract all of its parameters (think of it like I want to serialize them/export them). I found APIs to get the a, b, Gx, Gy, n, h parameters via the ippsGFpECGet and ippsGFpECGetSubgroup calls. However, I am not able to extract the prime modulus in any way that does not go around API restrictions in a really hacky way. The ippsGFpECGet call only gets me the IppsGFpState and I cannot seem to be able to extract the modulus from that.