Home
last modified time | relevance | path

Searched refs:cbc_in (Results 1 – 2 of 2) sorted by relevance

/openssl/test/
H A Dbftest.c352 unsigned char cbc_in[40], cbc_out[40], iv[8]; in test_bf_cbc() local
360 memset(cbc_in, 0, sizeof(cbc_in)); in test_bf_cbc()
369 BF_cbc_encrypt(cbc_out, cbc_in, len, &key, iv, BF_DECRYPT); in test_bf_cbc()
378 unsigned char cbc_in[40], cbc_out[40], iv[8]; in test_bf_cfb64() local
386 memset(cbc_in, 0, 40); in test_bf_cfb64()
400 BF_cfb64_encrypt(&(cbc_out[17]), &(cbc_in[17]), len - 17, in test_bf_cfb64()
402 if (!TEST_mem_eq(cbc_in, (int)len, cbc_data, (int)len)) in test_bf_cfb64()
410 unsigned char cbc_in[40], cbc_out[40], iv[8]; in test_bf_ofb64() local
418 memset(cbc_in, 0, 40); in test_bf_ofb64()
431 BF_ofb64_encrypt(cbc_out, cbc_in, 17, &key, iv, &n); in test_bf_ofb64()
[all …]
H A Ddestest.c374 unsigned char cbc_in[40]; in test_des_cbc() local
383 memset(cbc_in, 0, sizeof(cbc_in)); in test_des_cbc()
400 unsigned char cbc_in[40]; in test_des_ede_cbc() local
407 memset(cbc_in, 0, sizeof(cbc_in)); in test_des_ede_cbc()
423 unsigned char cbc_in[40]; in test_ede_cbc() local
435 memset(cbc_in, 0, sizeof(cbc_in)); in test_ede_cbc()
448 return TEST_mem_eq(cbc_in, i, cbc_data, i); in test_ede_cbc()
499 unsigned char cbc_in[40]; in test_des_pcbc() local
507 memset(cbc_in, 0, sizeof(cbc_in)); in test_des_pcbc()
512 DES_pcbc_encrypt(cbc_out, cbc_in, n, &ks, in test_des_pcbc()
[all …]

Completed in 7 milliseconds