Lines Matching refs:TEST_mem_eq
321 if (!TEST_mem_eq(out, 8, cipher_data[i], 8)) { in test_des_ecb()
326 if (!TEST_mem_eq(in, 8, outin, 8)) { in test_des_ecb()
349 if (!TEST_mem_eq(out, 8, cipher_ecb2[i], 8)) { in test_des_ede_ecb()
354 if (!TEST_mem_eq(in, 8, outin, 8)) { in test_des_ede_ecb()
377 if (!TEST_mem_eq(cbc_out, 32, cbc_ok, 32)) in test_des_cbc()
383 return TEST_mem_eq(cbc_in, cbc_data_len, cbc_data, cbc_data_len); in test_des_cbc()
401 if (!TEST_mem_eq(cbc_out, sizeof(xcbc_ok), xcbc_ok, sizeof(xcbc_ok))) in test_des_ede_cbc()
406 return TEST_mem_eq(cbc_data, n, cbc_data, n); in test_des_ede_cbc()
432 if (!TEST_mem_eq(cbc_out, n, cbc3_ok, n)) in test_ede_cbc()
438 return TEST_mem_eq(cbc_in, i, cbc_data, i); in test_ede_cbc()
500 if (!TEST_mem_eq(cbc_out, sizeof(pcbc_ok), pcbc_ok, sizeof(pcbc_ok))) in test_des_pcbc()
504 return TEST_mem_eq(cbc_in, n, cbc_data, n); in test_des_pcbc()
515 if (!TEST_mem_eq(cfb_cipher, sizeof(plain), cfb_buf1, sizeof(plain))) in cfb_test()
520 return TEST_mem_eq(plain, sizeof(plain), cfb_buf2, sizeof(plain)); in cfb_test()
558 if (!TEST_mem_eq(cfb_cipher64, sizeof(plain), cfb_buf1, sizeof(plain))) in test_des_cfb64()
565 if (!TEST_mem_eq(plain, sizeof(plain), cfb_buf2, sizeof(plain))) in test_des_cfb64()
572 if (!TEST_mem_eq(cfb_cipher8, sizeof(plain), cfb_buf1, sizeof(plain))) in test_des_cfb64()
579 return TEST_mem_eq(plain, sizeof(plain), cfb_buf2, sizeof(plain)); in test_des_cfb64()
594 if (!TEST_mem_eq(cfb_cipher64, sizeof(plain), cfb_buf1, sizeof(plain))) in test_des_ede_cfb64()
602 return TEST_mem_eq(plain, sizeof(plain), cfb_buf2, sizeof(plain)); in test_des_ede_cfb64()
612 if (!TEST_mem_eq(ofb_cipher, sizeof(ofb_buf1), ofb_buf1, sizeof(ofb_buf1))) in test_des_ofb()
618 return TEST_mem_eq(plain, sizeof(ofb_buf2), ofb_buf2, sizeof(ofb_buf2)); in test_des_ofb()
635 if (!TEST_mem_eq(ofb_cipher, sizeof(ofb_buf1), ofb_buf1, sizeof(ofb_buf1))) in test_des_ofb64()
641 return TEST_mem_eq(plain, sizeof(ofb_buf2), ofb_buf2, sizeof(ofb_buf2)); in test_des_ofb64()
659 if (!TEST_mem_eq(ofb_cipher, sizeof(ofb_buf1), ofb_buf1, sizeof(ofb_buf1))) in test_des_ede_ofb64()
665 return TEST_mem_eq(plain, sizeof(ofb_buf2), ofb_buf2, sizeof(ofb_buf2)); in test_des_ede_ofb64()
679 return TEST_mem_eq(cret, 8, cbc_cksum_data, 8); in test_des_cbc_cksum()
766 if (!TEST_mem_eq(in, in_bytes, p_txt, plen)) in test_des_key_wrap()