Home
last modified time | relevance | path

Searched refs:sbox (Results 1 – 3 of 3) sorted by relevance

/titanic_41/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_util.c311 unsigned char sbox[DEFAULT_SBOX_SIZE]; in rand_hash() local
319 sbox[i] = (unsigned char)i; in rand_hash()
322 j += (sbox[i] + key[i % keylen]); in rand_hash()
324 tmp = sbox[i]; in rand_hash()
325 sbox[i] = sbox[j]; in rand_hash()
326 sbox[j] = tmp; in rand_hash()
331 index_j += sbox[index_i]; in rand_hash()
333 tmp = sbox[index_i]; in rand_hash()
334 sbox[index_i] = sbox[index_j]; in rand_hash()
335 sbox[index_j] = tmp; in rand_hash()
[all …]
/titanic_41/usr/src/cmd/eqn/
H A De.y82 sbox : sup box %prec SUP { $$ = $2; }
99 | box sub box sbox %prec SUB { shift2($1, $3, $4); }
102 | int sub box sbox %prec SUB { integral($1, $3, $4); }
/titanic_41/usr/src/lib/sasl_plugins/digestmd5/
H A Ddigestmd5.c993 unsigned char sbox[256]; member
1007 text->sbox[i]=i;
1013 j = (j + text->sbox[i] + key[i % keylen]) % 256;
1016 tmp = text->sbox[i];
1017 text->sbox[i] = text->sbox[j];
1018 text->sbox[j] = tmp;
1041 j = (j + text->sbox[i]) % 256;
1044 tmp = text->sbox[i];
1045 text->sbox[i] = text->sbox[j];
1046 text->sbox[j] = tmp;
[all …]