Home
last modified time | relevance | path

Searched defs:iv (Results 1 – 25 of 39) sorted by relevance

12

/base/security/crypto_framework/test/unittest/src/
Dcrypto_aes_cipher_test.cpp704 uint8_t iv[16] = {0}; variable
755 uint8_t iv[16] = {0}; variable
806 uint8_t iv[16] = {0}; variable
857 uint8_t iv[16] = {0}; variable
908 uint8_t iv[16] = {0}; variable
959 uint8_t iv[16] = {0}; variable
1010 uint8_t iv[16] = {0}; variable
1061 uint8_t iv[16] = {0}; variable
1112 uint8_t iv[16] = {0}; variable
1162 uint8_t iv[16] = {0}; variable
[all …]
Dcrypto_3des_cipher_test.cpp379 uint8_t iv[8] = {0}; variable
430 uint8_t iv[8] = {0}; variable
480 uint8_t iv[8] = {0}; variable
530 uint8_t iv[8] = {0}; variable
582 uint8_t iv[8] = {0}; variable
632 uint8_t iv[8] = {0}; variable
684 uint8_t iv[8] = {0}; variable
735 uint8_t iv[8] = {0}; variable
786 uint8_t iv[8] = {0}; variable
980 uint8_t iv[8] = {0}; variable
[all …]
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/src/
Dopenssl_aes_helper.c134 struct HksParam *iv = NULL; in AesEncrypt() local
188 struct HksParam *iv = NULL; in AesDecrypt() local
240 struct HksParam *iv = NULL; in AesGcmEncrypt() local
295 struct HksParam *iv = NULL; in AesGcmDecrypt() local
/base/security/crypto_framework/interfaces/innerkits/algorithm_parameter/
Ddetailed_iv_params.h26 HcfBlob iv; member
Ddetailed_ccm_params.h27 HcfBlob iv; member
Ddetailed_gcm_params.h27 HcfBlob iv; member
/base/startup/hvb/libhvb/src/crypto/
Dhvb_hash_sha256.c162 __attribute__((weak)) int sha256_data_blk_update(uint32_t *iv, const void *msg, uint64_t len) in sha256_data_blk_update()
183 static void hash_sha256_pad_update(uint32_t *iv, const void *left_msg, uint64_t left_len, uint64_t … in hash_sha256_pad_update()
214 static int hash_sha256_output_iv(uint32_t *iv, uint8_t *out, uint32_t out_len) in hash_sha256_output_iv()
233 uint32_t iv[IV_WORD_SIZE_SHA256]; in hash_sha256_single() local
/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/cipher/src/
Dcipher_aes_common.c29 uint8_t *iv = spec->iv.data; in GetIv() local
/base/security/crypto_framework/plugin/openssl_plugin/common/inc/
Daes_openssl_common.h32 unsigned char *iv; member
/base/security/huks/frameworks/crypto_lite/cipher/src/
Dcipher_aes.c138 static int32_t InitAesCryptContext(const char *key, const AesIvMode *iv, AesCryptContext *ctx) in InitAesCryptContext()
316 int32_t InitAesCryptData(const char *action, const char *text, const char *key, const AesIvMode *iv, in InitAesCryptData()
/base/security/dlp_permission_service/frameworks/dlp_permission/src/
Ddlp_policy_parcel.cpp105 const uint8_t* iv = in.ReadUnpadBuffer(len); in ReadAesParam() local
/base/startup/hvb/libhvb/include/
Dhvb_crypto.h54 uint32_t iv[IV_BYTE_SIZE_SHA256]; member
/base/security/huks/frameworks/crypto_lite/js/builtin/src/
Dcipher_module.cpp119 AesIvMode iv = {NULL, NULL, 0, 0}; in Aes() local
/base/security/huks/test/unittest/huks_standard_test/crypto_engine_test/src/
Dhks_crypto_hal_api_mbedtls.cpp270 uint8_t iv[IV_SIZE] = {0}; variable
292 uint8_t iv[IV_SIZE] = {0}; variable
/base/security/huks/frameworks/crypto_lite/cipher/include/
Dcipher.h61 AesIvMode iv; member
/base/security/dlp_permission_service/frameworks/common/src/
Dpermission_policy.cpp191 void PermissionPolicy::SetIv(const uint8_t* iv, uint32_t ivLen) in SetIv()
/base/security/huks/services/huks_standard/huks_engine/main/core/src/
Dhks_chipset_platform_decrypt.c157 struct HksBlob iv = ivParam->blob; in DoAesDecrypt() local
/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/include/
Ddlp_crypt.h68 struct DlpBlob iv; member
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
Dhks_chipset_platform_encrypt_test.cpp360 struct HksBlob iv, struct HksBlob aad, struct HksBlob cipherText) in AesGcmEncrypt()
431 struct HksBlob iv = { .size = PLATFORM_KEY_IV_SIZE, .data = res.iv.data() }; in Encrypt() local
/base/security/dlp_permission_service/frameworks/test/mock/
Dopenssl_mock.cpp163 const unsigned char *key, const unsigned char *iv) in EVP_EncryptInit_ex()
177 const unsigned char *key, const unsigned char *iv) in EVP_DecryptInit_ex()
/base/update/updater/test/unittest/script/
Dscript_interpreter_unittest.cpp57 std::unique_ptr<IntegerValue> iv = std::make_unique<IntegerValue>(intValue); in TestScriptInterpreterScriptValue() local
/base/security/huks/test/reliability/src/
Dpressure_test.cpp588 uint8_t iv[IV_SIZE] = {0}; variable
644 uint8_t iv[IV_SIZE] = {0}; variable
1053 uint8_t iv[IV_SIZE] = {0}; variable
1113 uint8_t iv[IV_SIZE] = {0}; variable
Dapi_pressure_test.cpp117 uint8_t iv[IV_SIZE] = {0}; in AESModeRandForCiper() local
1297 uint8_t iv[IV_SIZE] = {0}; variable
1338 uint8_t iv[IV_SIZE] = {0}; variable
/base/security/crypto_framework/frameworks/js/napi/crypto/src/
Dnapi_utils.cpp308 HcfBlob *iv = GetBlobFromParamsSpec(env, arg, IV_PARAMS); in GetIvParamsSpec() local
321 static bool GetIvAndAadBlob(napi_env env, napi_value arg, HcfBlob **iv, HcfBlob **aad) in GetIvAndAadBlob()
341 HcfBlob *iv = nullptr; in GetGcmParamsSpec() local
397 HcfBlob *iv = nullptr; in GetCcmParamsSpec() local
/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/src/
Ddlp_crypt.cpp912 static void IncIvCounterLitteEndian(struct DlpBlob& iv, uint32_t count) in IncIvCounterLitteEndian()
926 int32_t DlpCtrModeIncreaeIvCounter(struct DlpBlob& iv, uint32_t count) in DlpCtrModeIncreaeIvCounter()

12