Searched refs:ofb_buf1 (Results 1 – 2 of 2) sorted by relevance
| /freebsd-14.2/contrib/netbsd-tests/lib/libdes/ |
| H A D | t_des.c | 770 if (memcmp(ofb_cipher, ofb_buf1, sizeof(ofb_buf1)) != 0) { in ATF_TC_BODY() 774 ofb_buf1[8 + 0], ofb_buf1[8 + 1], in ATF_TC_BODY() 775 ofb_buf1[8 + 2], ofb_buf1[8 + 3], in ATF_TC_BODY() 776 ofb_buf1[8 + 4], ofb_buf1[8 + 5], in ATF_TC_BODY() 777 ofb_buf1[8 + 6], ofb_buf1[8 + 7], in ATF_TC_BODY() 784 des_ofb_encrypt(ofb_buf1, ofb_buf2, 64, sizeof(ofb_buf1) / 8, ks, in ATF_TC_BODY() 817 memset(ofb_buf1, 0, sizeof(ofb_buf1)); in ATF_TC_BODY() 824 if (memcmp(ofb_cipher, ofb_buf1, sizeof(ofb_buf1)) != 0) { in ATF_TC_BODY() 851 memset(ofb_buf1, 0, sizeof(ofb_buf1)); in ATF_TC_BODY() 858 if (memcmp(ofb_cipher, ofb_buf1, sizeof(ofb_buf1)) != 0) { in ATF_TC_BODY() [all …]
|
| /freebsd-14.2/crypto/openssl/test/ |
| H A D | destest.c | 283 static unsigned char ofb_buf1[24], ofb_buf2[24], ofb_tmp[8]; variable 612 if (!TEST_mem_eq(ofb_cipher, sizeof(ofb_buf1), ofb_buf1, sizeof(ofb_buf1))) in test_des_ofb() 616 DES_ofb_encrypt(ofb_buf1, ofb_buf2, 64, sizeof(ofb_buf1) / 8, &ks, in test_des_ofb() 629 memset(ofb_buf1, 0, sizeof(ofb_buf1)); in test_des_ofb64() 630 memset(ofb_buf2, 0, sizeof(ofb_buf1)); in test_des_ofb64() 635 if (!TEST_mem_eq(ofb_cipher, sizeof(ofb_buf1), ofb_buf1, sizeof(ofb_buf1))) in test_des_ofb64() 639 DES_ofb64_encrypt(ofb_buf1, ofb_buf2, sizeof(ofb_buf1), &ks, &ofb_tmp, in test_des_ofb64() 652 memset(ofb_buf1, 0, sizeof(ofb_buf1)); in test_des_ede_ofb64() 653 memset(ofb_buf2, 0, sizeof(ofb_buf1)); in test_des_ede_ofb64() 659 if (!TEST_mem_eq(ofb_cipher, sizeof(ofb_buf1), ofb_buf1, sizeof(ofb_buf1))) in test_des_ede_ofb64() [all …]
|