WA-SDK
3.0.4.0
WA-SDK
|
#include "issacapi.h"
데이터 구조 | |
struct | SECONTEXT |
대칭키 암호화 컨텍스트 더 자세히 ... | |
열거형 타입 | |
enum | ISSACAPI_SE_MODES { ISSACAPI_SE_ECB_MODE = 1 , ISSACAPI_SE_CBC_MODE , ISSACAPI_SE_CFB_MODE , ISSACAPI_SE_CFB_BYTE_MODE , ISSACAPI_SE_OFB_MODE , ISSACAPI_SE_OFB_BYTE_MODE , ISSACAPI_SE_CTS_MODE , ISSACAPI_SE_CFB1_MODE , ISSACAPI_SE_CTR_MODE , ISSACAPI_SE_MCFB_MODE , ISSACAPI_SE_GCM_MODE , ISSACAPI_SE_CCM_MODE } |
대칭키 암호 블록 운용모드 더 자세히 ... | |
함수 | |
WA_SDK_API ISSAC_RETURN FUNCCALL | ISSAC_SECONTEXT_Create (SECONTEXT *secontext) |
SECONTEXT 구조체를 초기화한다. 더 자세히 ... | |
WA_SDK_API ISSAC_RETURN FUNCCALL | ISSAC_SECONTEXT_Delete (SECONTEXT *secontext) |
SECONTEXT 에 할당된 메모리를 해제한다. 더 자세히 ... | |
WA_SDK_API ISSAC_RETURN FUNCCALL | ISSAC_SECONTEXT_Set (SECONTEXT *secontext, const void *key, int key_len, const void *iv, int iv_len, int mode, int cipher_id) |
SECONTEXT 에 암호화를 위한 정보들을 입력한다. 더 자세히 ... | |
WA_SDK_API ISSAC_RETURN FUNCCALL | ISSAC_SECONTEXT_Copy (SECONTEXT *destination_secontext, SECONTEXT *source_secontext) |
SECONTEXT 를 복사한다. 더 자세히 ... | |
WA_SDK_API ISSAC_RETURN FUNCCALL | ISSAC_SE_Encrypt (void *ciphertext, int *ciphertext_len, int ciphertext_alloc_len, void *plaintext, int plaintext_len, SECONTEXT *secontext) |
평문을 암호화한다. 더 자세히 ... | |
WA_SDK_API ISSAC_RETURN FUNCCALL | ISSAC_SE_EncryptEx (void *ciphertext, int *ciphertext_len, int ciphertext_alloc_len, void *plaintext, int plaintext_len, SECONTEXT *secontext, int pad_type) |
평문을 암호화한다. 더 자세히 ... | |
WA_SDK_API ISSAC_RETURN FUNCCALL | ISSAC_SE_Decrypt (void *plaintext, int *plaintext_len, int plaintext_alloc_len, void *ciphertext, int ciphertext_len, SECONTEXT *secontext) |
암호문을 복호화한다. 더 자세히 ... | |
WA_SDK_API ISSAC_RETURN FUNCCALL | ISSAC_SE_DecryptEx (void *plaintext, int *plaintext_len, int plaintext_alloc_len, void *ciphertext, int ciphertext_len, SECONTEXT *secontext, int pad_type) |
암호문을 복호화한다. 더 자세히 ... | |
WA_SDK_API ISSAC_RETURN FUNCCALL | ISSAC_SE_Encrypt_File (const char *ciphertext_file, const char *plaintext_file, SECONTEXT *secontext) |
입력한 파일을 암호화한다. 더 자세히 ... | |
WA_SDK_API ISSAC_RETURN FUNCCALL | ISSAC_SE_Decrypt_File (const char *plaintext_file, const char *ciphertext_file, SECONTEXT *secontext) |
입력한 파일을 복호화한다. 더 자세히 ... | |
WA_SDK_API ISSAC_RETURN FUNCCALL | ISSAC_SE_Encrypt_File_BSize (const char *ciphertext_file, const char *plaintext_file, SECONTEXT *secontext, int buffer_size) |
입력한 파일을 암호화한다. (입력한 버퍼크기 사용) 더 자세히 ... | |
WA_SDK_API ISSAC_RETURN FUNCCALL | ISSAC_SE_Decrypt_File_BSize (const char *plaintext_file, const char *ciphertext_file, SECONTEXT *secontext, int buffer_size) |
입력한 파일을 복호화한다. (입력한 버퍼크기 사용) 더 자세히 ... | |
WA_SDK_API ISSAC_RETURN FUNCCALL | ISSAC_SE_Encrypt_Auth (void *ciphertext, int *ciphertext_len, int ciphertext_alloc_len, void *plaintext, int plaintext_len, void *authdata, int authdata_len, void *iv, int iv_len, int tag_len, SECONTEXT *secontext) |
입력한 원문을 CCM/GCM 방식으로 암호화한다. 더 자세히 ... | |
WA_SDK_API ISSAC_RETURN FUNCCALL | ISSAC_SE_Decrypt_Auth (void *plaintext, int *plaintext_len, int plaintext_alloc_len, void *ciphertext, int ciphertext_len, void *authdata, int authdata_len, void *iv, int iv_len, int tag_len, SECONTEXT *secontext) |
입력한 암호문을 CCM/GCM 방식으로 복호화한다. 더 자세히 ... | |
WA_SDK_API ISSAC_RETURN FUNCCALL | ISSAC_SE_Encrypt_CMS (void *ciphertext, int *ciphertext_len, int ciphertext_alloc_len, void *plaintext, int plaintext_len, SECONTEXT *secontext) |
PKCS #7 - EnvelopedData 메시지 형식으로 암호화한다. 더 자세히 ... | |
WA_SDK_API ISSAC_RETURN FUNCCALL | ISSAC_SE_Decrypt_CMS (void *plaintext, int *plaintext_len, int plaintext_alloc_len, void *ciphertext, int ciphertext_len, SECONTEXT *secontext) |
PKCS #7 - EnvelopedData 메시지 형식의 암호문을 복호화한다. 더 자세히 ... | |
WA_SDK_API ISSAC_RETURN FUNCCALL | ISSAC_SE_GetRandom (void *buf, int buflen) |
랜덤값을 생성한다. 더 자세히 ... | |
WA_SDK_API ISSAC_RETURN FUNCCALL | ISSAC_SE_PBKDF_PKCS12_GetKey (void *keyOut, int keyLen, const char *passwd) |
입력된 PIN을 기반으로 암복호화용 키를 생성(유도)한다. (PKCS#12 v1.0 Appendix. B) 더 자세히 ... | |
WA_SDK_API ISSAC_RETURN FUNCCALL | ISSAC_SE_PBKDF_PKCS12_GetKey_Advanced (void *keyOut, int keyLen, int idByte, const char *passwd, const char *salt, int saltLen, int iterations, int hashType) |
입력된 값들을 기반으로 키를 생성(유도)한다. (PKCS#12 v1.0 Appendix. B) 더 자세히 ... | |
WA_SDK_API ISSAC_RETURN FUNCCALL | ISSAC_SE_PBKDF2_GetKey (void *keyOut, int keyLen, const char *passwd, const char *salt, int saltLen, int iterations, int hashType) |
입력된 값들을 기반으로 키를 생성(유도)한다. (PKCS#5 - PBKDF2) 더 자세히 ... | |