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