Home
last modified time | relevance | path

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

/openssl/test/
H A Ddestest.c180 static unsigned char cbc_key[8] = { variable
380 if (!TEST_int_eq(DES_set_key_checked(&cbc_key, &ks), 0)) in test_des_cbc()
404 if (!TEST_int_eq(DES_set_key_checked(&cbc_key, &ks), 0)) in test_des_ede_cbc()
428 if (!TEST_int_eq(DES_set_key_checked(&cbc_key, &ks), 0)) in test_ede_cbc()
460 if (!TEST_int_eq(DES_set_key_checked(&cbc_key, &ks), 0)) in test_input_align()
475 if (!TEST_int_eq(DES_set_key_checked(&cbc_key, &ks), 0)) in test_output_align()
504 if (!TEST_int_eq(DES_set_key_checked(&cbc_key, &ks), 0)) in test_des_pcbc()
684 DES_set_key_checked(&cbc_key, &ks); in test_des_cbc_cksum()
744 memcpy(key, cbc_key, sizeof(cbc_key)); in test_des_key_wrap()
745 memcpy(key + sizeof(cbc_key), cbc2_key, sizeof(cbc2_key)); in test_des_key_wrap()
[all …]
H A Dbftest.c162 static unsigned char cbc_key[16] = { variable
266 printf("%02X", cbc_key[j]); in print_test_data()
359 BF_set_key(&key, 16, cbc_key); in test_bf_cbc()
385 BF_set_key(&key, 16, cbc_key); in test_bf_cfb64()
417 BF_set_key(&key, 16, cbc_key); in test_bf_ofb64()
/openssl/demos/cipher/
H A Dariacbc.c22 static const unsigned char cbc_key[] = { variable
79 if (!EVP_EncryptInit_ex2(ctx, cipher, cbc_key, cbc_iv, /* params */ NULL)) in aria_cbc_encrypt()
134 if (!EVP_DecryptInit_ex2(ctx, cipher, cbc_key, cbc_iv, /* params */ NULL)) in aria_cbc_decrypt()

Completed in 10 milliseconds