Home | History | Annotate | Download | only in hcrypto

Lines Matching defs:weak

151     {0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01}, /* weak keys */
155 {0x01,0xFE,0x01,0xFE,0x01,0xFE,0x01,0xFE}, /* semi-weak keys */
175 * @return 1 if the key is weak, 0 otherwise.
182 int weak = 0;
186 weak ^= (ct_memcmp(weak_keys[i], key, DES_CBLOCK_LEN) == 0);
188 return !!weak;
212 * Does NOT check that the key is weak for or have wrong parity.
283 * not weak for or have correct parity.
288 * @return 0 on success, -1 on invalid parity, -2 on weak key.
313 * @return 0 on success, -1 on invalid parity, -2 on weak key.