Re: [CFRG] Small subgroup question for draft-irtf-cfrg-hash-to-curve Sat, 10 April 2021 15:13 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id 097DD3A0CF8 for <>; Sat, 10 Apr 2021 08:13:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -1.399
X-Spam-Status: No, score=-1.399 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id CagB9k9nZcVn for <>; Sat, 10 Apr 2021 08:12:57 -0700 (PDT)
Received: from ( []) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by (Postfix) with ESMTPS id C885D3A1022 for <>; Sat, 10 Apr 2021 08:12:57 -0700 (PDT)
Received: by with SMTP id o11so4167360qvh.11 for <>; Sat, 10 Apr 2021 08:12:57 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=jqJIaPzj8kPJiK+50TOq6vS+wu32mFoAwEBg6mYVl1E=; b=PfhOR9ReJrSMVMj/MJe+eZq3PCoa1JtAvluSpAtQd+R6GluWSML5rwyfAwV9E+IFJC 0Kj4/Gt2aoLu90XCWEU4Wk44euu0UmqIJN/xt/x+JkQxcu9hjTPxM3RtRdgS2uwEEGFj xcU7HYS9DgiLYzGCHim8+fD89FA3fhIqenpDe6NsIni8XfUaVZVrUFLG7dnNa2XwpFKG xZoAklFcdQ5FS75y+BNHzx8z1t+31W4+QJw3dR9XOIsCn+XvsFV1rXK1yewN4kv5vIeX T0PYHB3oD3HZtMim/r0/7HG1g8Wr3Dt/SnhcDgHrXHhrLR5fQjw6EjTaKwPzO304zcZk 4V0g==
X-Gm-Message-State: AOAM531cCShpuab6/8YilV9aQgdm7e1Xo28Kfqabf81fN4RJ2Q+4Zpbs M507D4JwXWKithfScC4XfmKer7Im8qo=
X-Google-Smtp-Source: ABdhPJy7P6S9WRxT0X7n+9OhhqiCBSoUAE1ZrLj0ZW29Q8rlZr7LJUXEkYPoiXCskfbK9+RktbFbAg==
X-Received: by 2002:a0c:fec8:: with SMTP id z8mr19655749qvs.59.1618067576743; Sat, 10 Apr 2021 08:12:56 -0700 (PDT)
Received: from localhost ( []) by with ESMTPSA id e3sm4053411qtj.28.2021. (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 10 Apr 2021 08:12:56 -0700 (PDT)
Date: Sat, 10 Apr 2021 11:12:54 -0400
To: "Hao, Feng" <>, CFRG <>
Message-ID: <20210410151254.7ze5pt4lpvblhk3f@muon>
References: <> <> <> <> <trinity-f323065e-9f30-48fd-9ead-0865e8f877eb-1618002469856@3c-app-webde-bap03> <> <> <>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <>
Archived-At: <>
Subject: Re: [CFRG] Small subgroup question for draft-irtf-cfrg-hash-to-curve
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Crypto Forum Research Group <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Sat, 10 Apr 2021 15:13:02 -0000

Hello Feng,

"Hao, Feng" <> wrote:
> Rsw also gave a similar example of having all zeros for the hash.
> Let me clarify that we are not – and shouldn’t be - concerned with
> any of such cases since the values are uniformly distributed within
> their respective range.

Right. And the argument is precisely the same for hash-to-curve!

Let me be perfectly clear: the property that hash_to_curve gives
is that the output is a uniformly* distributed point in the (big)
prime-order subgroup of the target elliptic curve.

At the risk of seeming didactic (in which case, apologies): the
identity element is indeed an element of the target group G.

Put another way: fix a generator g of group G of prime order q. Then,
hash_to_curve returns g^r in G, for r sampled uniformly* at random
in 0 <= r < q. Under the assumption that discrete log is hard in G,
hash_to_curve does not reveal r. Under the preimage and collision
resistance of the underlying hash function, one cannot choose any
particular r or find two inputs that hash to the same r.

I hope this helps clarify the security properties, and why focus
on low-order points at intermediate steps of the computation is not
relevant to the security of hash_to_curve as specified.

* uniformly except for some statistical distance less than 2^-100.