Lines Matching refs:exp_output
92 const char *exp_output = NULL; in test_hmac_alloc() local
100 exp_output = data->hex_digest; in test_hmac_alloc()
112 g_assert(exp_output[j * 2] == hex[(result[j] >> 4) & 0xf]); in test_hmac_alloc()
113 g_assert(exp_output[j * 2 + 1] == hex[result[j] & 0xf]); in test_hmac_alloc()
131 const char *exp_output = NULL; in test_hmac_prealloc() local
139 exp_output = data->hex_digest; in test_hmac_prealloc()
141 resultlen = strlen(exp_output) / 2; in test_hmac_prealloc()
153 exp_output = data->hex_digest; in test_hmac_prealloc()
155 g_assert(exp_output[j * 2] == hex[(result[j] >> 4) & 0xf]); in test_hmac_prealloc()
156 g_assert(exp_output[j * 2 + 1] == hex[result[j] & 0xf]); in test_hmac_prealloc()
174 const char *exp_output = NULL; in test_hmac_iov() local
187 exp_output = data->hex_digest; in test_hmac_iov()
198 g_assert(exp_output[j * 2] == hex[(result[j] >> 4) & 0xf]); in test_hmac_iov()
199 g_assert(exp_output[j * 2 + 1] == hex[result[j] & 0xf]); in test_hmac_iov()
216 const char *exp_output = NULL; in test_hmac_digest() local
223 exp_output = data->hex_digest; in test_hmac_digest()
234 g_assert_cmpstr((const char *)result, ==, exp_output); in test_hmac_digest()