blob: 1444f4622681a00b9e7c81396cacc5322f72b15d [file] [log] [blame]
Neels Hofmeyr00c06972017-01-31 01:19:27 +01001/* (C) 2016 by sysmocom s.f.m.c. GmbH <info@sysmocom.de>
2 * All Rights Reserved
3 *
4 * Author: Neels Hofmeyr <nhofmeyr@sysmocom.de>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU Affero General Public License as published by
8 * the Free Software Foundation; either version 3 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU Affero General Public License
17 * along with this program. If not, see <http://www.gnu.org/licenses/>.
18 *
19 */
20
21#include <stdio.h>
22#include <string.h>
23
24#include <osmocom/core/application.h>
25#include <osmocom/core/utils.h>
26#include <osmocom/core/logging.h>
27
28#include "logging.h"
29
30#define comment_start() fprintf(stderr, "===== %s\n", __func__);
31#define comment_end() fprintf(stderr, "===== %s: SUCCESS\n\n", __func__);
32
33uint8_t fake_rand[16] = { 0 };
34
35int rand_get(uint8_t *rand, unsigned int len)
36{
37 OSMO_ASSERT(len <= sizeof(fake_rand));
38 memcpy(rand, fake_rand, len);
39 return len;
40}
41
42static void test_gen_vectors_3g_only(void)
43{
44 comment_start();
45 comment_end();
46}
47
48int main()
49{
50 printf("auc_3g_test.c\n");
51 osmo_init_logging(&hlr_log_info);
52 log_set_print_filename(osmo_stderr_target, 0);
53 log_set_print_timestamp(osmo_stderr_target, 0);
54 log_set_use_color(osmo_stderr_target, 0);
55 log_set_print_category(osmo_stderr_target, 1);
56
57 test_gen_vectors_3g_only();
58
59 printf("Done\n");
60 return 0;
61}