Home | History | Annotate | Download | only in libtomcrypt

Lines Matching full:pmac

648 as EAX, PMAC and OMAC only require the encryption function.  So far this \textit{encrypt only} functionality has only been implemented for
2336 \mysection{PMAC Support}
2337 The PMAC\footnote{J.Black, P.Rogaway, \textit{A Block--Cipher Mode of Operation for Parallelizable Message Authentication}}
2341 A PMAC state is initialized with the following.
2343 \index{pmac\_init()}
2345 int pmac_init( pmac_state *pmac,
2350 Which initializes the \textit{pmac} state with the given \textit{cipher} and \textit{key} of length \textit{keylen} bytes. The chosen cipher
2355 \index{pmac\_process()}
2377 \index{pmac\_done()}
2386 Similar to the OMAC code the file and memory functions are also provided. To PMAC a buffer of memory in one shot use the
2389 \index{pmac\_memory()}
2397 This will compute the PMAC of \textit{msglen} bytes of \textit{msg} using the key \textit{key} of length \textit{keylen} bytes, and the cipher
2399 rules as pmac\_done().
2401 To PMAC a file use
2402 \index{pmac\_file()}
2411 Which will PMAC the entire contents of the file specified by \textit{filename} using the key \textit{key} of length \textit{keylen} bytes,
2413 the same rules as pmac\_done().
2415 To test if the PMAC code is working there is the following function:
2416 \index{pmac\_test()}