Lines Matching refs:iv3
376 DES_cblock iv3; in test_des_cbc() local
384 memcpy(iv3, cbc_iv, sizeof(cbc_iv)); in test_des_cbc()
386 &iv3, DES_ENCRYPT); in test_des_cbc()
390 memcpy(iv3, cbc_iv, sizeof(cbc_iv)); in test_des_cbc()
392 &iv3, DES_DECRYPT); in test_des_cbc()
398 DES_cblock iv3; in test_des_ede_cbc() local
408 memcpy(iv3, cbc_iv, sizeof(cbc_iv)); in test_des_ede_cbc()
409 DES_xcbc_encrypt(cbc_data, cbc_out, n, &ks, &iv3, &cbc2_key, &cbc3_key, in test_des_ede_cbc()
413 memcpy(iv3, cbc_iv, sizeof(cbc_iv)); in test_des_ede_cbc()
414 DES_xcbc_encrypt(cbc_out, cbc_in, n, &ks, &iv3, &cbc2_key, &cbc3_key, in test_des_ede_cbc()
421 DES_cblock iv3; in test_ede_cbc() local
436 memcpy(iv3, cbc_iv, sizeof(cbc_iv)); in test_ede_cbc()
438 DES_ede3_cbc_encrypt(cbc_data, cbc_out, 16L, &ks, &ks2, &ks3, &iv3, in test_ede_cbc()
441 &ks3, &iv3, DES_ENCRYPT); in test_ede_cbc()
445 memcpy(iv3, cbc_iv, sizeof(cbc_iv)); in test_ede_cbc()
446 DES_ede3_cbc_encrypt(cbc_out, cbc_in, i, &ks, &ks2, &ks3, &iv3, in test_ede_cbc()