Пример #1
0
void Camellia_DecryptBlock(int keyBitLength, const u8 plaintext[],
                           const KEY_TABLE_TYPE keyTable, u8 ciphertext[])
{
    Camellia_DecryptBlock_Rounds(keyBitLength == 128 ? 3 : 4,
                                 plaintext, keyTable, ciphertext);
}
Пример #2
0
void
Camellia_decrypt(const unsigned char *in, unsigned char *out,
    const CAMELLIA_KEY *key)
{
	Camellia_DecryptBlock_Rounds(key->grand_rounds, in, key->u.rd_key, out);
}