HomeSort by: relevance | last modified time | path
    Searched defs:cfb_buf1 (Results 1 - 1 of 1) sorted by relevancy

  /src/tests/lib/libdes/
t_des.c 290 static unsigned char cfb_buf1[40], cfb_buf2[40], cfb_tmp[8]; variable in typeref:typename:unsigned char[40]
376 snprintf(buf2, sizeof(buf2), "%s /", pt(&(cfb_buf1[i])));
391 des_cfb_encrypt(plain, cfb_buf1, bits, sizeof(plain), ks, &cfb_tmp,
393 if (memcmp(cfb_cipher, cfb_buf1, sizeof(plain)) != 0)
394 fail_cfb_buf("cfb_encrypt encrypt error", cfb_buf1);
396 des_cfb_encrypt(cfb_buf1, cfb_buf2, bits, sizeof(plain), ks, &cfb_tmp,
413 des_cfb64_encrypt(plain, cfb_buf1, 12, ks, &cfb_tmp, &n, DES_ENCRYPT);
414 des_cfb64_encrypt(&(plain[12]), &(cfb_buf1[12]), sizeof(plain) - 12, ks,
416 if (memcmp(cfb_cipher, cfb_buf1, sizeof(plain)) != 0)
417 fail_cfb_buf("cfb_encrypt encrypt error", cfb_buf1);
    [all...]

Completed in 30 milliseconds