Searched refs:cbc_iv (Results 1 – 4 of 4) sorted by relevance
/freebsd/contrib/netbsd-tests/lib/libdes/ |
H A D | t_des.c | 226 static unsigned char cbc_iv[8] = { variable 484 memcpy(iv3, cbc_iv, sizeof(cbc_iv)); in ATF_TC_BODY() 496 memcpy(iv3, cbc_iv, sizeof(cbc_iv)); in ATF_TC_BODY() 601 memcpy(iv3, cbc_iv, sizeof(cbc_iv)); in ATF_TC_BODY() 606 memcpy(iv3, cbc_iv, sizeof(cbc_iv)); in ATF_TC_BODY() 632 memcpy(iv3, cbc_iv, sizeof(cbc_iv)); in ATF_TC_BODY() 638 memcpy(iv3, cbc_iv, sizeof(cbc_iv)); in ATF_TC_BODY() 665 memcpy(iv3, cbc_iv, sizeof(cbc_iv)); in ATF_TC_BODY() 674 memcpy(iv3, cbc_iv, sizeof(cbc_iv)); in ATF_TC_BODY() 700 &cbc_iv, DES_ENCRYPT); in ATF_TC_BODY() [all …]
|
/freebsd/crypto/openssl/test/ |
H A D | destest.c | 186 static unsigned char cbc_iv[8] = variable 374 memcpy(iv3, cbc_iv, sizeof(cbc_iv)); in test_des_cbc() 380 memcpy(iv3, cbc_iv, sizeof(cbc_iv)); in test_des_cbc() 398 memcpy(iv3, cbc_iv, sizeof(cbc_iv)); in test_des_ede_cbc() 403 memcpy(iv3, cbc_iv, sizeof(cbc_iv)); in test_des_ede_cbc() 426 memcpy(iv3, cbc_iv, sizeof(cbc_iv)); in test_ede_cbc() 435 memcpy(iv3, cbc_iv, sizeof(cbc_iv)); in test_ede_cbc() 449 memcpy(iv, cbc_iv, sizeof(cbc_iv)); in test_input_align() 464 memcpy(iv, cbc_iv, sizeof(cbc_iv)); in test_output_align() 499 &cbc_iv, DES_ENCRYPT); in test_des_pcbc() [all …]
|
H A D | bftest.c | 166 static unsigned char cbc_iv[8] = variable 267 printf("%02X", cbc_iv[j]); in print_test_data() 360 memcpy(iv, cbc_iv, sizeof(iv)); in test_bf_cbc() 366 memcpy(iv, cbc_iv, 8); in test_bf_cbc() 386 memcpy(iv, cbc_iv, 8); in test_bf_cfb64() 396 memcpy(iv, cbc_iv, 8); in test_bf_cfb64() 418 memcpy(iv, cbc_iv, 8); in test_bf_ofb64() 428 memcpy(iv, cbc_iv, 8); in test_bf_ofb64()
|
/freebsd/crypto/openssl/demos/cipher/ |
H A D | ariacbc.c | 29 static const unsigned char cbc_iv[] = { variable 61 size_t cbc_ivlen = sizeof(cbc_iv); in aria_cbc_encrypt() 81 if (!EVP_EncryptInit_ex2(ctx, cipher, cbc_key, cbc_iv, /* params */ NULL)) in aria_cbc_encrypt() 119 size_t cbc_ivlen = sizeof(cbc_iv); in aria_cbc_decrypt() 137 if (!EVP_DecryptInit_ex2(ctx, cipher, cbc_key, cbc_iv, /* params */ NULL)) in aria_cbc_decrypt()
|