#include <stdio.h>
Defines | |
#define | MAXKC (256/32) |
Functions | |
int | cipherUpdateRounds (cipherInstance *cipher, keyInstance *key, BYTE *input, int inputLen, BYTE *outBuffer, int Rounds) |
#define MAXKC (256/32) |
int cipherUpdateRounds | ( | cipherInstance * | cipher, | |
keyInstance * | key, | |||
BYTE * | input, | |||
int inputLen | __UNUS, | |||
BYTE * | outBuffer, | |||
int | rounds | |||
) |
cipherUpdateRounds:
Encrypts/Decrypts exactly one full block a specified number of rounds. Only used in the Intermediate Value Known Answer Test.
Returns: TRUE - on success BAD_CIPHER_STATE - cipher in bad state (e.g., not initialized)