aboutsummaryrefslogtreecommitdiff
path: root/test/validation/crypto/crypto.h
blob: 7cb60d4a7de74d70f5c3cf7ca19b62b347f5e3fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/* Copyright (c) 2015, Linaro Limited
 * All rights reserved.
 *
 * SPDX-License-Identifier:     BSD-3-Clause
 */

#ifndef _ODP_TEST_CRYPTO_H_
#define _ODP_TEST_CRYPTO_H_

#include "odp_cunit_common.h"

/* test functions: */
void crypto_test_enc_alg_3des_cbc(void);
void crypto_test_enc_alg_3des_cbc_ovr_iv(void);
void crypto_test_dec_alg_3des_cbc(void);
void crypto_test_dec_alg_3des_cbc_ovr_iv(void);
void crypto_test_alg_hmac_md5(void);

/* test arrays: */
extern odp_testinfo_t crypto_suite[];

/* test array init/term functions: */
int crypto_suite_sync_init(void);
int crypto_suite_async_init(void);

/* test registry: */
extern odp_suiteinfo_t crypto_suites[];

/* executable init/term functions: */
int crypto_init(void);
int crypto_term(void);

/* main test program: */
int crypto_main(void);

#endif