[go: up one dir, main page]

Fix compatibility issue with CycloneCRYPTO v2.5.0

Hi S2OPC support team,

To avoid compilation errors when using CycloneCRYPTO v2.5.0, the "key_manager_cyclone.c" must be slightly adjusted, due to tiny API changes. Some function parameters are now rearranged, for example:

// CycloneCRYPTO v2.4.2
error_t pemImportRsaPublicKey(const char_t *input, size_t length, RsaPublicKey *publicKey);

// CycloneCRYPTO v2.5.0
error_t pemImportRsaPublicKey(RsaPublicKey *publicKey, const char_t *input, size_t length);

This merge request implements macro for API compatibility between CycloneCRYPTO v2.4.X and v2.5.X.

Please review. Hopefully the changes are useful enough to be merged into the main codebase.

Edited by XANDER

Merge request reports

Loading