[CRYPTO] api: Add crypto_comp and crypto_has_*