Home
last modified time | relevance | path

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

/third_party/openssl/test/
Ddestest.c180 static unsigned char cbc_key[8] = variable
370 if (!TEST_int_eq(DES_set_key_checked(&cbc_key, &ks), 0)) in test_des_cbc()
394 if (!TEST_int_eq(DES_set_key_checked(&cbc_key, &ks), 0)) in test_des_ede_cbc()
418 if (!TEST_int_eq(DES_set_key_checked(&cbc_key, &ks), 0)) in test_ede_cbc()
450 if (!TEST_int_eq(DES_set_key_checked(&cbc_key, &ks), 0)) in test_input_align()
465 if (!TEST_int_eq(DES_set_key_checked(&cbc_key, &ks), 0)) in test_output_align()
494 if (!TEST_int_eq(DES_set_key_checked(&cbc_key, &ks), 0)) in test_des_pcbc()
674 DES_set_key_checked(&cbc_key, &ks); in test_des_cbc_cksum()
734 memcpy(key, cbc_key, sizeof(cbc_key)); in test_des_key_wrap()
735 memcpy(key + sizeof(cbc_key), cbc2_key, sizeof(cbc2_key)); in test_des_key_wrap()
[all …]
Dbftest.c162 static unsigned char cbc_key[16] = { variable
264 printf("%02X", cbc_key[j]); in print_test_data()
357 BF_set_key(&key, 16, cbc_key); in test_bf_cbc()
383 BF_set_key(&key, 16, cbc_key); in test_bf_cfb64()
415 BF_set_key(&key, 16, cbc_key); in test_bf_ofb64()
/third_party/openssl/demos/cipher/
Dariacbc.c22 static const unsigned char cbc_key[] = { variable
81 if (!EVP_EncryptInit_ex2(ctx, cipher, cbc_key, cbc_iv, /* params */ NULL)) in aria_cbc_encrypt()
137 if (!EVP_DecryptInit_ex2(ctx, cipher, cbc_key, cbc_iv, /* params */ NULL)) in aria_cbc_decrypt()
/third_party/ffmpeg/libavutil/tests/
Ddes.c43 static const uint8_t cbc_key[] = { variable
57 av_des_init(&d, cbc_key, 192, decrypt); in run_test()