Searched refs:cfb_buf1 (Results 1 – 2 of 2) sorted by relevance
/third_party/openssl/test/ |
D | ideatest.c | 43 static unsigned char cfb_buf1[40], cfb_buf2[40], cfb_tmp[8]; variable 100 IDEA_cfb64_encrypt(plain, cfb_buf1, (long)12, &eks, in test_idea_cfb64() 102 IDEA_cfb64_encrypt(&plain[12], &cfb_buf1[12], in test_idea_cfb64() 105 if (!TEST_mem_eq(cfb_cipher64, CFB_TEST_SIZE, cfb_buf1, CFB_TEST_SIZE)) in test_idea_cfb64() 109 IDEA_cfb64_encrypt(cfb_buf1, cfb_buf2, (long)13, &eks, in test_idea_cfb64() 111 IDEA_cfb64_encrypt(&cfb_buf1[13], &cfb_buf2[13], in test_idea_cfb64()
|
D | destest.c | 246 static unsigned char cfb_buf1[40], cfb_buf2[40], cfb_tmp[8]; variable 513 DES_cfb_encrypt(plain, cfb_buf1, bits, sizeof(plain), &ks, &cfb_tmp, in cfb_test() 515 if (!TEST_mem_eq(cfb_cipher, sizeof(plain), cfb_buf1, sizeof(plain))) in cfb_test() 518 DES_cfb_encrypt(cfb_buf1, cfb_buf2, bits, sizeof(plain), &ks, &cfb_tmp, in cfb_test() 555 DES_cfb64_encrypt(plain, cfb_buf1, 12, &ks, &cfb_tmp, &n, DES_ENCRYPT); in test_des_cfb64() 556 DES_cfb64_encrypt(&plain[12], &cfb_buf1[12], sizeof(plain) - 12, &ks, in test_des_cfb64() 558 if (!TEST_mem_eq(cfb_cipher64, sizeof(plain), cfb_buf1, sizeof(plain))) in test_des_cfb64() 562 DES_cfb64_encrypt(cfb_buf1, cfb_buf2, 17, &ks, &cfb_tmp, &n, DES_DECRYPT); in test_des_cfb64() 563 DES_cfb64_encrypt(&cfb_buf1[17], &cfb_buf2[17], in test_des_cfb64() 570 DES_cfb_encrypt(&plain[i], &cfb_buf1[i], 8, 1, &ks, &cfb_tmp, in test_des_cfb64() [all …]
|