le_iks_aesGcm_interface.h File Reference

#include "legato.h"
#include "le_iks_interface.h"
#include "le_iks_aesGcm_common.h"

Go to the source code of this file.

Typedefs

typedef void(* le_iks_aesGcm_DisconnectHandler_t) (void *)
 

Functions

void le_iks_aesGcm_ConnectService (void)
 
le_result_t le_iks_aesGcm_TryConnectService (void)
 
LE_FULL_API void le_iks_aesGcm_SetServerDisconnectHandler (le_iks_aesGcm_DisconnectHandler_t disconnectHandler, void *contextPtr)
 
void le_iks_aesGcm_DisconnectService (void)
 
le_result_t le_iks_aesGcm_EncryptPacket (uint64_t keyRef, uint8_t *noncePtr, size_t *nonceSizePtr, const uint8_t *aadPtr, size_t aadSize, const uint8_t *plaintextPtr, size_t plaintextSize, uint8_t *ciphertextPtr, size_t *ciphertextSizePtr, uint8_t *tagPtr, size_t *tagSizePtr)
 
le_result_t le_iks_aesGcm_DecryptPacket (uint64_t keyRef, const uint8_t *noncePtr, size_t nonceSize, const uint8_t *aadPtr, size_t aadSize, 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_aesGcm_StartEncrypt (uint64_t session, uint8_t *noncePtr, size_t *nonceSizePtr)
 
le_result_t le_iks_aesGcm_ProcessAad (uint64_t session, const uint8_t *aadPtr, size_t aadSize)
 
le_result_t le_iks_aesGcm_Encrypt (uint64_t session, const uint8_t *plaintextChunkPtr, size_t plaintextChunkSize, uint8_t *ciphertextChunkPtr, size_t *ciphertextChunkSizePtr)
 
le_result_t le_iks_aesGcm_DoneEncrypt (uint64_t session, uint8_t *tagPtr, size_t *tagSizePtr)
 
le_result_t le_iks_aesGcm_StartDecrypt (uint64_t session, const uint8_t *noncePtr, size_t nonceSize)
 
le_result_t le_iks_aesGcm_Decrypt (uint64_t session, const uint8_t *ciphertextChunkPtr, size_t ciphertextChunkSize, uint8_t *plaintextChunkPtr, size_t *plaintextChunkSizePtr)
 
le_result_t le_iks_aesGcm_DoneDecrypt (uint64_t session, const uint8_t *tagPtr, size_t tagSize)
 

Detailed Description

Legato IoT Keystore Key Management API API