• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (C) 2021 HiSilicon (Shanghai) Technologies CO., LIMITED.
2#
3# This program is free software; you can redistribute it and/or
4# modify it under the terms of the GNU General Public License
5# as published by the Free Software Foundation; either version 2
6# of the License, or (at your option) any later version.
7#
8# This program is distributed in the hope that it will be useful,
9# but WITHOUT ANY WARRANTY; without even the implied warranty of
10# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11# GNU General Public License for more details.
12#
13# You should have received a copy of the GNU General Public License
14# along with this program; if not, write to the Free Software
15# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
16
17CIPHER_DRV_CFLAGS += -I$(CIPHER_BASE_DIR)/drv/cipher_v1.0/drivers/core/include
18CIPHER_DRV_CFLAGS += -I$(CIPHER_BASE_DIR)/drv/cipher_v1.0/drivers/crypto/include
19CIPHER_DRV_CFLAGS += -I$(CIPHER_BASE_DIR)/drv/cipher_v1.0/drivers/extend/include
20
21CIPHER_DRV_OBJS +=  drv/cipher_v1.0/drivers/core/drv_symc_v100.o          \
22                    drv/cipher_v1.0/drivers/core/drv_symc_v200.o          \
23                    drv/cipher_v1.0/drivers/core/drv_hash_v100.o          \
24                    drv/cipher_v1.0/drivers/core/drv_hash_v200.o          \
25                    drv/cipher_v1.0/drivers/core/drv_ifep_rsa_v100.o      \
26                    drv/cipher_v1.0/drivers/core/drv_trng_v100.o          \
27                    drv/cipher_v1.0/drivers/core/drv_trng_v200.o          \
28                    drv/cipher_v1.0/drivers/core/drv_lib.o
29
30CIPHER_DRV_OBJS += drv/cipher_v1.0/drivers/crypto/cryp_symc.o             \
31                   drv/cipher_v1.0/drivers/crypto/cryp_hash.o             \
32                   drv/cipher_v1.0/drivers/crypto/cryp_trng.o             \
33                   drv/cipher_v1.0/drivers/crypto/cryp_rsa.o
34
35CIPHER_DRV_OBJS += drv/cipher_v1.0/drivers/kapi_symc.o                    \
36                   drv/cipher_v1.0/drivers/kapi_hash.o                    \
37                   drv/cipher_v1.0/drivers/kapi_rsa.o                     \
38                   drv/cipher_v1.0/drivers/kapi_trng.o                    \
39                   drv/cipher_v1.0/drivers/kapi_dispatch.o
40
41CIPHER_DRV_OBJS += drv/cipher_v1.0/drivers/extend/ext_aead.o              \
42                   drv/cipher_v1.0/drivers/extend/ext_hash.o              \
43                   drv/cipher_v1.0/drivers/extend/ext_symc.o              \
44                   drv/cipher_v1.0/drivers/extend/ext_sm3.o               \
45                   drv/cipher_v1.0/drivers/extend/ext_sm4.o
46