Home
last modified time | relevance | path

Searched refs:cbc_iv (Results 1 - 3 of 3) sorted by relevance

/third_party/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()
/third_party/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, sizeo in test_ede_cbc()
[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()

Completed in 3 milliseconds