Home
last modified time | relevance | path

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

/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()
/openssl/test/
H A Ddestest.c796 } weak_keys[] = { variable
821 const_DES_cblock *key = (unsigned char (*)[8])weak_keys[n].key; in test_des_weak_keys()
823 return TEST_int_eq(DES_is_weak_key(key), weak_keys[n].expect); in test_des_weak_keys()
900 ADD_ALL_TESTS(test_des_weak_keys, OSSL_NELEM(weak_keys)); in setup_tests()

Completed in 9 milliseconds