Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/netbsd-tests/lib/libdes/
H A Dt_des.c484 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()
944 &cbc_iv, DES_ENCRYPT); in ATF_TC_BODY()
[all …]
/freebsd-14.2/crypto/openssl/test/
H A Ddestest.c186 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 Dbftest.c166 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-14.2/crypto/openssl/demos/cipher/
H A Dariacbc.c29 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()
/freebsd-14.2/sys/contrib/openzfs/module/icp/algs/modes/
H A Dcbc.c62 lastp = (uint8_t *)ctx->cbc_iv; in cbc_encrypt_contiguous_blocks()
130 copy_block((uint8_t *)ctx->cbc_lastp, (uint8_t *)ctx->cbc_iv); in cbc_encrypt_contiguous_blocks()
131 ctx->cbc_lastp = (uint8_t *)ctx->cbc_iv; in cbc_encrypt_contiguous_blocks()
138 (((a) == (ctx)->cbc_lastblock) ? (ctx)->cbc_iv : (ctx)->cbc_lastblock)
249 copy_block((uchar_t *)param, cbc_ctx->cbc_iv); in cbc_init_ctx()
/freebsd-14.2/sys/contrib/openzfs/module/icp/include/modes/
H A Dmodes.h115 #define cbc_iv cbc_common.cc_iv macro