Lines Matching refs:hashed
76 _cleanup_free_ char *hashed; in test_hash_password_full() local
79 assert_se(hash_password_full(i, &cd_data, &cd_size, &hashed) == 0); in test_hash_password_full()
81 assert_se(hash_password_full(i, NULL, NULL, &hashed) == 0); in test_hash_password_full()
82 log_debug("\"%s\" → \"%s\"", i, hashed); in test_hash_password_full()
85 assert_se(test_password_one(hashed, i) == true); in test_hash_password_full()
86 … assert_se(test_password_one(i, hashed) <= 0); /* We get an error for non-utf8 */ in test_hash_password_full()
87 assert_se(test_password_one(hashed, "foobar") == false); in test_hash_password_full()
88 assert_se(test_password_many(STRV_MAKE(hashed), i) == true); in test_hash_password_full()
89 assert_se(test_password_many(STRV_MAKE(hashed), "foobar") == false); in test_hash_password_full()
90 … assert_se(test_password_many(STRV_MAKE(hashed, hashed, hashed), "foobar") == false); in test_hash_password_full()
92 hashed, in test_hash_password_full()
96 hashed, in test_hash_password_full()
100 hashed, in test_hash_password_full()
104 hashed, in test_hash_password_full()