Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for leafProof (0.23 sec)

  1. src/cmd/vendor/golang.org/x/mod/sumdb/tlog/tlog.go

    		need = subTreeIndex(lo, lo+k, need)
    		need = leafProofIndex(lo+k, hi, n, need)
    	}
    	return need
    }
    
    // leafProof constructs the proof that leaf n is contained in the subtree with leaves [lo, hi).
    // It returns any leftover hashes as well.
    // See https://tools.ietf.org/html/rfc6962#section-2.1.1
    func leafProof(lo, hi, n int64, hashes []Hash) (RecordProof, []Hash) {
    	// We must have lo <= n < hi or else the code here has a bug.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 12 20:38:21 UTC 2023
    - 17.9K bytes
    - Viewed (0)
Back to top