Searched refs:cipher_ (Results 1 – 7 of 7) sorted by relevance
/ohos5.0/base/security/crypto_framework/frameworks/cj/src/ |
H A D | cipher_impl.cpp | 22 cipher_ = cipher; in CipherImpl() 32 if (cipher_ == nullptr) { in CipherInit() 36 HcfResult res = cipher_->init(cipher_, opMode, key, params); in CipherInit() 42 if (cipher_ == nullptr) { in CipherUpdate() 46 HcfResult res = cipher_->update(cipher_, input, output); in CipherUpdate() 52 if (cipher_ == nullptr) { in CipherDoFinal() 56 HcfResult res = cipher_->doFinal(cipher_, input, output); in CipherDoFinal() 66 return cipher_->setCipherSpecUint8Array(cipher_, item, pSource); in SetCipherSpec() 75 return cipher_->getCipherSpecString(cipher_, item, &returnString); in GetCipherSpecString() 84 return cipher_->getCipherSpecUint8Array(cipher_, item, returnUint8Array); in GetCipherSpecUint8Array() [all …]
|
/ohos5.0/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/src/ |
H A D | dlp_file.cpp | 78 cipher_.tagIv.iv.size = 0; in DlpFile() 80 cipher_.encKey.size = 0; in DlpFile() 83 cipher_.hmacKey.size = 0; in DlpFile() 95 (void)memset_s(cipher_.encKey.data, cipher_.encKey.size, 0, cipher_.encKey.size); in ~DlpFile() 102 (void)memset_s(cipher_.tagIv.iv.data, cipher_.tagIv.iv.size, 0, cipher_.tagIv.iv.size); in ~DlpFile() 122 (void)memset_s(cipher_.hmacKey.data, cipher_.hmacKey.size, 0, cipher_.hmacKey.size); in ~DlpFile() 318 cipher_.usageSpec.algParam = &cipher_.tagIv; in SetCipher() 1204 …if (inPlainFileFd < 0 || dlpFd_ < 0 || !IsValidCipher(cipher_.encKey, cipher_.usageSpec, cipher_.h… in GenFile() 1296 if (!IsValidCipher(cipher_.encKey, cipher_.usageSpec, cipher_.hmacKey)) { in RemoveDlpPermission() 1313 opFd < 0 || !IsValidCipher(cipher_.encKey, cipher_.usageSpec, cipher_.hmacKey)) { in DlpFileRead() [all …]
|
/ohos5.0/base/security/crypto_framework/frameworks/cj/include/ |
H A D | cipher_impl.h | 40 HcfCipher *cipher_;
|
/ohos5.0/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/test/ |
H A D | dlp_file_test.cpp | 971 testFile.cipher_.usageSpec = specOld; 1126 testFile.cipher_.usageSpec = spec; 1154 testFile.cipher_.usageSpec = spec; 1181 testFile.cipher_.usageSpec = spec; 1331 testFile.cipher_.encKey.size = 0; 1333 testFile.cipher_.encKey.size = 16; 1392 testFile.cipher_.encKey.size = 0; 1394 testFile.cipher_.encKey.size = 16; 1646 testFile.cipher_.encKey.size = 0; 1648 testFile.cipher_.encKey.size = 16; [all …]
|
/ohos5.0/base/security/crypto_framework/frameworks/js/napi/crypto/inc/ |
H A D | napi_cipher.h | 51 HcfCipher *cipher_;
|
/ohos5.0/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/include/ |
H A D | dlp_file.h | 253 struct DlpCipher cipher_; variable
|
/ohos5.0/base/security/crypto_framework/frameworks/js/napi/crypto/src/ |
H A D | napi_cipher.cpp | 506 this->cipher_ = cipher; in NapiCipher() 511 HcfObjDestroy(this->cipher_); in ~NapiCipher() 516 return this->cipher_; in GetCipher()
|