Home
last modified time | relevance | path

Searched defs:padding (Results 1 – 25 of 37) sorted by relevance

12

/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/include/
Dhks_rsa_common_mt.h37 int padding = 0; member
48 int padding = 0; member
60 int padding = 0; member
72 int padding = 0; member
84 int padding = 0; member
94 int padding = 0; member
105 int padding = 0; member
115 int padding = 0; member
126 int padding = 0; member
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/src/
Dopenssl_rsa_helper.c236 …EncryptRsa(const struct HksBlob *inData, struct HksBlob *outData, struct HksBlob *key, int padding, in EncryptRsa()
284 …DecryptRsa(const struct HksBlob *inData, struct HksBlob *outData, struct HksBlob *key, int padding, in DecryptRsa()
334 static EVP_PKEY_CTX *InitRsaCtx(struct HksBlob *key, int padding, bool signing, uint32_t len) in InitRsaCtx()
388 int32_t OpensslRsaSignWithNoneDegist(struct HksBlob *key, int padding, const struct HksBlob *messag… in OpensslRsaSignWithNoneDegist()
406 int32_t OpensslRsaVerifyWithNoneDegist(struct HksBlob *key, int padding, const struct HksBlob *mess… in OpensslRsaVerifyWithNoneDegist()
422 …ignRsa(const struct HksBlob *plainText, struct HksBlob *signData, struct HksBlob *key, int padding, in OpensslSignRsa()
485 …ifyRsa(const struct HksBlob *plainText, struct HksBlob *signData, struct HksBlob *key, int padding, in OpensslVerifyRsa()
Dopenssl_aes_helper.c132 struct HksParam *padding = NULL; in AesEncrypt() local
186 struct HksParam *padding = NULL; in AesDecrypt() local
/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/signature/inc/
Dsignature_rsa_openssl.h25 int32_t padding; member
/base/update/updater/services/rust/hash_signed_data/src/
Devp.rs26 let mut padding = 0usize; in get_b64_decode_len() localVariable
/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/include/
Dhks_openssl_aes.h72 uint32_t padding; member
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
Dhks_import_rsa_test.cpp595 static void ModifyImportParams(uint32_t purpose, uint32_t keySize, uint32_t padding, in ModifyImportParams()
612 static void ModifyinitOp1Params(uint32_t purpose, uint32_t keySize, uint32_t padding, uint32_t dige… in ModifyinitOp1Params()
620 static void ModifyinitOp2Params(uint32_t purpose, uint32_t keySize, uint32_t padding, uint32_t dige… in ModifyinitOp2Params()
847 static void RsaImportPlainKeyAnotherTest(uint32_t purpose, uint32_t keySize, uint32_t padding, uint… in RsaImportPlainKeyAnotherTest()
908 static void RsaImportPlainKeyTest(uint32_t purpose, uint32_t keySize, uint32_t padding, uint32_t di… in RsaImportPlainKeyTest()
963 static void ImportRsaPlainKeyTest(uint32_t purpose, uint32_t keySize, uint32_t padding, uint32_t di… in ImportRsaPlainKeyTest()
968 static void ImportRsaPlainKeyAnotherTest(uint32_t purpose, uint32_t keySize, uint32_t padding, uint… in ImportRsaPlainKeyAnotherTest()
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/include/
Dcert_manager_key_operation.h34 uint32_t padding; member
/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/
Dhks_openssl_rsa.c258 static int32_t GetRsaCryptPadding(uint32_t padding, uint32_t *rsaPadding) in GetRsaCryptPadding()
332 uint32_t padding = 0; in HksOpensslRsaCryptInit() local
417 static int32_t GetRsaSignPadding(uint32_t padding, uint32_t *rsaPadding) in GetRsaSignPadding()
/base/security/huks/frameworks/huks_standard/main/common/include/
Dhks_base_check.h37 struct Params padding; member
56 const struct ExpectParams padding; member
/base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/
Dhks_mbedtls_rsa.c248 static int32_t HksToMbedtlsPadding(uint32_t hksPadding, int32_t *padding) in HksToMbedtlsPadding()
333 static int32_t HksToMbedtlsSignPadding(uint32_t hksPadding, int32_t *padding) in HksToMbedtlsSignPadding()
Dhks_mbedtls_aes.c45 uint32_t padding; member
501 static int32_t AesCbcCryptUpdate(void *cryptoCtx, const uint8_t padding, in AesCbcCryptUpdate()
519 static int32_t AesCbcCryptFinal(void **cryptoCtx, const uint8_t padding, in AesCbcCryptFinal()
620 static int32_t AesEncryptGcmUpdate(void *cryptoCtx, const uint8_t padding, const struct HksBlob *me… in AesEncryptGcmUpdate()
1376 static int32_t AesEcbCryptUpdate(void *cryptoCtx, const uint8_t padding, const struct HksBlob *mess… in AesEcbCryptUpdate()
1392 static int32_t AesEcbCryptFinal(void **cryptoCtx, const uint8_t padding, const struct HksBlob *mess… in AesEcbCryptFinal()
/base/security/crypto_framework/plugin/openssl_plugin/common/src/
Dopenssl_common.c182 HcfResult GetOpensslPadding(int32_t padding, int32_t *opensslPadding) in GetOpensslPadding()
/base/security/certificate_manager/interfaces/kits/js/
D@ohos.security.certManager.d.ts376 padding: string; property
/base/security/device_security_level/baselib/utils/src/
Dutils_base64.c66 …int padding = (int)(tmpLen % 3); /* len % 3 to get the padding size. This must be sig… in Base64Encode() local
/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/include/
Ddlp_crypt.h34 uint32_t padding; member
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/sdk_test/src/
Dhks_test_aes.c35 static int32_t ConstructParamSetEncryptDecryptAesPre(uint32_t mode, uint32_t padding, bool isEncryp… in ConstructParamSetEncryptDecryptAesPre()
134 static int32_t ConstructParamSetEncryptDecryptAes(uint32_t mode, uint32_t padding, bool isEncrypt, in ConstructParamSetEncryptDecryptAes()
/base/security/huks/frameworks/huks_standard/main/common/src/
Dhks_base_check.c1234 uint32_t padding = inputParams->padding.value; in CheckRsaCipherData() local
1258 static int32_t CheckBlockCbcCipherData(uint32_t cmdId, uint32_t padding, in CheckBlockCbcCipherData()
1315 uint32_t padding = inputParams->padding.value; in CheckBlockCipherData() local
1351 uint32_t padding = inputParams->padding.value; in CheckAesPadding() local
1466 uint32_t padding = inputParams->padding.value; in CheckSm4Padding() local
/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/cipher/src/
Dcipher_3des_openssl.c134 int32_t padding = (cipherImpl->attr.paddingMode == HCF_ALG_NOPADDING) ? 0 : EVP_PADDING_PKCS7; in EngineCipherInit() local
/base/security/huks/test/unittest/huks_lite_test/common/
Dhks_test_aes.c36 static int32_t ConstructParamSetEncryptDecryptAesPre(uint32_t mode, uint32_t padding, bool isEncryp… in ConstructParamSetEncryptDecryptAesPre()
135 static int32_t ConstructParamSetEncryptDecryptAes(uint32_t mode, uint32_t padding, bool isEncrypt, in ConstructParamSetEncryptDecryptAes()
/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/signature/src/
Dsignature_rsa_openssl.c43 int32_t padding; member
61 int32_t padding; member
/base/security/huks/services/huks_standard/huks_engine/main/core/src/
Dhks_core_service_three_stage.c62 uint32_t padding = usageSpec->padding; in CheckRsaCipherData() local
119 static int32_t CheckBlockCipherOther(bool isEncrypt, uint32_t padding, const struct HksBlob *inData, in CheckBlockCipherOther()
156 const uint32_t padding = usageSpec->padding; in CheckBlockCipherData() local
201 struct HksParam *padding = NULL; in SignVerifyAuth() local
/base/security/huks/test/unittest/huks_lite_test/common/include/
Dhks_test_common.h59 uint32_t padding; member
86 uint32_t padding; member
99 uint32_t padding; member
310 uint32_t padding; member
325 uint32_t padding; member
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/sdk_test/include/
Dhks_test_common.h71 uint32_t padding; member
98 uint32_t padding; member
111 uint32_t padding; member
322 uint32_t padding; member
337 uint32_t padding; member
/base/hiviewdfx/hitrace/frameworks/native/
Dhitracechainc.c43 uint64_t padding : 4; member

12