Home
last modified time | relevance | path

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

/freebsd/crypto/openssl/crypto/des/
H A Dset_key.c94 static const DES_cblock weak_keys[] = { variable
124 for (i = 0; i < OSSL_NELEM(weak_keys); i++) { in DES_is_weak_key()
125 j = CRYPTO_memcmp(weak_keys[i], key, sizeof(DES_cblock)); in DES_is_weak_key()
/freebsd/sys/crypto/des/
H A Ddes_setkey.c97 static des_cblock weak_keys[NUM_WEAK_KEY]={ variable
128 if (memcmp(weak_keys[i],key,sizeof(des_cblock)) == 0) return(1); in des_is_weak_key()
/freebsd/crypto/openssl/test/
H A Ddestest.c786 } weak_keys[] = { variable
811 const_DES_cblock *key = (unsigned char (*)[8])weak_keys[n].key; in test_des_weak_keys()
813 return TEST_int_eq(DES_is_weak_key(key), weak_keys[n].expect); in test_des_weak_keys()
890 ADD_ALL_TESTS(test_des_weak_keys, OSSL_NELEM(weak_keys)); in setup_tests()