Searched refs:isNeedNewNonce (Results 1 – 2 of 2) sorted by relevance
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/include/crypto/ |
H A D | huks_master.h | 40 bool EncryptKey(KeyContext &ctx, const UserAuth &auth, const KeyInfo &key, bool isNeedNewNonce); 42 bool DecryptKey(KeyContext &ctx, const UserAuth &auth, KeyInfo &key, bool isNeedNewNonce);
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/ |
H A D | huks_master.cpp | 613 const bool isNeedNewNonce) in GenHuksOptionParam() argument 647 ret = isNeedNewNonce ? AppendNonceAadToken(ctx, auth, paramSet) in GenHuksOptionParam() 732 …sMaster::EncryptKey(KeyContext &ctx, const UserAuth &auth, const KeyInfo &key, bool isNeedNewNonce) in EncryptKey() argument 749 HksParamSet *paramSet2 = GenHuksOptionParam(ctx, auth, true, isNeedNewNonce); in EncryptKey() 765 …ol HuksMaster::DecryptKey(KeyContext &ctx, const UserAuth &auth, KeyInfo &key, bool isNeedNewNonce) in DecryptKey() argument 782 HksParamSet *paramSet2 = GenHuksOptionParam(ctx, auth, false, isNeedNewNonce); in DecryptKey()
|