File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -3027,18 +3027,23 @@ \subsection{Hash Registration}
30273027applicable block ciphers (such as AES) can be turned into hash functions that other LTC functions can use. In
30283028particular this allows a cryptosystem to be designed using very few moving parts.
30293029
3030+ The \code {CHC} mode implements a Miyaguchi–Preneel Hash Construction
3031+ \footnote {\href {https://en.wikipedia.org/wiki/One-way_compression_function\#Miyaguchi–Preneel}{\nolinkurl {https://en.wikipedia.org/wiki/One-way_compression_function\# Miyaguchi-Preneel}}}
3032+ (MPHC), but provides an improved, \code {chc\_ done()} implementation.
3033+
3034+
30303035In order to use the CHC system the developer will have to take a few extra steps. First the \textit {chc\_ desc } hash
3031- descriptor must be registered with register\_ hash(). At this point the CHC hash cannot be used to hash
3036+ descriptor must be registered with \code { register\_ hash()} . At this point the CHC hash cannot be used to hash
30323037data. While it is in the hash system you still have to tell the CHC code which cipher to use. This is accomplished
3033- via the chc\_ register() function.
3038+ via the \code { chc\_ register()} function.
30343039
30353040\index {chc\_ register()}
30363041\begin {verbatim }
30373042int chc_register(int cipher);
30383043\end {verbatim }
30393044
30403045A cipher has to be registered with CHC (and also in the cipher descriptor tables with
3041- register\_ cipher()). The chc\_ register() function will bind a cipher to the CHC system. Only one cipher can
3046+ \code { register\_ cipher()} ). The \code { chc\_ register()} function will bind a cipher to the CHC system. Only one cipher can
30423047be bound to the CHC hash at a time. There are additional requirements for the system to work.
30433048
30443049\begin {enumerate }
You can’t perform that action at this time.
0 commit comments