Home
last modified time | relevance | path

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

/openssl/test/
H A Dbftest.c350 unsigned char cbc_in[40], cbc_out[40], iv[8]; in test_bf_cbc() local
358 memset(cbc_in, 0, sizeof(cbc_in)); in test_bf_cbc()
367 BF_cbc_encrypt(cbc_out, cbc_in, len, &key, iv, BF_DECRYPT); in test_bf_cbc()
376 unsigned char cbc_in[40], cbc_out[40], iv[8]; in test_bf_cfb64() local
384 memset(cbc_in, 0, 40); in test_bf_cfb64()
398 BF_cfb64_encrypt(&(cbc_out[17]), &(cbc_in[17]), len - 17, in test_bf_cfb64()
400 if (!TEST_mem_eq(cbc_in, (int)len, cbc_data, (int)len)) in test_bf_cfb64()
408 unsigned char cbc_in[40], cbc_out[40], iv[8]; in test_bf_ofb64() local
416 memset(cbc_in, 0, 40); in test_bf_ofb64()
429 BF_ofb64_encrypt(cbc_out, cbc_in, 17, &key, iv, &n); in test_bf_ofb64()
[all …]
H A Ddestest.c364 unsigned char cbc_in[40]; in test_des_cbc() local
373 memset(cbc_in, 0, sizeof(cbc_in)); in test_des_cbc()
390 unsigned char cbc_in[40]; in test_des_ede_cbc() local
397 memset(cbc_in, 0, sizeof(cbc_in)); in test_des_ede_cbc()
413 unsigned char cbc_in[40]; in test_ede_cbc() local
425 memset(cbc_in, 0, sizeof(cbc_in)); in test_ede_cbc()
438 return TEST_mem_eq(cbc_in, i, cbc_data, i); in test_ede_cbc()
489 unsigned char cbc_in[40]; in test_des_pcbc() local
497 memset(cbc_in, 0, sizeof(cbc_in)); in test_des_pcbc()
502 DES_pcbc_encrypt(cbc_out, cbc_in, n, &ks, in test_des_pcbc()
[all …]

Completed in 11 milliseconds