Searched refs:BUFFER_SIZE (Results 1 – 2 of 2) sorted by relevance
/openssl/test/ |
H A D | afalgtest.c | 23 #define BUFFER_SIZE 17 macro 32 unsigned char ebuf[BUFFER_SIZE + 32]; in test_afalg_aes_cbc() 33 unsigned char dbuf[BUFFER_SIZE + 32]; in test_afalg_aes_cbc() 43 static const unsigned char in[BUFFER_SIZE] = in test_afalg_aes_cbc() 46 static const unsigned char encresult_128[BUFFER_SIZE] = in test_afalg_aes_cbc() 49 static const unsigned char encresult_192[BUFFER_SIZE] = in test_afalg_aes_cbc() 52 static const unsigned char encresult_256[BUFFER_SIZE] = in test_afalg_aes_cbc() 86 || !TEST_true(EVP_CipherUpdate(ctx, ebuf, &encl, in, BUFFER_SIZE)) in test_afalg_aes_cbc() 91 if (!TEST_mem_eq(enc_result, BUFFER_SIZE, ebuf, BUFFER_SIZE)) in test_afalg_aes_cbc() 101 if (!TEST_int_eq(decl, BUFFER_SIZE) in test_afalg_aes_cbc() [all …]
|
H A D | bio_comp_test.c | 23 #define BUFFER_SIZE 32 * 1024 macro 86 if (!TEST_ptr(original = OPENSSL_malloc(BUFFER_SIZE)) in do_bio_comp() 87 || !TEST_ptr(result = OPENSSL_malloc(BUFFER_SIZE))) in do_bio_comp() 93 memset(original, 0, BUFFER_SIZE); in do_bio_comp() 97 memset(original, 1, BUFFER_SIZE); in do_bio_comp() 101 for (i = 0; i < BUFFER_SIZE; i++) in do_bio_comp() 106 if (!TEST_int_gt(RAND_bytes(original, BUFFER_SIZE), 0)) in do_bio_comp()
|
Completed in 7 milliseconds