| /test/xts/acts/security/huks/huks_napi_BasicTest/src/ |
| D | huks_cipher_rsa_test_common.cpp | 23 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
|
| D | huks_cipher_aes_test_common.cpp | 25 … const struct OH_Huks_Blob *inData, struct OH_Huks_Blob *cipherText) in HksAesCipherTestEncrypt() 48 … const 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
|
| D | huks_cipher_sm4_test_common.cpp | 24 … const struct OH_Huks_Blob *inData, struct OH_Huks_Blob *cipherText) in HksSm4CipherTestEncrypt() 47 … const 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
|
| D | huks_cipher_aes_test.cpp | 156 struct OH_Huks_Blob cipherText = {AES_COMMON_SIZE, cipher}; variable
|
| D | huks_three_stage_test_common.cpp | 373 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/ |
| D | hks_test_aes.c | 383 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
|
| D | hks_test_api_performance.c | 43 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/ |
| D | attest_security.c | 270 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/ |
| D | crypto_framework_asym_cipher_test.cpp | 90 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()
|
| D | crypto_framework_sym_cipher_test.cpp | 434 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/ |
| D | utils.cpp | 242 const struct OH_Huks_Blob* plainText, struct OH_Huks_Blob* cipherText) in HuksEncrypt()
|