Home
last modified time | relevance | path

Searched defs:plain (Results 1 – 19 of 19) sorted by relevance

/base/security/device_auth/frameworks/deviceauth_lite/source/auth_info/
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
Dremove_auth_info.c78 struct uint8_buff plain = { 0, 0, 0 }; in parse_remove_request_data() local
100 struct uint8_buff plain = { in build_remove_response_data() local
Dauth_info.c75 int32_t encrypt_payload(const struct var_buffer *key, const struct uint8_buff *plain, in encrypt_payload()
94 const char *aad, struct uint8_buff *plain) in decrypt_payload()
Dexchange_auth_info_client.c99 struct uint8_buff plain = { 0, 0, 0 }; in parse_exchange_response_data() local
151 struct uint8_buff plain; in build_exchange_request() local
/base/security/asset/test/unittest/module_test/src/
Dhuks_wrapper_test.cpp107 uint8_t plain[6 + TAG_SIZE + NONCE_SIZE] = { 0 }; variable
132 uint8_t plain[6 + TAG_SIZE + NONCE_SIZE] = { 0 }; variable
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/symmetric_alg_test/
Dhks_aes_cipher_test_common.cpp180 uint8_t plain[AES_COMMON_SIZE] = {0}; in HksAesCipherTestCaseOther() local
236 uint8_t plain[AES_COMMON_SIZE] = {0}; in HksAesCipherTestCaseGcm2() local
299 uint8_t plain[AES_COMMON_SIZE] = {0}; in HksAesCipherTestCaseGcm3() local
377 uint8_t plain[AES_COMMON_SIZE] = {0}; in HksAesCipherTestCaseGcm4() local
/base/security/huks/frameworks/crypto_lite/cipher/src/
Dcipher_rsa.c320 static int32_t RsaEncrypt(RsaKeyData *key, const RsaData *plain, RsaData *cipher) in RsaEncrypt()
383 …c int32_t RsaPkcs1Decrypt(mbedtls_rsa_context *rsa, size_t rsaLen, RsaData *cipher, RsaData *plain) in RsaPkcs1Decrypt()
438 static int32_t RsaDecrypt(RsaKeyData *key, RsaData *cipher, RsaData *plain) in RsaDecrypt()
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
Dhks_sm4_cipher_test_common.cpp95 uint8_t plain[SM4_COMMON_SIZE] = {0}; in HksSm4CipherTestCaseOther() local
Dhks_cross_test.cpp80 uint8_t plain[CROSS_COMMON_SIZE] = {0}; variable
123 uint8_t plain[CROSS_COMMON_SIZE] = {0}; variable
170 uint8_t plain[CROSS_COMMON_SIZE] = {0}; variable
218 uint8_t plain[CROSS_COMMON_SIZE] = {0}; variable
/base/web/webview/ohos_adapter/keystore_adapter/src/
Dkeystore_adapter_impl.cpp195 uint8_t plain[AES_COMMON_SIZE] = {0}; in DecryptKey() local
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/asymmetric_alg_test/
Dhks_rsa_cipher_test_common.cpp136 uint8_t plain[Unittest::RsaCipher::RSA_COMMON_SIZE] = {0}; in HksRsaCipherTestCase() local
Dhks_sm2_cipher_test.cpp465 uint8_t plain[SM2_COMMON_SIZE] = {0}; in HksSm2CipherTestRun() local
670 uint8_t plain[SM2_COMMON_SIZE] = {0}; in HksSm2CipherTestRunByNdk() local
/base/security/asset/services/crypto_manager/src/
Dcrypto.rs143 let mut plain: Vec<u8> = vec![0; cipher.len() - TAG_SIZE - NONCE_SIZE]; in decrypt() localVariable
/base/security/device_auth/frameworks/deviceauth_lite/source/key_agreement/
Dsts_client.c369 struct uint8_buff plain = {request_sign.signature, request_sign.length, request_sign.length}; in build_end_request_data() local
/base/web/webview/test/unittest/pasteboard_adapter/
Dpasteboard_client_adapter_test.cpp247 std::shared_ptr<std::string> plain = g_pasternull->GetPlainText(); variable
/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/
Dhuks_adapter.c262 static int32_t CheckAesGcmEncryptParam(const Uint8Buff *key, const Uint8Buff *plain, const GcmParam… in CheckAesGcmEncryptParam()
282 static int32_t AesGcmEncrypt(const Uint8Buff *key, const Uint8Buff *plain, in AesGcmEncrypt()
/base/security/device_auth/frameworks/deviceauth_lite/unittest/unittest_mock/
Dhuks_adapter_mock.c502 int32_t aes_gcm_encrypt(struct var_buffer *key, const struct uint8_buff *plain, in aes_gcm_encrypt()
Dhuks_adapter_mock_for_pake.c502 int32_t aes_gcm_encrypt(struct var_buffer *key, const struct uint8_buff *plain, in aes_gcm_encrypt()
/base/security/device_auth/frameworks/deviceauth_lite/source/huks_adapter/
Dhuks_adapter.c508 int32_t aes_gcm_encrypt(struct var_buffer *key, const struct uint8_buff *plain, in aes_gcm_encrypt()