This tool is used to verify the signature of any file using a public RSA key.
This tool use the library mbedtls, that is fetched at build time by CMake.
mkdir build && cd build
cmake ..
cmake --build ../check_signature test/public.pem test/image-kerneloutput
. public key file: 'test/public.pem'
. sig file 'test/image-kernel.sig'
. Calculating hash....
. RSA signature is valid