[PATCH v3 14/25] lib/crypto: Adapt public_key header with MbedTLS