Lines Matching refs:buf
110 unsigned char buf[AES_BLOCK_SIZE]; in test_cmac_run() local
119 || !TEST_true(CMAC_Final(ctx, buf, &len))) in test_cmac_run()
122 p = pt(buf, len); in test_cmac_run()
129 || !TEST_true(CMAC_Final(ctx, buf, &len))) in test_cmac_run()
132 p = pt(buf, len); in test_cmac_run()
138 || !TEST_true(CMAC_Final(ctx, buf, &len))) in test_cmac_run()
140 p = pt(buf, len); in test_cmac_run()
146 || !TEST_true(CMAC_Final(ctx, buf, &len))) in test_cmac_run()
148 p = pt(buf, len); in test_cmac_run()
156 || !TEST_true(CMAC_Final(ctx, buf, &len))) in test_cmac_run()
158 p = pt(buf, len); in test_cmac_run()
172 unsigned char buf[AES_BLOCK_SIZE]; in test_cmac_copy() local
185 || !TEST_true(CMAC_Final(ctx2, buf, &len))) in test_cmac_copy()
188 p = pt(buf, len); in test_cmac_copy()
202 static char buf[80]; in pt() local
205 sprintf(&(buf[i * 2]), "%02x", md[i]); in pt()
206 return buf; in pt()