I am developing a " .a " library file. Inside of that library there are some functions. I have an encryption function for encrypt some text data. My problem is I am passing the plain data as char array into the function. After encrption process done I want to return it as a char array but it's not return.
Before I make the " .a " file it is working properly. After make it, link it into my project, compile and install into POS terminal then it's not working. I don't know what to do.
Are you sure you are populating your char array named encryptData in the encrypt(...) function? How about writing the value of this variable out to a file?