Home
last modified time | relevance | path

Searched refs:plainCipherText (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
H A Dhks_import_wrapped_test_common.cpp167 struct HksBlob *plainCipherText, struct HksBlob *kekCipherText) in EncryptImportedPlainKeyAndKek() argument
174 …ksEncryptForDe(params->callerKekAlias, encryptParamSet, params->importedPlainKey, plainCipherText); in EncryptImportedPlainKeyAndKek()
242 struct HksBlob plainCipherText = { MAX_KEY_SIZE, plainKeyCipherBuffer }; in HksImportWrappedKeyTestCommonCase() local
249 EncryptImportedPlainKeyAndKek(params, &plainCipherText, &kekCipherText); in HksImportWrappedKeyTestCommonCase()
250 … ImportWrappedKey(params, &plainCipherText, &kekCipherText, &callerSelfPublicKey, &wrappedKeyData); in HksImportWrappedKeyTestCommonCase()
/ohos5.0/docs/zh-cn/application-dev/security/UniversalKeystoreKit/
H A Dhuks-import-wrapped-key-ndk.md376 struct OH_Huks_Blob *plainCipherText,
384 … = HuksEncrypt(params->callerKekAlias, encryptParamSet, params->importedPlainKey, plainCipherText);
436 struct OH_Huks_Blob plainCipherText = {OH_HUKS_MAX_KEY_SIZE, plainKeyCipherBuffer};
469 ret = EncryptImportedPlainKeyAndKek(params, &plainCipherText, &kekCipherText);
474 * 本示例作为变量存放在callerSelfPublicKey,plainCipherText,kekCipherText
477 …ret = ImportWrappedKey(params, &plainCipherText, &kekCipherText, &callerSelfPublicKey, &wrappedKey…
/ohos5.0/docs/en/application-dev/security/UniversalKeystoreKit/
H A Dhuks-import-wrapped-key-ndk.md376 struct OH_Huks_Blob *plainCipherText,
384 … = HuksEncrypt(params->callerKekAlias, encryptParamSet, params->importedPlainKey, plainCipherText);
436 struct OH_Huks_Blob plainCipherText = {OH_HUKS_MAX_KEY_SIZE, plainKeyCipherBuffer};
469 ret = EncryptImportedPlainKeyAndKek(params, &plainCipherText, &kekCipherText);
477 …ret = ImportWrappedKey(params, &plainCipherText, &kekCipherText, &callerSelfPublicKey, &wrappedKey…