Use OSSL_PARAM types. Limits are explained in the description where appropriate.