OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:safer_ebox
(Results
1 - 4
of
4
) sorted by null
/external/dropbear/libtomcrypt/src/ciphers/safer/
safer_tab.c
23
const unsigned char
safer_ebox
[256] = {
variable
saferp.c
37
* key addition, substitution, key addition. The
safer_ebox
and safer_lbox
45
extern const unsigned char
safer_ebox
[], safer_lbox[];
48
b[0] = (
safer_ebox
[(b[0] ^ skey->saferp.K[i][0]) & 255] + skey->saferp.K[i+1][0]) & 255; \
51
b[3] = (
safer_ebox
[(b[3] ^ skey->saferp.K[i][3]) & 255] + skey->saferp.K[i+1][3]) & 255; \
52
b[4] = (
safer_ebox
[(b[4] ^ skey->saferp.K[i][4]) & 255] + skey->saferp.K[i+1][4]) & 255; \
55
b[7] = (
safer_ebox
[(b[7] ^ skey->saferp.K[i][7]) & 255] + skey->saferp.K[i+1][7]) & 255; \
56
b[8] = (
safer_ebox
[(b[8] ^ skey->saferp.K[i][8]) & 255] + skey->saferp.K[i+1][8]) & 255; \
59
b[11] = (
safer_ebox
[(b[11] ^ skey->saferp.K[i][11]) & 255] + skey->saferp.K[i+1][11]) & 255; \
60
b[12] = (
safer_ebox
[(b[12] ^ skey->saferp.K[i][12]) & 255] + skey->saferp.K[i+1][12]) & 255; \
63
b[15] = (
safer_ebox
[(b[15] ^ skey->saferp.K[i][15]) & 255] + skey->saferp.K[i+1][15]) & 255;
[
all
...]
safer.c
92
#define EXP(x)
safer_ebox
[(x) & 0xFF]
98
extern const unsigned char
safer_ebox
[], safer_lbox[];
141
+
safer_ebox
[(int)
safer_ebox
[(int)((18 * i + j + 1)&0xFF)]]) & 0xFF;
144
*key++ = (ka[j] +
safer_ebox
[(int)
safer_ebox
[(int)((18 * i + j + 1)&0xFF)]]) & 0xFF;
154
+
safer_ebox
[(int)
safer_ebox
[(int)((18 * i + j + 10)&0xFF)]]) & 0xFF;
157
*key++ = (kb[j] +
safer_ebox
[(int)
safer_ebox
[(int)((18 * i + j + 10)&0xFF)]]) & 0xFF
[
all
...]
/external/dropbear/libtomcrypt/notes/etc/
saferp_optimizer.c
21
b[0] = (
safer_ebox
[(b[0] ^ skey->saferp.K[i][0]) & 255] + skey->saferp.K[i+1][0]) & 255; \
24
b[3] = (
safer_ebox
[(b[3] ^ skey->saferp.K[i][3]) & 255] + skey->saferp.K[i+1][3]) & 255; \
25
b[4] = (
safer_ebox
[(b[4] ^ skey->saferp.K[i][4]) & 255] + skey->saferp.K[i+1][4]) & 255; \
28
b[7] = (
safer_ebox
[(b[7] ^ skey->saferp.K[i][7]) & 255] + skey->saferp.K[i+1][7]) & 255; \
29
b[8] = (
safer_ebox
[(b[8] ^ skey->saferp.K[i][8]) & 255] + skey->saferp.K[i+1][8]) & 255; \
32
b[11] = (
safer_ebox
[(b[11] ^ skey->saferp.K[i][11]) & 255] + skey->saferp.K[i+1][11]) & 255; \
33
b[12] = (
safer_ebox
[(b[12] ^ skey->saferp.K[i][12]) & 255] + skey->saferp.K[i+1][12]) & 255; \
36
b[15] = (
safer_ebox
[(b[15] ^ skey->saferp.K[i][15]) & 255] + skey->saferp.K[i+1][15]) & 255;
Completed in 741 milliseconds