[mod] implemented autonomous mpecdh