* afsstring2key.c (mit_afs_string_to_key): Allocate and pass
buffer for afs_crypt. Don't use static storage for key schedule.
- (IP, FP, PC1_C, PC1_D, shifts, PC2_C, PC2_D, E, e, P): Now const.
+ (IP, FP, PC1_C, PC1_D, shifts, PC2_C, PC2_D, E, e, P, S): Now
+ const.
(C, D, KS, L, R, tempL, f, preS): Static variables deleted.
(afs_crypt): Allocate them here, and pass pointers to other
routines.
* For some reason, they give a 0-origin
* index, unlike everything else.
*/
-static char S[8][64] = {
+static const char S[8][64] = {
{14, 4,13, 1, 2,15,11, 8, 3,10, 6,12, 5, 9, 0, 7,
0,15, 7, 4,14, 2,13, 1,10, 6,12,11, 9, 5, 3, 8,
4, 1,14, 8,13, 6, 2,11,15,12, 9, 7, 3,10, 5, 0,