Lines Matching defs:bits
96 * shipped is the same as specifying 1024 for the 'bits' parameter. Bsafe
97 * uses a version where the bits parameter is the same as len*8
99 void RC2_set_key(RC2_KEY *key, int len, const unsigned char *data, int bits)
103 private_RC2_set_key(key, len, data, bits);
107 int bits)
120 if (bits <= 0)
121 bits = 1024;
122 if (bits > 1024)
123 bits = 1024;
136 /* hmm.... key reduction to 'bits' bits */
138 j = (bits + 7) >> 3;
140 c = (0xff >> (-bits & 0x07));