Home
last modified time | relevance | path

Searched defs:cipher (Results 1 – 18 of 18) sorted by relevance

/base/security/deviceauth/services/authenticators/src/account_unrelated/pake_task/standard_exchange_task/
Dstandard_exchange_message_util.c25 int32_t PackageNonceAndCipherToJson(const Uint8Buff *nonce, const Uint8Buff *cipher, CJson *data, c… in PackageNonceAndCipherToJson()
52 int32_t ParseNonceAndCipherFromJson(Uint8Buff *nonce, Uint8Buff *cipher, const CJson *in, const cha… in ParseNonceAndCipherFromJson()
/base/security/huks/test/unittest/src/liteos_a_adapter/three_stage/src/
Dhks_aes_cipher_test_common.cpp43 uint8_t cipher[Unittest::AesCipher::AES_COMMON_SIZE] = {0}; in HksAesCipherTestCaseOther() local
101 uint8_t cipher[Unittest::AesCipher::AES_COMMON_SIZE] = {0}; in HksAESCipherTestCaseCcm() local
160 uint8_t cipher[Unittest::AesCipher::AES_COMMON_SIZE] = {0}; in HksAesCipherTestCaseGcm() local
Dhks_rsa_cipher_test_common.cpp130 uint8_t cipher[Unittest::RsaCipher::RSA_COMMON_SIZE] = {0}; in HksRsaCipherTestCase() local
Dhks_aes_cipher_part3_test.cpp415 uint8_t cipher[Unittest::AesCipher::AES_COMMON_SIZE] = {0}; variable
Dhks_rsa_cipher_part5_test.cpp284 uint8_t cipher[Unittest::RsaCipher::RSA_COMMON_SIZE] = {0}; variable
/base/security/huks/unittest/src/
Dhks_aes_cipher_test_common.cpp105 uint8_t cipher[Unittest::AesCipher::AES_COMMON_SIZE] = {0}; in HksAesCipherTestCaseOther() local
138 uint8_t cipher[Unittest::AesCipher::AES_COMMON_SIZE] = {0}; in HksAESCipherTestCaseCcm() local
172 uint8_t cipher[Unittest::AesCipher::AES_COMMON_SIZE] = {0}; in HksAesCipherTestCaseGcm() local
Dhks_rsa_cipher_test_common.cpp130 uint8_t cipher[Unittest::RsaCipher::RSA_COMMON_SIZE] = {0}; in HksRsaCipherTestCase() local
166 uint8_t cipher[Unittest::RsaCipher::RSA_COMMON_SIZE] = {0}; in HksRsaCipherTestCaseAbnormal() local
Dhks_cross_test.cpp72 uint8_t cipher[Unittest::CrossTest::CROSS_COMMON_SIZE] = {0}; variable
114 uint8_t cipher[Unittest::CrossTest::CROSS_COMMON_SIZE] = {0}; variable
161 uint8_t cipher[Unittest::CrossTest::CROSS_COMMON_SIZE] = {0}; variable
209 uint8_t cipher[Unittest::CrossTest::CROSS_COMMON_SIZE] = {0}; variable
Dhks_rsa_cipher_part5_test.cpp283 uint8_t cipher[Unittest::RsaCipher::RSA_COMMON_SIZE] = {0}; variable
Dhks_aes_cipher_part3_test.cpp893 uint8_t cipher[Unittest::AesCipher::AES_COMMON_SIZE] = {0}; variable
/base/security/deviceauth/frameworks/deviceauth_lite/source/auth_info/
Dauth_info.h27 struct uint8_buff cipher; member
/base/security/huks/frameworks/crypto_lite/cipher/src/
Dcipher_rsa.c311 static int32_t RsaEncrypt(RsaKeyData *key, const RsaData *plain, RsaData *cipher) in RsaEncrypt()
356 static int32_t RsaPkcs1Decrypt(mbedtls_rsa_context *rsa, size_t rsaLen, RsaData *cipher, RsaData *p… in RsaPkcs1Decrypt()
409 static int32_t RsaDecrypt(RsaKeyData *key, RsaData *cipher, RsaData *plain) in RsaDecrypt()
/base/security/deviceauth/deps_adapter/key_management_adapter/impl/src/mini/
Dhuks_adapter.c366 static int32_t CheckAesGcmDecryptParam(const Uint8Buff *key, const Uint8Buff *cipher, const GcmPara… in CheckAesGcmDecryptParam()
386 static int32_t AesGcmDecrypt(const Uint8Buff *key, const Uint8Buff *cipher, in AesGcmDecrypt()
/base/security/deviceauth/frameworks/deviceauth_lite/source/huks_adapter/
Dhuks_adapter.c550 const struct uint8_buff *cipher, struct aes_aad *aad, uint32_t key_byte_size) in init_aes_gcm_decrypt_param_set()
583 int32_t aes_gcm_decrypt(struct var_buffer *key, const struct uint8_buff *cipher, in aes_gcm_decrypt()
1664 const struct uint8_buff *cipher, const struct aes_aad *aad) in init_aes_ccm_decrypt_key_params()
1707 int32_t aes_ccm_decrypt(struct var_buffer *key, const struct uint8_buff *cipher, in aes_ccm_decrypt()
/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/
Dhks_openssl_aes.c491 const EVP_CIPHER *cipher = GetCipherType(key->size, usageSpec->mode); in OpensslAesCipherInit() local
596 const EVP_CIPHER *cipher = GetCipherType(key->size, usageSpec->mode); in OpensslAesCipherCryptInit() local
/base/security/deviceauth/frameworks/deviceauth_lite/source/key_agreement/
Dsts_client.c410 struct uint8_buff cipher = { receive->auth_return.auth_return, in parse_end_response_data() local
/base/security/deviceauth/deps_adapter/key_management_adapter/impl/src/small/
Dhuks_adapter.c336 static int32_t CheckAesGcmDecryptParam(const Uint8Buff *key, const Uint8Buff *cipher, const GcmPara… in CheckAesGcmDecryptParam()
356 static int32_t AesGcmDecrypt(const Uint8Buff *key, const Uint8Buff *cipher, in AesGcmDecrypt()
/base/security/deviceauth/deps_adapter/key_management_adapter/impl/src/standard/
Dhuks_adapter.c344 static int32_t CheckAesGcmDecryptParam(const Uint8Buff *key, const Uint8Buff *cipher, const GcmPara… in CheckAesGcmDecryptParam()
364 static int32_t AesGcmDecrypt(const Uint8Buff *key, const Uint8Buff *cipher, in AesGcmDecrypt()