Lines Matching refs:buf
173 unsigned char buf[AES_BLOCK_SIZE]; in test_cmac_run() local
200 || !TEST_true(CMAC_Final(ctx, buf, &len))) in test_cmac_run()
203 p = pt(buf, len); in test_cmac_run()
210 || !TEST_true(CMAC_Final(ctx, buf, &len))) in test_cmac_run()
213 p = pt(buf, len); in test_cmac_run()
219 || !TEST_true(CMAC_Final(ctx, buf, &len))) in test_cmac_run()
221 p = pt(buf, len); in test_cmac_run()
227 || !TEST_true(CMAC_Final(ctx, buf, &len))) in test_cmac_run()
229 p = pt(buf, len); in test_cmac_run()
237 || !TEST_true(CMAC_Final(ctx, buf, &len))) in test_cmac_run()
239 p = pt(buf, len); in test_cmac_run()
247 || !TEST_true(CMAC_Final(ctx, buf, &len))) in test_cmac_run()
249 p = pt(buf, len); in test_cmac_run()
256 || !TEST_true(CMAC_Final(ctx, buf, &len))) in test_cmac_run()
258 p = pt(buf, len); in test_cmac_run()
265 || !TEST_true(CMAC_Final(ctx, buf, &len))) in test_cmac_run()
267 p = pt(buf, len); in test_cmac_run()
275 || !TEST_true(CMAC_Final(ctx, buf, &len))) in test_cmac_run()
277 p = pt(buf, len); in test_cmac_run()
286 || !TEST_true(CMAC_Final(ctx, buf, &len))) in test_cmac_run()
288 p = pt(buf, len); in test_cmac_run()
303 unsigned char buf[AES_BLOCK_SIZE]; in test_cmac_copy() local
316 || !TEST_true(CMAC_Final(ctx2, buf, &len))) in test_cmac_copy()
319 p = pt(buf, len); in test_cmac_copy()
334 static char buf[81]; in pt() local
336 for (i = 0; i < len && (i + 1) * OSSL_HEX_CHARS_PER_BYTE < sizeof(buf); i++) in pt()
337 BIO_snprintf(buf + i * OSSL_HEX_CHARS_PER_BYTE, in pt()
339 return buf; in pt()