le_iks_ecc_interface.h File Reference

#include "legato.h"
#include "le_iks_interface.h"
#include "le_iks_ecc_common.h"

Go to the source code of this file.

Typedefs

typedef void(* le_iks_ecc_DisconnectHandler_t) (void *)
 

Functions

void le_iks_ecc_ConnectService (void)
 
le_result_t le_iks_ecc_TryConnectService (void)
 
LE_FULL_API void le_iks_ecc_SetServerDisconnectHandler (le_iks_ecc_DisconnectHandler_t disconnectHandler, void *contextPtr)
 
void le_iks_ecc_DisconnectService (void)
 
le_result_t le_iks_ecc_Ecdh_GetSharedSecret (uint64_t privKeyRef, uint64_t pubKeyRef, uint8_t *secretPtr, size_t *secretSizePtr)
 
le_result_t le_iks_ecc_Ecdsa_GenSig (uint64_t keyRef, const uint8_t *digestPtr, size_t digestSize, uint8_t *signaturePtr, size_t *signatureSizePtr)
 
le_result_t le_iks_ecc_Ecdsa_VerifySig (uint64_t keyRef, const uint8_t *digestPtr, size_t digestSize, const uint8_t *signaturePtr, size_t signatureSize)
 
le_result_t le_iks_ecc_Ecies_EncryptPacket (uint64_t keyRef, const uint8_t *labelPtr, size_t labelSize, const uint8_t *plaintextPtr, size_t plaintextSize, uint8_t *ciphertextPtr, size_t *ciphertextSizePtr, uint8_t *ephemKeyPtr, size_t *ephemKeySizePtr, uint8_t *tagPtr, size_t *tagSizePtr)
 
le_result_t le_iks_ecc_Ecies_DecryptPacket (uint64_t keyRef, const uint8_t *labelPtr, size_t labelSize, const uint8_t *ephemKeyPtr, size_t ephemKeySize, const uint8_t *ciphertextPtr, size_t ciphertextSize, uint8_t *plaintextPtr, size_t *plaintextSizePtr, const uint8_t *tagPtr, size_t tagSize)
 
le_result_t le_iks_ecc_Ecies_StartEncrypt (uint64_t session, const uint8_t *labelPtr, size_t labelSize, uint8_t *ephemKeyPtr, size_t *ephemKeySizePtr)
 
le_result_t le_iks_ecc_Ecies_Encrypt (uint64_t session, const uint8_t *plaintextChunkPtr, size_t plaintextChunkSize, uint8_t *ciphertextChunkPtr, size_t *ciphertextChunkSizePtr)
 
le_result_t le_iks_ecc_Ecies_DoneEncrypt (uint64_t session, uint8_t *tagPtr, size_t *tagSizePtr)
 
le_result_t le_iks_ecc_Ecies_StartDecrypt (uint64_t session, const uint8_t *labelPtr, size_t labelSize, const uint8_t *ephemKeyPtr, size_t ephemKeySize)
 
le_result_t le_iks_ecc_Ecies_Decrypt (uint64_t session, const uint8_t *ciphertextChunkPtr, size_t ciphertextChunkSize, uint8_t *plaintextChunkPtr, size_t *plaintextChunkSizePtr)
 
le_result_t le_iks_ecc_Ecies_DoneDecrypt (uint64_t session, const uint8_t *tagPtr, size_t tagSize)
 

Detailed Description

Legato IoT Keystore ECC API API