Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_util.c319 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()
337 tmp = sbox[index_i] + sbox[index_j]; in rand_hash()
[all …]
/illumos-gate/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); }
/illumos-gate/usr/src/lib/sasl_plugins/digestmd5/
H A Ddigestmd5.c1008 text->sbox[i]=i;
1017 tmp = text->sbox[i];
1018 text->sbox[i] = text->sbox[j];
1019 text->sbox[j] = tmp;
1045 tmp = text->sbox[i];
1046 text->sbox[i] = text->sbox[j];
1049 t = (text->sbox[i] + text->sbox[j]) % 256;
1051 K = text->sbox[t];
1080 text->sbox[i] = text->sbox[j];
1083 t = (text->sbox[i] + text->sbox[j]) % 256;
[all …]