Searched defs:sbox (Results 1 - 4 of 4) sorted by relevance

/osnet-11/usr/src/grub/grub2/grub-core/lib/libgcrypt/cipher/
H A Darcfour.c38 byte sbox[256]; member in struct:__anon493
47 register byte *sbox = ctx->sbox; local
54 j += sbox[i];
56 t = sbox[i]; sbox[i] = sbox[j]; sbox[j] = t;
57 *outbuf++ = *inbuf++ ^ sbox[(sbox[
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/lib/libgcrypt-grub/cipher/
H A Darcfour.c37 byte sbox[256]; member in struct:__anon547
46 register byte *sbox = ctx->sbox; local
53 j += sbox[i];
55 t = sbox[i]; sbox[i] = sbox[j]; sbox[j] = t;
56 *outbuf++ = *inbuf++ ^ sbox[(sbox[
[all...]
/osnet-11/usr/src/lib/libsmb/common/
H A Dsmb_util.c371 unsigned char sbox[DEFAULT_SBOX_SIZE]; local
379 sbox[i] = (unsigned char)i;
382 j += (sbox[i] + key[i % keylen]);
384 tmp = sbox[i];
385 sbox[i] = sbox[j];
386 sbox[j] = tmp;
391 index_j += sbox[index_i];
393 tmp = sbox[index_i];
394 sbox[index_
[all...]
/osnet-11/usr/src/lib/sasl_plugins/digestmd5/
H A Ddigestmd5.c995 unsigned char sbox[256]; member in struct:rc4_context_s
1009 text->sbox[i]=i;
1015 j = (j + text->sbox[i] + key[i % keylen]) % 256;
1018 tmp = text->sbox[i];
1019 text->sbox[i] = text->sbox[j];
1020 text->sbox[j] = tmp;
1043 j = (j + text->sbox[i]) % 256;
1046 tmp = text->sbox[i];
1047 text->sbox[
[all...]

Completed in 31 milliseconds