Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document OID identifier #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions blake3.tex
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,10 @@ \subsection{Modes}\label{sec:modes}
the first stage, and the \flag{DERIVE_KEY_MATERIAL} flag set for every
compression.

Developers adapting BLAKE3 to ASN.1-based message formats should use
the Algorithm Identifier blake3 with OID identifier
1.3.6.1.4.1.1722.12.3.8 for all modes and 256-bit default output size.

Copy link
Author

@xnox xnox Jun 25, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@oconnor663 based on discussion here, and the BLAKE3-team/BLAKE3#68 I've updated this patch.

Moved the notice to the Modes section. Specifying that the same OID applies to all modes, for the default output size of 256-bit. Which matches the description of the previous sections which define the default output size.

Or do you want to drop the 8, and then simply use 1.3.6.1.4.1.1722.12.3 as the OID?

\subsection{Chunk Chaining Values}\label{sec:chunk}

Processing a chunk is structurally similar to the sequential hashing mode of BLAKE2. Each chunk of up to 1024 bytes is split into blocks of up to 64 bytes.
Expand Down