Searched refs:cfb_buf2 (Results 1 - 1 of 1) sorted by relevance

/freebsd-13-stable/contrib/netbsd-tests/lib/libdes/
H A Dt_des.c290 static unsigned char cfb_buf1[40], cfb_buf2[40], cfb_tmp[8]; variable
396 des_cfb_encrypt(cfb_buf1, cfb_buf2, bits, sizeof(plain), ks, &cfb_tmp,
398 if (memcmp(plain, cfb_buf2, sizeof(plain)) != 0)
399 fail_cfb_buf("cfb_encrypt decrypt error", cfb_buf2);
420 des_cfb64_encrypt(cfb_buf1, cfb_buf2, 17, ks, &cfb_tmp, &n, DES_DECRYPT);
421 des_cfb64_encrypt(&(cfb_buf1[17]), &(cfb_buf2[17]),
423 if (memcmp(plain, cfb_buf2, sizeof(plain)) != 0)
424 fail_cfb_buf("cfb_encrypt decrypt error", cfb_buf2);
447 des_ede3_cfb64_encrypt(cfb_buf1, cfb_buf2, (long) 17, ks, ks, ks,
449 des_ede3_cfb64_encrypt(&(cfb_buf1[17]), &(cfb_buf2[1
[all...]

Completed in 92 milliseconds