Function type factorization for cryptoProfile

Issue from discussion #612 (closed)
File: src/Common/crypto/sopc_crypto_profiles.h

  • FnSymmetricEncrypt and FnSymmetricDecrypt are very similar types, and may be factorized to use only one type.
  • Same with FnAsymmetricEncrypt and FnAsymmetricDecrypt but the output length written for FnAsymmetricEncrypt seems to be missing, and should be added to the declaration.
Edited by Robin Barrucand