AnsweredAssumed Answered

/Examples_Crypto/Src/example_rsa_encdec.c:224: undefined reference to `AccHw_RSA_PKCS1v15_Encrypt'

Question asked by yu.jeff.001 on Jan 11, 2017
Latest reply on Jan 17, 2017 by yu.jeff.001

hi i am new to linux,.


this is my first time to use command line makefile to compile.


i now encounter a problem that

 undefined reference to `AccHw_RSA_PKCS1v15_Encrypt' in the /Examples_Crypto/Src/example_rsa_encdec.c

but i have already added the library path and library for that

LFLAGS += -L$(TOPDIR)Middlewares/ST/STM32_Crypto_AccHw/Lib -lSTM32AccHwCryptoV3.1.0_F2_GCC -lSTM32AccHwCryptoV3.1.0_F2_GCC_ot -lm


main.elf: $(OBJS)
$(CC) $(LFLAGS) -o $@ $(OBJS)
@echo "linked "$<"!\n"


I would appreicate if anyone can help.