NOTE: Currently requires Xcode 12beta4 do build and test because of the binary OpenSSL SPM dependency! Also, the SPM module configuration may make this version incompatible with previous versions because of import changes!
Reimplements the ECC functions that were previously OpenSSL based using libtomcrypt and libtommath from https://github.com/libtom. All functions that were previously provided have been implemented:
Public key recovery from private secp256k1 and secp256r1 keys.
Public key recovery from signature and message hash for secp256k1 and secp256r1 keys.
Recid matching for keys from signature and message hash.
Signing with secp256k1 keys.
Unused Cocoapods artifacts have been removed. The podspec file has been updated but not tested yet and is likely not to work. Enabling Cocopods will be undertaken in follow up PR's.
The default functions are currently still pointing to OpenSSL. The libtom implementations have been created along side them temporarily for review and side by side testing. OpenSSL will be removed before the final PR is removed. Once OpenSSL is removed, the swift-tools dependency will be dropped down to 5.2 to hopefully utilize Xcode 11.
NOTE: Currently requires Xcode 12beta4 do build and test because of the binary OpenSSL SPM dependency! Also, the SPM module configuration may make this version incompatible with previous versions because of import changes!
Reimplements the ECC functions that were previously OpenSSL based using libtomcrypt and libtommath from https://github.com/libtom. All functions that were previously provided have been implemented:
Unused Cocoapods artifacts have been removed. The podspec file has been updated but not tested yet and is likely not to work. Enabling Cocopods will be undertaken in follow up PR's.
The default functions are currently still pointing to OpenSSL. The libtom implementations have been created along side them temporarily for review and side by side testing. OpenSSL will be removed before the final PR is removed. Once OpenSSL is removed, the swift-tools dependency will be dropped down to 5.2 to hopefully utilize Xcode 11.