• Home
  • Raw
  • Download

Lines Matching refs:TEST_mem_eq

314     if (!TEST_mem_eq(out, 8, cipher_data[i], 8)) {  in test_des_ecb()
319 if (!TEST_mem_eq(in, 8, outin, 8)) { in test_des_ecb()
342 if (!TEST_mem_eq(out, 8, cipher_ecb2[i], 8)) { in test_des_ede_ecb()
347 if (!TEST_mem_eq(in, 8, outin, 8)) { in test_des_ede_ecb()
370 if (!TEST_mem_eq(cbc_out, 32, cbc_ok, 32)) in test_des_cbc()
376 return TEST_mem_eq(cbc_in, cbc_data_len, cbc_data, cbc_data_len); in test_des_cbc()
394 if (!TEST_mem_eq(cbc_out, sizeof(xcbc_ok), xcbc_ok, sizeof(xcbc_ok))) in test_des_ede_cbc()
399 return TEST_mem_eq(cbc_data, n, cbc_data, n); in test_des_ede_cbc()
425 if (!TEST_mem_eq(cbc_out, n, cbc3_ok, n)) in test_ede_cbc()
431 return TEST_mem_eq(cbc_in, i, cbc_data, i); in test_ede_cbc()
493 if (!TEST_mem_eq(cbc_out, sizeof(pcbc_ok), pcbc_ok, sizeof(pcbc_ok))) in test_des_pcbc()
497 return TEST_mem_eq(cbc_in, n, cbc_data, n); in test_des_pcbc()
508 if (!TEST_mem_eq(cfb_cipher, sizeof(plain), cfb_buf1, sizeof(plain))) in cfb_test()
513 return TEST_mem_eq(plain, sizeof(plain), cfb_buf2, sizeof(plain)); in cfb_test()
551 if (!TEST_mem_eq(cfb_cipher64, sizeof(plain), cfb_buf1, sizeof(plain))) in test_des_cfb64()
558 if (!TEST_mem_eq(plain, sizeof(plain), cfb_buf2, sizeof(plain))) in test_des_cfb64()
565 if (!TEST_mem_eq(cfb_cipher8, sizeof(plain), cfb_buf1, sizeof(plain))) in test_des_cfb64()
572 return TEST_mem_eq(plain, sizeof(plain), cfb_buf2, sizeof(plain)); in test_des_cfb64()
587 if (!TEST_mem_eq(cfb_cipher64, sizeof(plain), cfb_buf1, sizeof(plain))) in test_des_ede_cfb64()
595 return TEST_mem_eq(plain, sizeof(plain), cfb_buf2, sizeof(plain)); in test_des_ede_cfb64()
605 if (!TEST_mem_eq(ofb_cipher, sizeof(ofb_buf1), ofb_buf1, sizeof(ofb_buf1))) in test_des_ofb()
611 return TEST_mem_eq(plain, sizeof(ofb_buf2), ofb_buf2, sizeof(ofb_buf2)); in test_des_ofb()
628 if (!TEST_mem_eq(ofb_cipher, sizeof(ofb_buf1), ofb_buf1, sizeof(ofb_buf1))) in test_des_ofb64()
634 return TEST_mem_eq(plain, sizeof(ofb_buf2), ofb_buf2, sizeof(ofb_buf2)); in test_des_ofb64()
652 if (!TEST_mem_eq(ofb_cipher, sizeof(ofb_buf1), ofb_buf1, sizeof(ofb_buf1))) in test_des_ede_ofb64()
658 return TEST_mem_eq(plain, sizeof(ofb_buf2), ofb_buf2, sizeof(ofb_buf2)); in test_des_ede_ofb64()
672 return TEST_mem_eq(cret, 8, cbc_cksum_data, 8); in test_des_cbc_cksum()