mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-09-24 06:13:43 +08:00
jni api
This commit is contained in:
13
engines/skf/README.md
Normal file
13
engines/skf/README.md
Normal file
@@ -0,0 +1,13 @@
|
||||
# Vendor's SKF Implementation
|
||||
|
||||
This folder can be used to hold vendors' SKF libraries (.so) and header files.
|
||||
For testing the GmSSL SKF ENGINE, a dummy SKF implementation is also provided.
|
||||
This dummy implementation will always success with `SAR_OK` returned.
|
||||
If there is a `HANDLE` need to be initialized, it will be pointed to a new
|
||||
alloced memory. The application need to call `SKF_CloseHandle` to free this
|
||||
small piece memory. If a `ULONG` length need to be returned such as the
|
||||
ciphertext size in the `SKF_Encrypt`, this value will be assigned a non-zero
|
||||
integer value. Some of these values might be correct, but dont check them :)
|
||||
Normally dummy will do nothing to the output buffer, so the result will be
|
||||
incorrect, and will not check NULL pointers.
|
||||
|
||||
Reference in New Issue
Block a user