Home
last modified time | relevance | path

Searched refs:cbc_iv (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/netbsd-tests/lib/libdes/
H A Dt_des.c226 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 Ddestest.c189 static unsigned char cbc_iv[8] = { variable
475 memcpy(iv3, cbc_iv, sizeof(cbc_iv)); in test_des_cbc()
481 memcpy(iv3, cbc_iv, sizeof(cbc_iv)); in test_des_cbc()
499 memcpy(iv3, cbc_iv, sizeof(cbc_iv)); in test_des_ede_cbc()
504 memcpy(iv3, cbc_iv, sizeof(cbc_iv)); in test_des_ede_cbc()
527 memcpy(iv3, cbc_iv, sizeof(cbc_iv)); in test_ede_cbc()
536 memcpy(iv3, cbc_iv, sizeof(cbc_iv)); in test_ede_cbc()
550 memcpy(iv, cbc_iv, sizeof(cbc_iv)); in test_input_align()
565 memcpy(iv, cbc_iv, sizeof(cbc_iv)); in test_output_align()
600 &cbc_iv, DES_ENCRYPT); in test_des_pcbc()
[all …]
H A Dbftest.c166 static unsigned char cbc_iv[8] = { variable
269 printf("%02X", cbc_iv[j]); in print_test_data()
362 memcpy(iv, cbc_iv, sizeof(iv)); in test_bf_cbc()
368 memcpy(iv, cbc_iv, 8); in test_bf_cbc()
388 memcpy(iv, cbc_iv, 8); in test_bf_cfb64()
398 memcpy(iv, cbc_iv, 8); in test_bf_cfb64()
420 memcpy(iv, cbc_iv, 8); in test_bf_ofb64()
430 memcpy(iv, cbc_iv, 8); in test_bf_ofb64()
/freebsd/crypto/openssl/demos/cipher/
H A Dariacbc.c29 static const unsigned char cbc_iv[] = { variable
93 if (!EVP_EncryptInit_ex2(ctx, cipher, cbc_key, cbc_iv, /* params */ NULL)) in aria_cbc_encrypt()
148 if (!EVP_DecryptInit_ex2(ctx, cipher, cbc_key, cbc_iv, /* params */ NULL)) in aria_cbc_decrypt()