Searched refs:ofb_buf1 (Results 1 – 1 of 1) sorted by relevance
/third_party/openssl/test/ |
D | destest.c | 283 static unsigned char ofb_buf1[24], ofb_buf2[24], ofb_tmp[8]; variable 611 DES_ofb_encrypt(plain, ofb_buf1, 64, sizeof(plain) / 8, &ks, &ofb_tmp); in test_des_ofb() 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() 633 DES_ofb64_encrypt(&plain[i], &ofb_buf1[i], 1, &ks, &ofb_tmp, &num); 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() [all …]
|