Searched refs:cfb_tmp (Results 1 – 2 of 2) sorted by relevance
/third_party/openssl/test/ |
D | ideatest.c | 36 static unsigned char cfb_buf1[40], cfb_buf2[40], cfb_tmp[8]; variable 91 memcpy(cfb_tmp, cfb_iv, sizeof(cfb_tmp)); in test_idea_cfb64() 94 cfb_tmp, &n, IDEA_ENCRYPT); in test_idea_cfb64() 97 cfb_tmp, &n, IDEA_ENCRYPT); in test_idea_cfb64() 100 memcpy(cfb_tmp, cfb_iv, sizeof(cfb_tmp)); in test_idea_cfb64() 103 cfb_tmp, &n, IDEA_DECRYPT); in test_idea_cfb64() 106 cfb_tmp, &n, IDEA_DECRYPT); in test_idea_cfb64()
|
D | destest.c | 239 static unsigned char cfb_buf1[40], cfb_buf2[40], cfb_tmp[8]; variable 505 memcpy(cfb_tmp, cfb_iv, sizeof(cfb_iv)); in cfb_test() 506 DES_cfb_encrypt(plain, cfb_buf1, bits, sizeof(plain), &ks, &cfb_tmp, in cfb_test() 510 memcpy(cfb_tmp, cfb_iv, sizeof(cfb_iv)); in cfb_test() 511 DES_cfb_encrypt(cfb_buf1, cfb_buf2, bits, sizeof(plain), &ks, &cfb_tmp, in cfb_test() 546 memcpy(cfb_tmp, cfb_iv, sizeof(cfb_iv)); in test_des_cfb64() 548 DES_cfb64_encrypt(plain, cfb_buf1, 12, &ks, &cfb_tmp, &n, DES_ENCRYPT); in test_des_cfb64() 550 &cfb_tmp, &n, DES_ENCRYPT); in test_des_cfb64() 553 memcpy(cfb_tmp, cfb_iv, sizeof(cfb_iv)); in test_des_cfb64() 555 DES_cfb64_encrypt(cfb_buf1, cfb_buf2, 17, &ks, &cfb_tmp, &n, DES_DECRYPT); in test_des_cfb64() [all …]
|