16#ifndef CHANGE_CIPHER_SPEC_H
17#define CHANGE_CIPHER_SPEC_H
20#include "hitls_build.h"
37int32_t CCS_Init(TLS_Ctx *ctx);
46void CCS_DeInit(TLS_Ctx *ctx);
56bool CCS_IsRecv(
const TLS_Ctx *ctx);
68int32_t CCS_Send(TLS_Ctx *ctx);
81int32_t CCS_Ctrl(TLS_Ctx *ctx, CCS_Cmd cmd);
92int32_t ProcessDecryptedCCS(TLS_Ctx *ctx,
const uint8_t *data, uint32_t dataLen);
103int32_t ProcessPlainCCS(TLS_Ctx *ctx,
const uint8_t *data, uint32_t dataLen);