[PATCH v5 16/27] lib/crypto: Adapt public_key header with MbedTLS