This commit adds functions for generation of key pairs to be used with pseudonym system scheme (both EC and modular version). Currently these functions are unused, as server-side relies on using fixed values that are loaded from config, so using these functions in test code breaks the tests.
These functions are for future convenience - when configuration of cryptographic parameters is improved, these functions will be called during the initial setup of pseudonym system CA and organizations.
In addition, I plan to implement structs SecKey, PubKey and PubKeyEC shortly, so I added two TODOs above new function definitions, since the planned change will affect their return values.
This commit adds functions for generation of key pairs to be used with pseudonym system scheme (both EC and modular version). Currently these functions are unused, as server-side relies on using fixed values that are loaded from config, so using these functions in test code breaks the tests.
These functions are for future convenience - when configuration of cryptographic parameters is improved, these functions will be called during the initial setup of pseudonym system CA and organizations.
In addition, I plan to implement structs
SecKey
,PubKey
andPubKeyEC
shortly, so I added two TODOs above new function definitions, since the planned change will affect their return values.