EVP_ENCODE_LENGTH
buff = app_malloc(EVP_ENCODE_LENGTH(bsize), "evp buffer");
unsigned char buf[EVP_ENCODE_LENGTH(B64_BLOCK_SIZE) + 10];
|| !TEST_ptr(encode_out = OPENSSL_malloc(EVP_ENCODE_LENGTH(expected->input_len))))