Home
last modified time | relevance | path

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

1234

/ohos5.0/base/security/crypto_framework/test/unittest/src/
H A Dcrypto_sm2_cipher_test.cpp80 HcfCipher *cipher = nullptr; variable
104 HcfCipher *cipher = nullptr; variable
113 HcfCipher *cipher = nullptr; variable
123 HcfCipher *cipher = nullptr; variable
132 HcfCipher *cipher = nullptr; variable
148 HcfCipher *cipher = nullptr; variable
169 HcfCipher *cipher = nullptr; variable
190 HcfCipher *cipher = nullptr; variable
212 HcfCipher *cipher = nullptr; variable
233 HcfCipher *cipher = nullptr; variable
[all …]
H A Dcrypto_sm4_cipher_test.cpp58 HcfCipher *cipher = nullptr; variable
106 HcfCipher *cipher = nullptr; variable
153 HcfCipher *cipher = nullptr; variable
199 HcfCipher *cipher = nullptr; variable
248 HcfCipher *cipher = nullptr; variable
294 HcfCipher *cipher = nullptr; variable
342 HcfCipher *cipher = nullptr; variable
390 HcfCipher *cipher = nullptr; variable
437 HcfCipher *cipher = nullptr; variable
484 HcfCipher *cipher = nullptr; variable
[all …]
H A Dcrypto_rsa_cipher_test.cpp214 HcfCipher *cipher = nullptr; variable
232 HcfCipher *cipher = nullptr; variable
247 HcfCipher *cipher = nullptr; variable
262 HcfCipher *cipher = nullptr; variable
277 HcfCipher *cipher = nullptr; variable
292 HcfCipher *cipher = nullptr; variable
307 HcfCipher *cipher = nullptr; variable
322 HcfCipher *cipher = nullptr; variable
337 HcfCipher *cipher = nullptr; variable
352 HcfCipher *cipher = nullptr; variable
[all …]
H A Dcrypto_sm4_ecb_cipher_test.cpp53 HcfCipher *cipher = nullptr; variable
100 HcfCipher *cipher = nullptr; variable
148 HcfCipher *cipher = nullptr; variable
195 HcfCipher *cipher = nullptr; variable
242 HcfCipher *cipher = nullptr; variable
290 HcfCipher *cipher = nullptr; variable
333 HcfCipher *cipher = nullptr; variable
362 HcfCipher *cipher = nullptr; variable
391 HcfCipher *cipher = nullptr; variable
431 HcfCipher *cipher = nullptr; variable
[all …]
H A Dcrypto_sm4_cfb_cipher_test.cpp53 HcfCipher *cipher = nullptr; variable
101 HcfCipher *cipher = nullptr; variable
149 HcfCipher *cipher = nullptr; variable
197 HcfCipher *cipher = nullptr; variable
245 HcfCipher *cipher = nullptr; variable
293 HcfCipher *cipher = nullptr; variable
341 HcfCipher *cipher = nullptr; variable
388 HcfCipher *cipher = nullptr; variable
436 HcfCipher *cipher = nullptr; variable
484 HcfCipher *cipher = nullptr; variable
[all …]
H A Dcrypto_3des_cipher_test.cpp234 HcfCipher *cipher = nullptr; variable
281 HcfCipher *cipher = nullptr; variable
329 HcfCipher *cipher = nullptr; variable
377 HcfCipher *cipher = nullptr; variable
428 HcfCipher *cipher = nullptr; variable
478 HcfCipher *cipher = nullptr; variable
528 HcfCipher *cipher = nullptr; variable
580 HcfCipher *cipher = nullptr; variable
630 HcfCipher *cipher = nullptr; variable
682 HcfCipher *cipher = nullptr; variable
[all …]
H A Dcrypto_sm4_gcm_cipher_test.cpp56 HcfCipher *cipher = nullptr; variable
110 HcfCipher *cipher = nullptr; variable
164 HcfCipher *cipher = nullptr; variable
218 HcfCipher *cipher = nullptr; variable
272 HcfCipher *cipher = nullptr; variable
326 HcfCipher *cipher = nullptr; variable
374 HcfCipher *cipher = nullptr; variable
388 HcfCipher *cipher = nullptr; variable
405 HcfCipher *cipher = nullptr; variable
448 HcfCipher *cipher = nullptr; variable
[all …]
H A Dsm4_common.cpp73 int32_t Sm4EncryptWithInput(HcfCipher *cipher, HcfSymKey *key, HcfBlob *input, in Sm4EncryptWithInput()
116 int32_t Sm4DecryptEmptyMsg(HcfCipher *cipher, HcfSymKey *key, HcfParamsSpec *params, in Sm4DecryptEmptyMsg()
142 int32_t Sm4Encrypt(HcfCipher *cipher, HcfSymKey *key, HcfParamsSpec *params, in Sm4Encrypt()
185 int32_t Sm4Decrypt(HcfCipher *cipher, HcfSymKey *key, HcfParamsSpec *params, in Sm4Decrypt()
232 int32_t Sm4NoUpdateEncrypt(HcfCipher *cipher, HcfSymKey *key, HcfParamsSpec *params, in Sm4NoUpdateEncrypt()
262 int32_t Sm4NoUpdateDecrypt(HcfCipher *cipher, HcfSymKey *key, HcfParamsSpec *params, in Sm4NoUpdateDecrypt()
H A Dcrypto_rsa_cipher_sub_test.cpp175 HcfCipher *cipher = nullptr; variable
214 HcfCipher *cipher = nullptr; variable
244 HcfCipher *cipher = nullptr; variable
274 HcfCipher *cipher = nullptr; variable
304 HcfCipher *cipher = nullptr; variable
333 HcfCipher *cipher = nullptr; variable
362 HcfCipher *cipher = nullptr; variable
391 HcfCipher *cipher = nullptr; variable
406 HcfCipher *cipher = nullptr; variable
417 HcfCipher *cipher = nullptr; variable
/ohos5.0/base/security/crypto_framework/test/unittest/src/aes_cipher/
H A Dcrypto_aes_ecb_cipher_test.cpp58 HcfCipher *cipher = nullptr; variable
110 HcfCipher *cipher = nullptr; variable
155 HcfCipher *cipher = nullptr; variable
200 HcfCipher *cipher = nullptr; variable
250 HcfCipher *cipher = nullptr; variable
296 HcfCipher *cipher = nullptr; variable
341 HcfCipher *cipher = nullptr; variable
386 HcfCipher *cipher = nullptr; variable
432 HcfCipher *cipher = nullptr; variable
480 HcfCipher *cipher = nullptr; variable
[all …]
H A Dcrypto_aes_cfb_cipher_test.cpp54 HcfCipher *cipher = nullptr; variable
105 HcfCipher *cipher = nullptr; variable
156 HcfCipher *cipher = nullptr; variable
208 HcfCipher *cipher = nullptr; variable
259 HcfCipher *cipher = nullptr; variable
310 HcfCipher *cipher = nullptr; variable
360 HcfCipher *cipher = nullptr; variable
410 HcfCipher *cipher = nullptr; variable
460 HcfCipher *cipher = nullptr; variable
510 HcfCipher *cipher = nullptr; variable
[all …]
H A Dcrypto_aes_gcm_cipher_test.cpp54 HcfCipher *cipher = nullptr; variable
108 HcfCipher *cipher = nullptr; variable
162 HcfCipher *cipher = nullptr; variable
216 HcfCipher *cipher = nullptr; variable
270 HcfCipher *cipher = nullptr; variable
324 HcfCipher *cipher = nullptr; variable
378 HcfCipher *cipher = nullptr; variable
431 HcfCipher *cipher = nullptr; variable
478 HcfCipher *cipher = nullptr; variable
492 HcfCipher *cipher = nullptr; variable
[all …]
H A Dcrypto_aes_cbc_cipher_test.cpp54 HcfCipher *cipher = nullptr; variable
105 HcfCipher *cipher = nullptr; variable
156 HcfCipher *cipher = nullptr; variable
207 HcfCipher *cipher = nullptr; variable
258 HcfCipher *cipher = nullptr; variable
309 HcfCipher *cipher = nullptr; variable
359 HcfCipher *cipher = nullptr; variable
411 HcfCipher *cipher = nullptr; variable
453 HcfCipher *cipher = nullptr; variable
H A Dcrypto_aes_ctr_cipher_test.cpp54 HcfCipher *cipher = nullptr; variable
105 HcfCipher *cipher = nullptr; variable
156 HcfCipher *cipher = nullptr; variable
207 HcfCipher *cipher = nullptr; variable
258 HcfCipher *cipher = nullptr; variable
309 HcfCipher *cipher = nullptr; variable
357 HcfCipher *cipher = nullptr; variable
410 HcfCipher *cipher = nullptr; variable
452 HcfCipher *cipher = nullptr; variable
H A Dcrypto_aes_ofb_cipher_test.cpp54 HcfCipher *cipher = nullptr; variable
105 HcfCipher *cipher = nullptr; variable
156 HcfCipher *cipher = nullptr; variable
206 HcfCipher *cipher = nullptr; variable
257 HcfCipher *cipher = nullptr; variable
308 HcfCipher *cipher = nullptr; variable
355 HcfCipher *cipher = nullptr; variable
408 HcfCipher *cipher = nullptr; variable
450 HcfCipher *cipher = nullptr; variable
H A Dcrypto_aes_ccm_cipher_test.cpp54 HcfCipher *cipher = nullptr; variable
107 HcfCipher *cipher = nullptr; variable
160 HcfCipher *cipher = nullptr; variable
213 HcfCipher *cipher = nullptr; variable
266 HcfCipher *cipher = nullptr; variable
320 HcfCipher *cipher = nullptr; variable
373 HcfCipher *cipher = nullptr; variable
425 HcfCipher *cipher = nullptr; variable
474 HcfCipher *cipher = nullptr; variable
509 HcfCipher *cipher = nullptr; variable
[all …]
H A Daes_common.cpp148 int32_t AesMultiBlockEncrypt(HcfCipher *cipher, HcfSymKey *key, HcfParamsSpec *params) in AesMultiBlockEncrypt()
202 int32_t AesMultiBlockDecrypt(HcfCipher *cipher, HcfSymKey *key, HcfParamsSpec *params) in AesMultiBlockDecrypt()
257 int32_t AesEncryptWithInput(HcfCipher *cipher, HcfSymKey *key, HcfBlob *input, in AesEncryptWithInput()
300 int32_t AesEncrypt(HcfCipher *cipher, HcfSymKey *key, HcfParamsSpec *params, in AesEncrypt()
345 int32_t AesDecrypt(HcfCipher *cipher, HcfSymKey *key, HcfParamsSpec *params, in AesDecrypt()
393 int32_t AesNoUpdateEncWithInput(HcfCipher *cipher, HcfSymKey *key, HcfBlob *input, in AesNoUpdateEncWithInput()
424 int32_t AesDecryptEmptyMsg(HcfCipher *cipher, HcfSymKey *key, HcfParamsSpec *params, in AesDecryptEmptyMsg()
449 int32_t AesNoUpdateEncrypt(HcfCipher *cipher, HcfSymKey *key, HcfParamsSpec *params, in AesNoUpdateEncrypt()
481 int32_t AesNoUpdateDecrypt(HcfCipher *cipher, HcfSymKey *key, HcfParamsSpec *params, in AesNoUpdateDecrypt()
H A Dcrypto_aes_cipher_test.cpp680 HcfCipher *cipher = nullptr; variable
717 HcfCipher *cipher = nullptr; variable
754 HcfCipher *cipher = nullptr; variable
789 HcfCipher *cipher = nullptr; variable
803 HcfCipher *cipher = nullptr; variable
822 HcfCipherGeneratorSpi *cipher = nullptr; variable
/ohos5.0/base/security/crypto_framework/test/fuzztest/crypto_operation/hcfciphercreate_fuzzer/
H A Dhcfciphercreate_fuzzer.cpp32 static int32_t AesEncrypt(HcfCipher *cipher, HcfSymKey *key, HcfBlob *input, in AesEncrypt()
69 static int32_t AesDecrypt(HcfCipher *cipher, HcfSymKey *key, HcfBlob *input, in AesDecrypt()
113 static int32_t Sm4Encrypt(HcfCipher *cipher, HcfSymKey *key, HcfBlob *input, in Sm4Encrypt()
151 static int32_t Sm4Decrypt(HcfCipher *cipher, HcfSymKey *key, HcfBlob *input, in Sm4Decrypt()
203 HcfCipher *cipher = nullptr; in TestAesCipher() local
235 HcfCipher *cipher = nullptr; in TestSm4Cipher() local
278 HcfCipher *cipher = nullptr; in TestSm4GcmCipher() local
320 HcfCipher *cipher = nullptr; in TestRsaCipher() local
355 HcfCipher *cipher = nullptr; in HcfCipherCreateFuzzTest() local
/ohos5.0/base/security/crypto_framework/frameworks/crypto_operation/
H A Dcipher.c54 static void SetKeyType(HcfAlgParaValue value, void *cipher) in SetKeyType()
82 static void SetKeyLength(HcfAlgParaValue value, void *cipher) in SetKeyLength()
118 static void SetMode(HcfAlgParaValue value, void *cipher) in SetMode()
124 static void SetPadding(HcfAlgParaValue value, void *cipher) in SetPadding()
130 static void SetDigest(HcfAlgParaValue value, CipherAttr *cipher) in SetDigest()
135 static void SetMgf1Digest(HcfAlgParaValue value, CipherAttr *cipher) in SetMgf1Digest()
140 static HcfResult OnSetParameter(const HcfParaConfig *config, void *cipher) in OnSetParameter()
318 static void InitCipher(HcfCipherGeneratorSpi *spiObj, CipherGenImpl *cipher) in InitCipher()
/ohos5.0/foundation/communication/wifi/wifi/base/security_utils/src/
H A Dwifi_openssl_utils.cpp50 EVP_CIPHER *cipher = nullptr; in GetAesCipher() local
78 const EVP_CIPHER *cipher = GetAesCipher(info->aesType); in OpensslAesEncrypt() local
138 const EVP_CIPHER *cipher = GetAesCipher(info->aesType); in OpensslAesDecrypt() local
/ohos5.0/base/security/crypto_framework/test/unittest/src/native/
H A Dnative_sym_cipher_test.cpp52 OH_Crypto_ErrCode AesEncrypt(OH_CryptoSymCipher *cipher, OH_CryptoSymKey *key, OH_CryptoSymCipherPa… in AesEncrypt()
96 OH_Crypto_ErrCode AesDecrypt(OH_CryptoSymCipher *cipher, OH_CryptoSymKey *key, OH_CryptoSymCipherPa… in AesDecrypt()
174 OH_CryptoSymCipher *cipher = nullptr; variable
/ohos5.0/base/security/crypto_framework/frameworks/js/napi/crypto/src/
H A Dnapi_cipher.cpp43 HcfCipher *cipher = nullptr; member
344 HcfCipher *cipher = context->cipher; in AsyncInitProcess() local
359 HcfCipher *cipher = context->cipher; in AsyncUpdateProcess() local
370 HcfCipher *cipher = context->cipher; in AsyncDoFinalProcess() local
504 NapiCipher::NapiCipher(HcfCipher *cipher) in NapiCipher()
568 HcfCipher *cipher = napiCipher->GetCipher(); in JsCipherInitSync() local
633 HcfCipher *cipher = nullptr; in JsCipherUpdateSync() local
700 HcfCipher *cipher = nullptr; in JsCipherDoFinalSync() local
755 HcfCipher *cipher = napiCipher->GetCipher(); in JsGetAlgorithm() local
805 HcfCipher *cipher = nullptr; in CreateCipher() local
[all …]
/ohos5.0/base/security/device_auth/services/legacy/authenticators/src/account_unrelated/pake_task/standard_exchange_task/
H A 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()
/ohos5.0/base/security/asset/services/core_service/src/operations/
H A Doperation_update.rs32 let cipher = Crypto::encrypt(&secret_key, secret, &common::build_aad(db_data)?)?; in encrypt() localVariable
128 let cipher = encrypt(calling_info, result)?; in update() localVariable

1234