OpenSSL-for-Android-Prebuilt icon indicating copy to clipboard operation
OpenSSL-for-Android-Prebuilt copied to clipboard

SHA512 calls

Open vinod-jaiswal18 opened this issue 9 years ago • 3 comments

Hello,

Kindly help me with usage guide for SHA512.

Thanks, Vinod

vinod-jaiswal18 avatar Oct 29 '15 07:10 vinod-jaiswal18

In what way? Have you got the library linked or loaded?

Hello,

Kindly help me with usage guide for SHA512.

Thanks, Vinod

— Reply to this email directly or view it on GitHub https://github.com/emileb/OpenSSL-for-Android-Prebuilt/issues/3.

emileb avatar Oct 29 '15 08:10 emileb

I have linked the library using the Android.mk.

include $(CLEAR_VARS) LOCAL_MODULE := openssl LOCAL_SRC_FILES := $(TARGET_ARCH_ABI)/lib/libssl.so LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/include/openssl include $(PREBUILT_SHARED_LIBRARY)

include $(CLEAR_VARS) LOCAL_MODULE := opencrypto LOCAL_SRC_FILES := $(TARGET_ARCH_ABI)/lib/libcrypto.so LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/include/openssl include $(PREBUILT_SHARED_LIBRARY)

And have placed the files in jni directory of Android Studio Project.

vinod-jaiswal18 avatar Oct 29 '15 08:10 vinod-jaiswal18

Does the library link OK? If you just need help with OpenSSL I suggest you search for "openSSL sha c code example" as that is all I would do to help ☺ Thanks On 29 Oct 2015 08:52, "Vinod Jaiswal" [email protected] wrote:

I have linked the library using the Android.mk.

— Reply to this email directly or view it on GitHub https://github.com/emileb/OpenSSL-for-Android-Prebuilt/issues/3#issuecomment-152115097 .

emileb avatar Oct 29 '15 08:10 emileb