• Home
  • Raw
  • Download

Lines Matching refs:res1

46 	uint8_t res[32], res1[32];  in test_genaes_cbc()  local
83 if (lws_genaes_crypt(&ctx, res, 16, res1, (uint8_t *)cbc256_iv, in test_genaes_cbc()
91 lwsl_hexdump_notice(res1, 16); in test_genaes_cbc()
95 if (lws_timingsafe_bcmp(cbc256, res1, 16)) { in test_genaes_cbc()
139 uint8_t res[32], res1[32]; in test_genaes_cfb128() local
174 if (lws_genaes_crypt(&ctx, res, 16, res1, (uint8_t *)cfb128_iv, in test_genaes_cfb128()
185 if (lws_timingsafe_bcmp(cfb128, res1, 16)) { in test_genaes_cfb128()
187 lwsl_hexdump_notice(res1, 16); in test_genaes_cfb128()
230 uint8_t res[32], res1[32]; in test_genaes_cfb8() local
262 if (lws_genaes_crypt(&ctx, res, 16, res1, (uint8_t *)cfb8_iv, in test_genaes_cfb8()
273 if (lws_timingsafe_bcmp(cfb8, res1, 16)) { in test_genaes_cfb8()
275 lwsl_hexdump_notice(res1, 16); in test_genaes_cfb8()
318 uint8_t res[32], res1[32]; in test_genaes_ctr() local
357 if (lws_genaes_crypt(&ctx, res, 16, res1, nonce_counter, sb, &nc_off, 0)) { in test_genaes_ctr()
367 if (lws_timingsafe_bcmp(ctr, res1, 16)) { in test_genaes_ctr()
369 lwsl_hexdump_notice(res1, 16); in test_genaes_ctr()
411 uint8_t res[32], res1[32]; in test_genaes_ecb() local
446 if (lws_genaes_crypt(&ctx, res, 16, res1, NULL, NULL, NULL, 0)) { in test_genaes_ecb()
456 if (lws_timingsafe_bcmp(ecb, res1, 16)) { in test_genaes_ecb()
506 uint8_t res[32], res1[32]; in test_genaes_ofb() local
541 if (lws_genaes_crypt(&ctx, res, 16, res1, (uint8_t *)ofb_iv, NULL, in test_genaes_ofb()
552 if (lws_timingsafe_bcmp(ofb, res1, 16)) { in test_genaes_ofb()
600 uint8_t res[32], res1[32], data_unit[16]; in test_genaes_xts() local
633 if (lws_genaes_crypt(&ctx, res, 16, res1, data_unit, NULL, NULL, 0)) { in test_genaes_xts()
643 if (lws_timingsafe_bcmp(xts, res1, 16)) { in test_genaes_xts()