Home
last modified time | relevance | path

Searched defs:isEncrypt (Results 1 – 12 of 12) sorted by relevance

/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/
Dhks_openssl_aes.c58 struct HksCipherParam *cipherParam, bool isEncrypt, const struct HksUsageSpec *usageSpec) in OpensslBlockCipherCryptInitParams()
86 … const struct HksBlob *key, const struct HksUsageSpec *usageSpec, bool isEncrypt, void **cryptoCtx, in ENABLE_CFI()
158 void **cryptoCtx, const struct HksBlob *input, struct HksBlob *output, bool isEncrypt) in OpensslBlockCipherHandleFinalThree()
328 …const struct HksBlob *key, const struct HksUsageSpec *usageSpec, bool isEncrypt, EVP_CIPHER_CTX **… in OpensslAesAeadInit()
444 bool isEncrypt, EVP_CIPHER_CTX *ctx) in OpensslAesAeadCryptSetParam()
471 … const struct HksBlob *key, const struct HksUsageSpec *usageSpec, bool isEncrypt, void **cryptoCtx) in OpensslAesAeadCryptInit()
663 …const struct HksBlob *key, const struct HksUsageSpec *usageSpec, bool isEncrypt, EVP_CIPHER_CTX **… in OpensslAesCipherInit()
/base/security/huks/services/huks_standard/huks_engine/main/core/src/
Dhks_core_service_three_stage.c58 static int32_t CheckRsaCipherData(bool isEncrypt, uint32_t keyLen, struct HksUsageSpec *usageSpec, in CheckRsaCipherData()
99 static int32_t CheckAesCipherAead(bool isEncrypt, const struct HksBlob *inData, in CheckAesCipherAead()
119 static int32_t CheckBlockCipherOther(bool isEncrypt, uint32_t padding, const struct HksBlob *inData, in CheckBlockCipherOther()
153 static int32_t CheckBlockCipherData(bool isEncrypt, const struct HksUsageSpec *usageSpec, in CheckBlockCipherData()
170 static int32_t HksCheckFinishOutSize(bool isEncrypt, struct HksParamSet *paramSet, in HksCheckFinishOutSize()
549 bool isEncrypt = (purposeParam->uint32Param == HKS_KEY_PURPOSE_ENCRYPT) ? true : false; in CoreCipherInit() local
723 bool isEncrypt = (usageSpec.purpose == HKS_KEY_PURPOSE_ENCRYPT) ? true : false; in RsaCipherFinish() local
Dhks_keyblob_lite.c98 bool isEncrypt, struct HksUsageSpec *usageSpec) in BuildKeyBlobUsageSpec()
139 …int32_t EncryptAndDecryptKeyBlob(struct HksBlob *rawKey, struct HksBlob *cipherKey, bool isEncrypt) in EncryptAndDecryptKeyBlob()
Dhks_keyblob.c170 bool isEncrypt, struct HksUsageSpec *usageSpec) in BuildKeyBlobUsageSpec()
197 …t EncryptAndDecryptKeyBlob(const struct HksBlob *aad, struct HksParamSet *paramSet, bool isEncrypt) in EncryptAndDecryptKeyBlob()
Dhks_core_service.c488 bool isEncrypt = (cmdId == HKS_CMD_ID_ENCRYPT); in Cipher() local
/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/src/
Ddlp_crypt.cpp116 …const struct DlpBlob* key, const struct DlpUsageSpec* usageSpec, bool isEncrypt, EVP_CIPHER_CTX** … in OpensslAesCipherInit()
192 const struct DlpCipherParam* cipherParam, bool isEncrypt) in OpensslAesCipherCryptInitParams()
215 … const struct DlpBlob* key, const struct DlpUsageSpec* usageSpec, bool isEncrypt, void** cryptoCtx) in OpensslAesCipherCryptInit()
Ddlp_file.cpp571 uint32_t offset, bool isEncrypt) in DoDlpBlockCryptOperation()
599 uint32_t inFileLen, bool isEncrypt) in DoDlpContentCryptyOperation()
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/sdk_test/src/
Dhks_test_aes.c35 …atic int32_t ConstructParamSetEncryptDecryptAesPre(uint32_t mode, uint32_t padding, bool isEncrypt, in ConstructParamSetEncryptDecryptAesPre()
134 static int32_t ConstructParamSetEncryptDecryptAes(uint32_t mode, uint32_t padding, bool isEncrypt, in ConstructParamSetEncryptDecryptAes()
/base/security/huks/frameworks/huks_standard/main/os_dependency/ipc/src/
Dhks_client_service_ipc.c258 static int32_t AddAeTag(struct HksParamSet *paramSet, const struct HksBlob *inText, bool isEncrypt) in AddAeTag()
284 struct HksBlob *inText, bool isEncrypt) in AddAesTag()
316 …t AppendCipherTag(const struct HksParamSet *paramSet, const struct HksBlob *inText, bool isEncrypt, in AppendCipherTag()
/base/security/huks/frameworks/huks_standard/main/common/src/
Dhks_crypto_adapter.c110 …t HksParamSet *paramSet, struct HksBlob *inputText, struct HksUsageSpec *usageSpec, bool isEncrypt) in HksFillAeadParam()
171 …const struct HksParamSet *paramSet, bool isEncrypt, struct HksBlob *inputText, struct HksUsageSpec… in HksBuildCipherUsageSpec()
/base/security/huks/test/unittest/huks_lite_test/common/
Dhks_test_aes.c36 …atic int32_t ConstructParamSetEncryptDecryptAesPre(uint32_t mode, uint32_t padding, bool isEncrypt, in ConstructParamSetEncryptDecryptAesPre()
135 static int32_t ConstructParamSetEncryptDecryptAes(uint32_t mode, uint32_t padding, bool isEncrypt, in ConstructParamSetEncryptDecryptAes()
/base/security/huks/frameworks/huks_standard/main/core/src/
Dhks_local_engine.c201 bool isEncrypt = (cmdId == HKS_CMD_ID_ENCRYPT); in EncryptAndDecrypt() local