Home
last modified time | relevance | path

Searched defs:plain (Results 1 - 23 of 23) sorted by relevance

/base/security/device_auth/frameworks/deviceauth_lite/source/auth_info/
H A Dremove_auth_info_client.c76 struct uint8_buff plain = { NULL, 0, 0 }; in build_remove_request_data() local
125 struct uint8_buff plain = { 0, 0, 0 }; in parse_remove_response_data() local
[all...]
H A Dremove_auth_info.c78 struct uint8_buff plain = { 0, 0, 0 }; in parse_remove_request_data() local
101 struct uint8_buff plain = { in build_remove_response_data() local
[all...]
H A Dauth_info.c75 int32_t encrypt_payload(const struct var_buffer *key, const struct uint8_buff *plain, in encrypt_payload() argument
93 decrypt_payload(const struct var_buffer *key, const struct uint8_buff *payload, const char *aad, struct uint8_buff *plain) decrypt_payload() argument
[all...]
H A Dexchange_auth_info_client.c99 struct uint8_buff plain = { 0, 0, 0 }; in parse_exchange_response_data() local
153 struct uint8_buff plain; build_exchange_request() local
[all...]
/base/security/asset/services/crypto_manager/src/
H A Dcrypto.rs145 let mut plain: Vec<u8> = vec![0; cipher.len() - TAG_SIZE - NONCE_SIZE]; in decrypt() variables
/base/security/asset/test/unittest/module_test/src/
H A Dhuks_wrapper_test.cpp107 uint8_t plain[6 + TAG_SIZE + NONCE_SIZE] = { 0 }; in HWTEST_F() local
132 uint8_t plain[6 + TAG_SIZE + NONCE_SIZE] = { 0 }; in HWTEST_F() local
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/asymmetric_alg_test/
H A Dhks_rsa_cipher_test_common.cpp137 uint8_t plain[Unittest::RsaCipher::RSA_COMMON_SIZE] = {0}; in HksRsaCipherTestCase() local
H A Dhks_sm2_cipher_test.cpp466 uint8_t plain[SM2_COMMON_SIZE] = {0}; in HksSm2CipherTestRun() local
671 uint8_t plain[SM2_COMMON_SIZE] = {0}; in HksSm2CipherTestRunByNdk() local
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
H A Dhks_sm4_cipher_test_common.cpp96 uint8_t plain[SM4_COMMON_SIZE] = {0}; in HksSm4CipherTestCaseOther() local
160 uint8_t plain[SM4_COMMON_SIZE] = {0}; in HksSm4CipherTestCaseGcm() local
H A Dhks_change_storage_level_part1_test.cpp298 uint8_t plain[AES_COMMON_SIZE] = { 0 }; in HWTEST_F() local
H A Dhks_cross_test.cpp81 uint8_t plain[CROSS_COMMON_SIZE] = {0}; in HWTEST_F() local
124 uint8_t plain[CROSS_COMMON_SIZE] = {0}; in HWTEST_F() local
171 uint8_t plain[CROSS_COMMON_SIZE] = {0}; in HWTEST_F() local
219 uint8_t plain[CROSS_COMMON_SIZE] = {0}; in HWTEST_F() local
/base/web/webview/ohos_adapter/keystore_adapter/src/
H A Dkeystore_adapter_impl.cpp195 uint8_t plain[AES_COMMON_SIZE] = {0}; in DecryptKey() local
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webview/
H A Dark_paste_data_record_adapter_impl.cpp35 std::shared_ptr<std::string>* plain = static_cast<std::shared_ptr<std::string>*>(plainText); in NewRecord() local
/base/security/device_auth/frameworks/deviceauth_lite/source/key_agreement/
H A Dsts_client.c369 struct uint8_buff plain = {request_sign.signature, request_sign.length, request_sign.length}; in build_end_request_data() local
/base/security/huks/frameworks/crypto_lite/cipher/src/
H A Dcipher_rsa.c322 static int32_t RsaEncrypt(RsaKeyData *key, const RsaData *plain, RsaData *cipher) in RsaEncrypt() argument
385 static int32_t RsaPkcs1Decrypt(mbedtls_rsa_context *rsa, size_t rsaLen, RsaData *cipher, RsaData *plain) in RsaPkcs1Decrypt() argument
440 static int32_t RsaDecrypt(RsaKeyData *key, RsaData *cipher, RsaData *plain) in RsaDecrypt() argument
[all...]
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/symmetric_alg_test/
H A Dhks_aes_cipher_test_common.cpp181 uint8_t plain[AES_COMMON_SIZE] = {0}; in HksAesCipherTestCaseOther() local
237 uint8_t plain[AES_COMMON_SIZE] = {0}; in HksAesCipherTestCaseGcm2() local
300 uint8_t plain[AES_COMMON_SIZE] = {0}; in HksAesCipherTestCaseGcm3() local
378 uint8_t plain[AES_COMMON_SIZE] = {0}; in HksAesCipherTestCaseGcm4() local
[all...]
H A Dhks_aes_cipher_ccm_test.cpp707 uint8_t *plain = reinterpret_cast<uint8_t *>(HksMalloc(dataLen)); in HksAesCmcCipherTestCaseRun() local
/base/telephony/core_service/utils/common/src/
H A Dtel_aes_crypto_util.cpp278 uint8_t *plain = (uint8_t *)calloc(decryptDataPair.second, sizeof(uint8_t)); in AesCryptoDecryptInner() local
/base/web/webview/test/unittest/pasteboard_adapter/
H A Dpasteboard_client_adapter_test.cpp328 std::shared_ptr<std::string> plain = g_pasternull->GetPlainText(); in HWTEST_F() local
/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/
H A Dhuks_adapter.c962 static int32_t CheckAesGcmEncryptParam(const KeyParams *keyParams, const Uint8Buff *plain, in CheckAesGcmEncryptParam() argument
1021 static int32_t AesGcmEncrypt(const KeyParams *keyParams, const Uint8Buff *plain, const GcmParam *encryptInfo, in AesGcmEncrypt() argument
/base/security/device_auth/frameworks/deviceauth_lite/source/huks_adapter/
H A Dhuks_adapter.c548 int32_t aes_gcm_encrypt(struct var_buffer *key, const struct uint8_buff *plain, in aes_gcm_encrypt() argument
/base/security/device_auth/frameworks/deviceauth_lite/test/unittest/unittest_mock/
H A Dhuks_adapter_mock_for_pake.c502 int32_t aes_gcm_encrypt(struct var_buffer *key, const struct uint8_buff *plain, in aes_gcm_encrypt() argument
H A Dhuks_adapter_mock.c502 int32_t aes_gcm_encrypt(struct var_buffer *key, const struct uint8_buff *plain, in aes_gcm_encrypt() argument

Completed in 27 milliseconds