Lines Matching refs:anubis
13 @file anubis.c
14 Anubis implementation derived from public domain source
20 #ifdef ANUBIS
23 "anubis",
46 * Though Anubis is endianness-neutral, the encryption tables are listed
887 Initialize the Anubis block cipher
912 skey->anubis.keyBits = keylen*8;
918 N = skey->anubis.keyBits >> 5;
923 skey->anubis.R = R = 8 + N;
925 if (num_rounds != 0 && num_rounds != skey->anubis.R) {
983 skey->anubis.roundKeyEnc[r][0] = K0;
984 skey->anubis.roundKeyEnc[r][1] = K1;
985 skey->anubis.roundKeyEnc[r][2] = K2;
986 skey->anubis.roundKeyEnc[r][3] = K3;
1011 skey->anubis.roundKeyDec[0][i] = skey->anubis.roundKeyEnc[R][i];
1012 skey->anubis.roundKeyDec[R][i] = skey->anubis.roundKeyEnc[0][i];
1016 v = skey->anubis.roundKeyEnc[R - r][i];
1017 skey->anubis.roundKeyDec[r][i] =
1133 Encrypts a block of text with Anubis
1144 anubis_crypt(pt, ct, skey->anubis.roundKeyEnc, skey->anubis.R);
1149 Decrypts a block of text with Anubis
1160 anubis_crypt(ct, pt, skey->anubis.roundKeyDec, skey->anubis.R);
1165 Performs a self-test of the Anubis block cipher
1178 /**** ORIGINAL ANUBIS ****/
1336 /**** Tweaked ANUBIS ****/
1556 /* $Source: /cvs/libtom/libtomcrypt/src/ciphers/anubis.c,v $ */