Lines Matching refs:pw
43 char *pw = qcrypto_secret_lookup_as_utf8("sec0", in test_secret_direct() local
46 g_assert_cmpstr(pw, ==, "123456"); in test_secret_direct()
49 g_free(pw); in test_secret_direct()
74 char *pw = qcrypto_secret_lookup_as_utf8("sec0", in test_secret_indirect_good() local
77 g_assert_cmpstr(pw, ==, "123456"); in test_secret_indirect_good()
80 g_free(pw); in test_secret_indirect_good()
120 char *pw = qcrypto_secret_lookup_as_utf8("sec0", in test_secret_indirect_emptyfile() local
123 g_assert_cmpstr(pw, ==, ""); in test_secret_indirect_emptyfile()
126 g_free(pw); in test_secret_indirect_emptyfile()
157 char *pw = qcrypto_secret_lookup_as_utf8("sec0", in test_secret_keyring_good() local
159 g_assert_cmpstr(pw, ==, PAYLOAD); in test_secret_keyring_good()
162 g_free(pw); in test_secret_keyring_good()
285 char *pw = qcrypto_secret_lookup_as_base64("sec0", in test_secret_noconv_base64_good() local
288 g_assert_cmpstr(pw, ==, "MTIzNDU2"); in test_secret_noconv_base64_good()
291 g_free(pw); in test_secret_noconv_base64_good()
321 char *pw = qcrypto_secret_lookup_as_utf8("sec0", in test_secret_noconv_utf8() local
324 g_assert_cmpstr(pw, ==, "123456"); in test_secret_noconv_utf8()
327 g_free(pw); in test_secret_noconv_utf8()
342 char *pw = qcrypto_secret_lookup_as_utf8("sec0", in test_secret_conv_base64_utf8valid() local
345 g_assert_cmpstr(pw, ==, "123456"); in test_secret_conv_base64_utf8valid()
348 g_free(pw); in test_secret_conv_base64_utf8valid()
363 char *pw = qcrypto_secret_lookup_as_utf8("sec0", in test_secret_conv_base64_utf8invalid() local
365 g_assert(pw == NULL); in test_secret_conv_base64_utf8invalid()
381 char *pw = qcrypto_secret_lookup_as_base64("sec0", in test_secret_conv_utf8_base64() local
384 g_assert_cmpstr(pw, ==, "MTIzNDU2"); in test_secret_conv_utf8_base64()
387 g_free(pw); in test_secret_conv_utf8_base64()
413 char *pw = qcrypto_secret_lookup_as_utf8("sec0", in test_secret_crypt_raw() local
416 g_assert_cmpstr(pw, ==, "123456"); in test_secret_crypt_raw()
420 g_free(pw); in test_secret_crypt_raw()
445 char *pw = qcrypto_secret_lookup_as_utf8("sec0", in test_secret_crypt_base64() local
448 g_assert_cmpstr(pw, ==, "123456"); in test_secret_crypt_base64()
452 g_free(pw); in test_secret_crypt_base64()