boot/bootutil: add the option to use custom definitions for all crypto inline functions
As previously discussed in #1478 , this adds a define named MCUBOOT_USE_CUSTOM_CRYPT.
Using that define, headername_custom.h will be included in the crypto headers instead of enabling any pre defined code path.
Since the include calls throughout mcuboot are clean already, it is actually enough to implement only the used algorithms. So if e.g. RSA is not used, a definition of rsa_custom.h is NOT necessary.
This pull request has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this pull request will automatically be closed in 14 days. Note, that you can always re-open a closed pull request at any time.
Please don't activate an auto close bot who is faster in handling issues than the maintainers.