Home
last modified time | relevance | path

Searched refs:plainCipher (Results 1 – 2 of 2) sorted by relevance

/test/xts/acts/security/huks/huks_napi_BasicTest/src/
Dhuks_wrapped_test_common.cpp173 …ortWrappedKey(const struct HksImportWrappedKeyTestParams *params, struct OH_Huks_Blob *plainCipher, in ImportWrappedKey() argument
187 …if (memcpy_s(kekTag.data, tagSize, plainCipher->data + (plainCipher->size - tagSize), tagSize) != … in ImportWrappedKey()
190 plainCipher->size -= tagSize; in ImportWrappedKey()
201 … &commonAad, &commonNonce, &kekTag, &keyMaterialLen, plainCipher}; in ImportWrappedKey()
/test/xts/acts/security/huks/huks_ndk_Test/entry/src/main/cpp/
Dutils.cpp385 … struct OH_Huks_Blob* plainCipher, struct OH_Huks_Blob* kekCipherText, in ImportWrappedKey() argument
394 std::copy(plainCipher->data + (plainCipher->size - tagSize), in ImportWrappedKey()
395 plainCipher->data + (plainCipher->size - tagSize) + tagSize, kekTag.data); in ImportWrappedKey()
396 plainCipher->size -= tagSize; in ImportWrappedKey()
403 … &commonAad, &commonNonce, &kekTag, &keyMaterialLen, plainCipher}; in ImportWrappedKey()