Lines Matching defs:cfb_buf1
305 static unsigned char cfb_buf1[40], cfb_buf2[40], cfb_tmp[8];
616 des_cfb_encrypt(&(plain[i]), &(cfb_buf1[i]),
618 if (memcmp(cfb_cipher8, cfb_buf1, sizeof(plain)) != 0) {
625 des_cfb_encrypt(&(cfb_buf1[i]), &(cfb_buf2[i]),
842 des_cfb_encrypt(plain, cfb_buf1, bits, sizeof(plain), ks, &cfb_tmp,
844 if (memcmp(cfb_cipher, cfb_buf1, sizeof(plain)) != 0) {
848 printf("%s\n", pt(&(cfb_buf1[i])));
851 des_cfb_encrypt(cfb_buf1, cfb_buf2, bits, sizeof(plain), ks, &cfb_tmp,
857 printf("%s\n", pt(&(cfb_buf1[i])));
870 des_cfb64_encrypt(plain, cfb_buf1, 12, ks, &cfb_tmp, &n, DES_ENCRYPT);
871 des_cfb64_encrypt(&(plain[12]), &(cfb_buf1[12]), sizeof(plain) - 12, ks,
873 if (memcmp(cfb_cipher, cfb_buf1, sizeof(plain)) != 0) {
877 printf("%s\n", pt(&(cfb_buf1[i])));
881 des_cfb64_encrypt(cfb_buf1, cfb_buf2, 17, ks, &cfb_tmp, &n, DES_DECRYPT);
882 des_cfb64_encrypt(&(cfb_buf1[17]), &(cfb_buf2[17]),
901 des_ede3_cfb64_encrypt(plain, cfb_buf1, 12, ks, ks, ks, &cfb_tmp, &n,
903 des_ede3_cfb64_encrypt(&(plain[12]), &(cfb_buf1[12]),
906 if (memcmp(cfb_cipher, cfb_buf1, sizeof(plain)) != 0) {
910 printf("%s\n", pt(&(cfb_buf1[i])));
914 des_ede3_cfb64_encrypt(cfb_buf1, cfb_buf2, (long)17, ks, ks, ks,
916 des_ede3_cfb64_encrypt(&(cfb_buf1[17]), &(cfb_buf2[17]),