Home
last modified time | relevance | path

Searched refs:plainCipher (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.cpp183 …d ImportWrappedKey(const struct HksImportWrappedKeyTestParams *params, struct HksBlob *plainCipher, in ImportWrappedKey() argument
197 …if (memcpy_s(kekTag.data, tagSize, plainCipher->data + (plainCipher->size - tagSize), tagSize) != … in ImportWrappedKey()
200 plainCipher->size -= tagSize; in ImportWrappedKey()
211 … &commonAad, &commonNonce, &kekTag, &keyMaterialLen, plainCipher }; in ImportWrappedKey()
/ohos5.0/docs/zh-cn/application-dev/security/UniversalKeystoreKit/
H A Dhuks-import-wrapped-key-ndk.md393 … struct OH_Huks_Blob *plainCipher, struct OH_Huks_Blob *kekCipherText,
402 std::copy(plainCipher->data + (plainCipher->size - tagSize),
403 plainCipher->data + (plainCipher->size - tagSize) + tagSize, kekTag.data);
404 plainCipher->size -= tagSize;
412 … &commonAad, &commonNonce, &kekTag, &keyMaterialLen, plainCipher};
/ohos5.0/docs/en/application-dev/security/UniversalKeystoreKit/
H A Dhuks-import-wrapped-key-ndk.md393 … struct OH_Huks_Blob *plainCipher, struct OH_Huks_Blob *kekCipherText,
402 std::copy(plainCipher->data + (plainCipher->size - tagSize),
403 plainCipher->data + (plainCipher->size - tagSize) + tagSize, kekTag.data);
404 plainCipher->size -= tagSize;
412 … &commonAad, &commonNonce, &kekTag, &keyMaterialLen, plainCipher};