/test/xts/acts/security/huks/huks_napi_BasicTest/src/ |
H A D | huks_cipher_sm4_test_common.cpp | 90 struct OH_Huks_Blob cipherText = {SM4_COMMON_SIZE, cipher}; in HksSm4CipherTestCaseOther() local 22 HksSm4CipherTestEncrypt(const struct OH_Huks_Blob *keyAlias, const struct OH_Huks_ParamSet *encryptParamSet, const struct OH_Huks_Blob *inData, struct OH_Huks_Blob *cipherText) HksSm4CipherTestEncrypt() argument 45 HksSm4CipherTestDecrypt(const struct OH_Huks_Blob *keyAlias, const struct OH_Huks_ParamSet *decryptParamSet, const struct OH_Huks_Blob *cipherText, struct OH_Huks_Blob *plainText, const struct OH_Huks_Blob *inData) HksSm4CipherTestDecrypt() argument
|
H A D | huks_cipher_aes_test.cpp | 156 struct OH_Huks_Blob cipherText = {AES_COMMON_SIZE, cipher}; in HWTEST_F() local
|
H A D | huks_cipher_rsa_test_common.cpp | 20 HksRsaCipherTestEncryptAbnormal(const struct OH_Huks_Blob *keyAlias, const struct OH_Huks_ParamSet *encryptParamSet, const struct OH_Huks_Blob *inData, struct OH_Huks_Blob *cipherText) HksRsaCipherTestEncryptAbnormal() argument 46 HksRsaCipherTestEncrypt(const struct OH_Huks_Blob *keyAlias, const struct OH_Huks_ParamSet *encryptParamSet, const struct OH_Huks_Blob *inData, struct OH_Huks_Blob *cipherText) HksRsaCipherTestEncrypt() argument 69 HksRsaCipherTestDecrypt(const struct OH_Huks_Blob *keyAlias, const struct OH_Huks_ParamSet *decryptParamSet, const struct OH_Huks_Blob *cipherText, struct OH_Huks_Blob *plainText, const struct OH_Huks_Blob *inData) HksRsaCipherTestDecrypt() argument 115 struct OH_Huks_Blob cipherText = {Unittest::RsaCipher::RSA_COMMON_SIZE, cipher}; HksRsaCipherTestCase() local 154 struct OH_Huks_Blob cipherText = {Unittest::RsaCipher::RSA_COMMON_SIZE, cipher}; HksRsaCipherTestCaseAbnormal() local [all...] |
H A D | huks_cipher_aes_test_common.cpp | 93 struct OH_Huks_Blob cipherText = {AES_COMMON_SIZE, cipher}; in HksAesCipherTestCaseOther() local 124 struct OH_Huks_Blob cipherText in HksAesCipherTestCaseGcm2() local 23 HksAesCipherTestEncrypt(const struct OH_Huks_Blob *keyAlias, const struct OH_Huks_ParamSet *encryptParamSet, const struct OH_Huks_Blob *inData, struct OH_Huks_Blob *cipherText) HksAesCipherTestEncrypt() argument 46 HksAesCipherTestDecrypt(const struct OH_Huks_Blob *keyAlias, const struct OH_Huks_ParamSet *decryptParamSet, const struct OH_Huks_Blob *cipherText, struct OH_Huks_Blob *plainText, const struct OH_Huks_Blob *inData) HksAesCipherTestDecrypt() argument [all...] |
H A D | huks_three_stage_test_common.cpp | 372 HuksEncrypt(const struct OH_Huks_Blob *key, const struct OH_Huks_ParamSet *paramSet, const struct OH_Huks_Blob *plainText, struct OH_Huks_Blob *cipherText) HuksEncrypt() argument 448 HuksDecrypt(const struct OH_Huks_Blob *key, const struct OH_Huks_ParamSet *paramSet, const struct OH_Huks_Blob *cipherText, struct OH_Huks_Blob *plainText) HuksDecrypt() argument
|
/test/xts/acts/security_lite/huks/common/ |
H A D | hks_test_api_performance.c | 42 HksEncryptRun(const struct HksBlob *key, const struct HksParamSet *paramSet, const struct HksBlob *plainText, struct HksBlob *cipherText, uint32_t performTimes) HksEncryptRun() argument 65 HksDecryptRun(const struct HksBlob *key, const struct HksParamSet *paramSet, const struct HksBlob *cipherText, struct HksBlob *plainText, uint32_t performTimes) HksDecryptRun() argument
|
H A 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
|
/test/xts/acts/security/crypto_framework_napi_BasicTest/src/ |
H A D | crypto_framework_sym_cipher_test.cpp | 431 uint8_t cipherText[OH_CRYPTO_SYM_CIPHER_TEST_DATA_SIZE + 16] = {0}; in HWTEST_P() local 523 uint8_t cipherText[OH_CRYPTO_SYM_CIPHER_TEST_DATA_SIZE + 16] = {0}; in HWTEST_P() local
|
/test/xts/device_attest/services/core/security/ |
H A D | attest_security.c | 270 static int32_t DecryptHksImpl(struct HksBlob *cipherText, uint8_t *outputData, size_t outputDataLen) in DecryptHksImpl() argument 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/huks/huks_ndk_Test/entry/src/main/cpp/ |
H A D | utils.cpp | 241 HuksEncrypt(const struct OH_Huks_Blob* key, const struct OH_Huks_ParamSet* paramSet, const struct OH_Huks_Blob* plainText, struct OH_Huks_Blob* cipherText) HuksEncrypt() argument
|