Home
last modified time | relevance | path

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

/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/
Dhks_openssl_aes.c59 struct HksCipherParam *cipherParam, bool isEncrypt, const struct HksUsageSpec *usageSpec) in OpensslBlockCipherCryptInitParams()
87 … const struct HksBlob *key, const struct HksUsageSpec *usageSpec, bool isEncrypt, void **cryptoCtx, in ENABLE_CFI()
159 void **cryptoCtx, const struct HksBlob *input, struct HksBlob *output, bool isEncrypt) in OpensslBlockCipherHandleFinalThree()
347 …const struct HksBlob *key, const struct HksUsageSpec *usageSpec, bool isEncrypt, EVP_CIPHER_CTX **… in OpensslAesAeadInit()
463 bool isEncrypt, EVP_CIPHER_CTX *ctx) in OpensslAesAeadCryptSetParam()
490 … const struct HksBlob *key, const struct HksUsageSpec *usageSpec, bool isEncrypt, void **cryptoCtx) in OpensslAesAeadCryptInit()
678 const bool isEncrypt, EVP_CIPHER_CTX *ctx) in OpensslAesAeadCipherSetParam()
717 const bool isEncrypt, void **cryptoCtx) in OpensslAesAeadCipherInit()
806 …t OpensslAesAeadCipherFinal(void **cryptoCtx, const struct HksUsageSpec *usageSpec, bool isEncrypt, in OpensslAesAeadCipherFinal()
865 …const struct HksBlob *key, const struct HksUsageSpec *usageSpec, bool isEncrypt, EVP_CIPHER_CTX **… in OpensslAesCipherInit()
Dhks_openssl_des.c98 … int32_t OpensslDesCipherInitParams(const struct HksBlob *key, EVP_CIPHER_CTX *ctx, bool isEncrypt, in OpensslDesCipherInitParams()
117 …ensslDesCipherInit(const struct HksBlob *key, const struct HksUsageSpec *usageSpec, bool isEncrypt, in OpensslDesCipherInit()
/base/security/huks/services/huks_standard/huks_engine/main/core/src/
Dhks_core_service_three_stage.c60 static int32_t CheckRsaCipherData(bool isEncrypt, uint32_t keyLen, struct HksUsageSpec *usageSpec, in CheckRsaCipherData()
101 static int32_t CheckSm2CipherData(bool isEncrypt, const struct HksUsageSpec *usageSpec, const struc… in CheckSm2CipherData()
122 static int32_t CheckAesCipherAead(bool isEncrypt, const struct HksBlob *inData, in CheckAesCipherAead()
141 static int32_t CheckBlockCipherOther(uint32_t mode, bool isEncrypt, const struct HksUsageSpec *usag… in CheckBlockCipherOther()
179 static int32_t CheckBlockCipherData(bool isEncrypt, const struct HksUsageSpec *usageSpec, in CheckBlockCipherData()
201 static int32_t HksCheckFinishOutSize(bool isEncrypt, struct HksParamSet *paramSet, in HksCheckFinishOutSize()
793 bool isEncrypt = (purposeParam->uint32Param == HKS_KEY_PURPOSE_ENCRYPT) ? true : false; local
952 static int32_t CoreAesCcmCipherFinish(const struct HuksKeyNode *keyNode, const bool isEncrypt,
1035 static int32_t CoreAesCipherFinish(const struct HuksKeyNode *keyNode, const bool isEncrypt,
1129 static int32_t CoreDesCipherFinish(const struct HuksKeyNode *keyNode, const bool isEncrypt,
[all …]
Dhks_keyblob_lite.c100 bool isEncrypt, struct HksUsageSpec *usageSpec) in BuildKeyBlobUsageSpec()
141 …int32_t EncryptAndDecryptKeyBlob(struct HksBlob *rawKey, struct HksBlob *cipherKey, bool isEncrypt) in EncryptAndDecryptKeyBlob()
Dhks_keyblob.c172 bool isEncrypt, struct HksUsageSpec *usageSpec) in BuildKeyBlobUsageSpec()
199 …t EncryptAndDecryptKeyBlob(const struct HksBlob *aad, struct HksParamSet *paramSet, bool isEncrypt) in EncryptAndDecryptKeyBlob()
Dhks_core_service_key_operate_one_stage.c237 bool isEncrypt = (cmdId == HKS_CMD_ID_ENCRYPT); in Cipher() local
/base/security/huks/test/unittest/huks_common_test/src/
Dhks_test_aes_func.cpp35 int32_t ConstructParamSetEncryptDecryptAesPre(uint32_t mode, uint32_t padding, bool isEncrypt, in ConstructParamSetEncryptDecryptAesPre()
134 int32_t ConstructParamSetEncryptDecryptAes(uint32_t mode, uint32_t padding, bool isEncrypt, in ConstructParamSetEncryptDecryptAes()
/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/src/
Ddlp_file.cpp350 uint64_t offset, bool isEncrypt) in DoDlpBlockCryptOperation()
Ddlp_raw_file.cpp950 uint64_t offset, bool isEncrypt) in DoDlpHIAECryptOperation()
1010 uint64_t inFileLen, bool isEncrypt) in DoDlpContentCryptyOperation()
Ddlp_crypt.cpp367 …const struct DlpBlob* key, const struct DlpUsageSpec* usageSpec, bool isEncrypt, EVP_CIPHER_CTX** … in OpensslAesCipherInit()
443 const struct DlpCipherParam* cipherParam, bool isEncrypt) in OpensslAesCipherCryptInitParams()
466 … const struct DlpBlob* key, const struct DlpUsageSpec* usageSpec, bool isEncrypt, void** cryptoCtx) in OpensslAesCipherCryptInit()
Ddlp_zip_file.cpp962 uint64_t inFileLen, bool isEncrypt) in DoDlpContentCryptyOperation()
/base/security/huks/frameworks/huks_standard/main/common/src/
Dhks_crypto_adapter.c114 …t HksParamSet *paramSet, struct HksBlob *inputText, struct HksUsageSpec *usageSpec, bool isEncrypt) in HksFillAeadParam()
221 …const struct HksParamSet *paramSet, bool isEncrypt, struct HksBlob *inputText, struct HksUsageSpec… in HksBuildCipherUsageSpec()
/base/security/huks/frameworks/huks_standard/main/os_dependency/ipc/src/
Dhks_client_service_ipc.c349 static int32_t AddAeTag(struct HksParamSet *paramSet, const struct HksBlob *inText, bool isEncrypt) in AddAeTag()
372 struct HksBlob *inText, bool isEncrypt) in AddAesTag()
404 …t AppendCipherTag(const struct HksParamSet *paramSet, const struct HksBlob *inText, bool isEncrypt, in AppendCipherTag()
/base/security/huks/frameworks/huks_standard/main/core/src/
Dhks_local_engine.c202 bool isEncrypt = (cmdId == HKS_CMD_ID_ENCRYPT); in EncryptAndDecrypt() local
/base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/
Dhks_mbedtls_aes.c647 struct HksBlob *cipherText, bool isEncrypt) in MbedtlsGcmUpdate()
668 …sGcmFinish(mbedtls_gcm_context *gcmCtx, uint8_t *tagAeadData, uint32_t tagAeadSize, bool isEncrypt) in MbedtlsGcmFinish()
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/symmetric_alg_test/
Dhks_aes_cipher_ccm_test.cpp516 struct HksParamSet *encParamSet, struct HksParamSet *decParamSet, bool isEncrypt, bool isUpdate) in TestAesCcmAbort()