| /base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/ |
| D | hks_openssl_aes.c | 59 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()
|
| D | hks_openssl_des.c | 98 … 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/ |
| D | hks_core_service_three_stage.c | 60 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 …]
|
| D | hks_keyblob_lite.c | 100 bool isEncrypt, struct HksUsageSpec *usageSpec) in BuildKeyBlobUsageSpec() 141 …int32_t EncryptAndDecryptKeyBlob(struct HksBlob *rawKey, struct HksBlob *cipherKey, bool isEncrypt) in EncryptAndDecryptKeyBlob()
|
| D | hks_keyblob.c | 172 bool isEncrypt, struct HksUsageSpec *usageSpec) in BuildKeyBlobUsageSpec() 199 …t EncryptAndDecryptKeyBlob(const struct HksBlob *aad, struct HksParamSet *paramSet, bool isEncrypt) in EncryptAndDecryptKeyBlob()
|
| D | hks_core_service_key_operate_one_stage.c | 237 bool isEncrypt = (cmdId == HKS_CMD_ID_ENCRYPT); in Cipher() local
|
| /base/security/huks/test/unittest/huks_common_test/src/ |
| D | hks_test_aes_func.cpp | 35 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/ |
| D | dlp_file.cpp | 350 uint64_t offset, bool isEncrypt) in DoDlpBlockCryptOperation()
|
| D | dlp_raw_file.cpp | 950 uint64_t offset, bool isEncrypt) in DoDlpHIAECryptOperation() 1010 uint64_t inFileLen, bool isEncrypt) in DoDlpContentCryptyOperation()
|
| D | dlp_crypt.cpp | 367 …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()
|
| D | dlp_zip_file.cpp | 962 uint64_t inFileLen, bool isEncrypt) in DoDlpContentCryptyOperation()
|
| /base/security/huks/frameworks/huks_standard/main/common/src/ |
| D | hks_crypto_adapter.c | 114 …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/ |
| D | hks_client_service_ipc.c | 349 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/ |
| D | hks_local_engine.c | 202 bool isEncrypt = (cmdId == HKS_CMD_ID_ENCRYPT); in EncryptAndDecrypt() local
|
| /base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/ |
| D | hks_mbedtls_aes.c | 647 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/ |
| D | hks_aes_cipher_ccm_test.cpp | 516 struct HksParamSet *encParamSet, struct HksParamSet *decParamSet, bool isEncrypt, bool isUpdate) in TestAesCcmAbort()
|