/******************************************************************************/ /* LICENSE: */ /* This submission to NSS is to be made available under the terms of the */ /* Mozilla Public License, v. 2.0. You can obtain one at http: */ /* //mozilla.org/MPL/2.0/. */ /******************************************************************************/
/* Prototypes of the functions defined in the assembler file. */
/* Prepares the constants used in the aggregated reduction method */ void ppc_aes_gcmINIT(unsignedchar Htbl[8 * 16],
PRUint32 *KS, int NR);
/* Produces the final GHASH value */ void ppc_aes_gcmTAG(unsignedchar Htbl[8 * 16], unsignedchar *Tp, unsignedlong Mlen, unsignedlong Alen, unsignedchar *X0, unsignedchar *TAG);
/* Hashes the Additional Authenticated Data, should be used before enc/dec.
Operates on any length of data. Partial block is padded internally. */ void ppc_aes_gcmHASH(unsignedchar Htbl[8 * 16], constunsignedchar *AAD, unsignedlong Alen, unsignedchar *Tp);
/* Crypt only, used in combination with ppc_aes_gcmAAD(). Operates on any length of data, however partial block should only be encrypted
at the last call, otherwise the result will be incorrect. */ void ppc_aes_gcmCRYPT(constunsignedchar *PT, unsignedchar *CT, unsignedlong len, unsignedchar *CTRP,
PRUint32 *KS, int NR);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.