/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/ |
D | hks_openssl_aes.c | 58 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/ |
D | hks_core_service_three_stage.c | 58 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
|
D | hks_keyblob_lite.c | 98 bool isEncrypt, struct HksUsageSpec *usageSpec) in BuildKeyBlobUsageSpec() 139 …int32_t EncryptAndDecryptKeyBlob(struct HksBlob *rawKey, struct HksBlob *cipherKey, bool isEncrypt) in EncryptAndDecryptKeyBlob()
|
D | hks_keyblob.c | 170 bool isEncrypt, struct HksUsageSpec *usageSpec) in BuildKeyBlobUsageSpec() 197 …t EncryptAndDecryptKeyBlob(const struct HksBlob *aad, struct HksParamSet *paramSet, bool isEncrypt) in EncryptAndDecryptKeyBlob()
|
D | hks_core_service.c | 488 bool isEncrypt = (cmdId == HKS_CMD_ID_ENCRYPT); in Cipher() local
|
/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/src/ |
D | dlp_crypt.cpp | 116 …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()
|
D | dlp_file.cpp | 571 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/ |
D | hks_test_aes.c | 35 …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/ |
D | hks_client_service_ipc.c | 258 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/ |
D | hks_crypto_adapter.c | 110 …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/ |
D | hks_test_aes.c | 36 …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/ |
D | hks_local_engine.c | 201 bool isEncrypt = (cmdId == HKS_CMD_ID_ENCRYPT); in EncryptAndDecrypt() local
|