Lines Matching refs:cfb_buf1
290 static unsigned char cfb_buf1[40], cfb_buf2[40], cfb_tmp[8]; variable
376 snprintf(buf2, sizeof(buf2), "%s /", pt(&(cfb_buf1[i]))); in fail_cfb_buf()
391 des_cfb_encrypt(plain, cfb_buf1, bits, sizeof(plain), ks, &cfb_tmp, in cfb_test()
393 if (memcmp(cfb_cipher, cfb_buf1, sizeof(plain)) != 0) in cfb_test()
394 fail_cfb_buf("cfb_encrypt encrypt error", cfb_buf1); in cfb_test()
396 des_cfb_encrypt(cfb_buf1, cfb_buf2, bits, sizeof(plain), ks, &cfb_tmp, in cfb_test()
413 des_cfb64_encrypt(plain, cfb_buf1, 12, ks, &cfb_tmp, &n, DES_ENCRYPT); in cfb64_test()
414 des_cfb64_encrypt(&(plain[12]), &(cfb_buf1[12]), sizeof(plain) - 12, ks, in cfb64_test()
416 if (memcmp(cfb_cipher, cfb_buf1, sizeof(plain)) != 0) in cfb64_test()
417 fail_cfb_buf("cfb_encrypt encrypt error", cfb_buf1); in cfb64_test()
420 des_cfb64_encrypt(cfb_buf1, cfb_buf2, 17, ks, &cfb_tmp, &n, DES_DECRYPT); in cfb64_test()
421 des_cfb64_encrypt(&(cfb_buf1[17]), &(cfb_buf2[17]), in cfb64_test()
438 des_ede3_cfb64_encrypt(plain, cfb_buf1, 12, ks, ks, ks, &cfb_tmp, &n, in ede_cfb64_test()
440 des_ede3_cfb64_encrypt(&(plain[12]), &(cfb_buf1[12]), in ede_cfb64_test()
443 if (memcmp(cfb_cipher, cfb_buf1, sizeof(plain)) != 0) in ede_cfb64_test()
444 fail_cfb_buf("ede_cfb_encrypt encrypt error", cfb_buf1); in ede_cfb64_test()
447 des_ede3_cfb64_encrypt(cfb_buf1, cfb_buf2, (long) 17, ks, ks, ks, in ede_cfb64_test()
449 des_ede3_cfb64_encrypt(&(cfb_buf1[17]), &(cfb_buf2[17]), in ede_cfb64_test()
741 des_cfb_encrypt(&(plain[i]), &(cfb_buf1[i]), in ATF_TC_BODY()
743 if (memcmp(cfb_cipher8, cfb_buf1, sizeof(plain)) != 0) in ATF_TC_BODY()
747 des_cfb_encrypt(&(cfb_buf1[i]), &(cfb_buf2[i]), in ATF_TC_BODY()