ESAPI function to invoke the TPM2_ECDH_ZGen command either as a one-call or in an asynchronous manner.