From 6f9c8e35ec66125a8d260fe78c108585bb16dfce Mon Sep 17 00:00:00 2001 From: Rasmus Dahlberg Date: Mon, 2 Nov 2020 14:22:33 +0100 Subject: removed hash function as parameter Trillian doesn't give us much of a choice, see [1]. --- markup/api.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'markup') diff --git a/markup/api.md b/markup/api.md index d9286bf..d21649f 100644 --- a/markup/api.md +++ b/markup/api.md @@ -21,7 +21,6 @@ A log is defined by the following immutable parameters: - Log identifier: `SHA256(public key)`, see RFC 6962 [§3.2](https://tools.ietf.org/html/rfc6962#section-3.2) - Public key: DER encoding of the key represented as `SubjectPublicKeyInfo` -- Hash algorithm: used to maintain the log's Merkle tree, e.g., SHA256 - Supported signature algorithms: a list of signature algorithms that the log recognizes. Possible values are defined in RFC 8446, [§4.2.3](https://tools.ietf.org/html/rfc8446#section-4.2.3). Submitters must @@ -36,6 +35,9 @@ Note that **there is no MMD**. The idea is to merge added entries as soon as possible, and no client should trust that something is logged until an inclusion proof can be provided that references a trustworthy STH. +Moreover, we use the same hash strategy as described in RFC 6962: SHA256 with +`0x00` as leaf node prefix and `0x01` as interior node prefix. + ## Minimum acceptance criteria A log should accept a submission if it is: - Well-formed, see below. -- cgit v1.2.3