Home
last modified time | relevance | path

Searched defs:cipherText (Results 1 – 11 of 11) sorted by relevance

/test/xts/acts/security/huks/huks_napi_BasicTest/src/
Dhuks_cipher_rsa_test_common.cpp23 struct OH_Huks_Blob *cipherText) in HksRsaCipherTestEncryptAbnormal()
49 struct OH_Huks_Blob *cipherText) in HksRsaCipherTestEncrypt()
71 const struct OH_Huks_Blob *cipherText, in HksRsaCipherTestDecrypt()
115 struct OH_Huks_Blob cipherText = {Unittest::RsaCipher::RSA_COMMON_SIZE, cipher}; in HksRsaCipherTestCase() local
154 struct OH_Huks_Blob cipherText = {Unittest::RsaCipher::RSA_COMMON_SIZE, cipher}; in HksRsaCipherTestCaseAbnormal() local
Dhuks_cipher_aes_test_common.cpp25 … const struct OH_Huks_Blob *inData, struct OH_Huks_Blob *cipherText) in HksAesCipherTestEncrypt()
48const struct OH_Huks_Blob *cipherText, struct OH_Huks_Blob *plainText, in HksAesCipherTestDecrypt()
93 struct OH_Huks_Blob cipherText = {AES_COMMON_SIZE, cipher}; in HksAesCipherTestCaseOther() local
124 struct OH_Huks_Blob cipherText = {AES_COMMON_SIZE, cipher}; in HksAesCipherTestCaseGcm2() local
Dhuks_cipher_sm4_test_common.cpp24 … const struct OH_Huks_Blob *inData, struct OH_Huks_Blob *cipherText) in HksSm4CipherTestEncrypt()
47const struct OH_Huks_Blob *cipherText, struct OH_Huks_Blob *plainText, in HksSm4CipherTestDecrypt()
90 struct OH_Huks_Blob cipherText = {SM4_COMMON_SIZE, cipher}; in HksSm4CipherTestCaseOther() local
Dhuks_cipher_aes_test.cpp156 struct OH_Huks_Blob cipherText = {AES_COMMON_SIZE, cipher}; variable
Dhuks_three_stage_test_common.cpp373 const struct OH_Huks_Blob *plainText, struct OH_Huks_Blob *cipherText) in HuksEncrypt()
449 const struct OH_Huks_Blob *cipherText, struct OH_Huks_Blob *plainText) in HuksDecrypt()
/test/xts/acts/security_lite/huks/common/
Dhks_test_aes.c383 struct HksBlob cipherText = { g_bufferSize, g_buffer }; in TestAes256ByAgree() local
451 struct HksBlob cipherText = { g_bufferSize, g_buffer }; in TestAes256ByAgree1() local
509 struct HksBlob cipherText = { g_bufferSize, g_buffer }; in TestAes256ByAgree2() local
577 struct HksBlob cipherText = { g_bufferSize, g_buffer }; in TestAes256ByLocal() local
Dhks_test_api_performance.c43 const struct HksBlob *plainText, struct HksBlob *cipherText, uint32_t performTimes) in HksEncryptRun()
66 const struct HksBlob *cipherText, struct HksBlob *plainText, uint32_t performTimes) in HksDecryptRun()
/test/xts/device_attest/services/core/security/
Dattest_security.c270 static int32_t DecryptHksImpl(struct HksBlob *cipherText, uint8_t *outputData, size_t outputDataLen) in DecryptHksImpl()
329 struct HksBlob cipherText = { sizeof(encryptData), encryptData }; in DecryptHks() local
442 struct HksBlob cipherText = { HKS_ENCRYPT_LEN, tmpOut }; in EncryptHksImpl() local
/test/xts/acts/security/crypto_framework_napi_BasicTest/src/
Dcrypto_framework_asym_cipher_test.cpp90 size_t blockSize, Crypto_CipherMode mode, Crypto_DataBlob *msg, Crypto_DataBlob *cipherText) in OHTEST_DoSegmentAsymCipher()
468 size_t blockSize, Crypto_DataBlob *msg, Crypto_DataBlob *cipherText, int *cipherIndex) in OHTEST_DoSM2EncryptCipher()
513 Crypto_DataBlob *msg, Crypto_DataBlob *cipherText, int *cipherIndex) in OHTEST_DoSM2DecryptCipher()
Dcrypto_framework_sym_cipher_test.cpp434 uint8_t cipherText[OH_CRYPTO_SYM_CIPHER_TEST_DATA_SIZE + 16] = {0}; variable
530 uint8_t cipherText[OH_CRYPTO_SYM_CIPHER_TEST_DATA_SIZE + 16] = {0}; variable
/test/xts/acts/security/huks/huks_ndk_Test/entry/src/main/cpp/
Dutils.cpp242 const struct OH_Huks_Blob* plainText, struct OH_Huks_Blob* cipherText) in HuksEncrypt()