Open petrs opened 4 years ago
I'm interested. I could implement it this or the coming week.
Are we aware of any methods checking the primality of their input parameters? I think that would be the optimal way of doing it.
For example, the setFieldFP() seems to be a good candidate:
https://docs.oracle.com/javacard/3.0.5/api/javacard/security/ECKey.html#setFieldFP(byte[],%20short,%20short)
I believe we are already using this method, so it won't introduce new API dependencies.
I'm interested. I could implement it this or the coming week.
Are we aware of any methods checking the primality of their input parameters? I think that would be the optimal way of doing it.
For example, the setFieldFP() seems to be a good candidate:
https://docs.oracle.com/javacard/3.0.5/api/javacard/security/ECKey.html#setFieldFP(byte[],%20short,%20short)
I believe we are already using this method, so it won't introduce new API dependencies.