/base/security/crypto_framework/test/unittest/src/ |
D | crypto_md_test.cpp | 173 ret = mdObj->doFinal(mdObj, &outBlob); 194 ret = mdObj->doFinal(mdObj, &outBlob); 215 ret = mdObj->doFinal(mdObj, &outBlob); 249 ret = mdObj->doFinal(mdObj, &outBlob); 272 ret = mdObj->doFinal(mdObj, &outBlob); 295 ret = mdObj->doFinal(mdObj, &outBlob); 318 ret = mdObj->doFinal(mdObj, &outBlob); 341 ret = mdObj->doFinal(mdObj, &outBlob); 364 ret = mdObj->doFinal(mdObj, &outBlob); 390 ret = mdObj->doFinal(nullptr, nullptr); [all …]
|
D | crypto_rsa_cipher_test.cpp | 169 EXPECT_NE(cipher->doFinal, nullptr); 187 EXPECT_NE(cipher->doFinal, nullptr); 202 EXPECT_NE(cipher->doFinal, nullptr); 217 EXPECT_NE(cipher->doFinal, nullptr); 232 EXPECT_NE(cipher->doFinal, nullptr); 247 EXPECT_NE(cipher->doFinal, nullptr); 262 EXPECT_NE(cipher->doFinal, nullptr); 277 EXPECT_NE(cipher->doFinal, nullptr); 292 EXPECT_NE(cipher->doFinal, nullptr); 307 EXPECT_NE(cipher->doFinal, nullptr); [all …]
|
D | crypto_md_sm3_test.cpp | 121 ret = mdObj->doFinal(mdObj, &outBlob); 142 ret = mdObj->doFinal(mdObj, &outBlob); 175 ret = mdObj->doFinal(mdObj, &outBlob);
|
D | crypto_sm3_mac_test.cpp | 245 ret = macObj->doFinal(macObj, &outBlob); 274 ret = macObj->doFinal(macObj, &outBlob); 315 ret = macObj->doFinal(macObj, &outBlob); 350 ret = macObj->doFinal(macObj, &outBlob); 423 ret = macObj->doFinal(macObj, &outBlob); 456 ret = macObj->doFinal(macObj, &outBlob); 489 ret = macObj->doFinal(macObj, &outBlob); 522 ret = macObj->doFinal(macObj, &outBlob); 555 ret = macObj->doFinal(macObj, &outBlob); 589 ret = macObj->doFinal(nullptr, nullptr); [all …]
|
D | crypto_mac_test.cpp | 249 ret = macObj->doFinal(macObj, &outBlob); 278 ret = macObj->doFinal(macObj, &outBlob); 319 ret = macObj->doFinal(macObj, &outBlob); 354 ret = macObj->doFinal(macObj, &outBlob); 427 ret = macObj->doFinal(macObj, &outBlob); 463 ret = macObj->doFinal(macObj, &outBlob); 499 ret = macObj->doFinal(macObj, &outBlob); 535 ret = macObj->doFinal(macObj, &outBlob); 571 ret = macObj->doFinal(macObj, &outBlob); 605 ret = macObj->doFinal(nullptr, nullptr); [all …]
|
D | crypto_sm2_cipher_test.cpp | 88 EXPECT_NE(cipher->doFinal, nullptr); 354 res = cipher->doFinal(cipher, &input, &encoutput); 364 res = cipher->doFinal(cipher, &encoutput, &decoutput); 410 res = cipher->doFinal(cipher, &input, &encoutput); 420 res = cipher->doFinal(cipher, &encoutput, &decoutput); 475 res = cipher->doFinal(cipher, &input, nullptr); 506 res = cipher->doFinal((HcfCipher *)generator, &input, &blob); 608 res = cipher->doFinal(cipher, nullptr, &encoutput); 639 res = cipher->doFinal(nullptr, &input, &encoutput); 761 res = cipher->doFinal(cipher, &input, nullptr); [all …]
|
D | crypto_sm4_cipher_test.cpp | 121 ret = cipher->doFinal(cipher, nullptr, &output); in Sm4EncryptWithInput() 150 ret = cipher->doFinal(cipher, &input, &output); in Sm4DecryptEmptyMsg() 192 ret = cipher->doFinal(cipher, nullptr, &output); in Sm4Encrypt() 235 ret = cipher->doFinal(cipher, nullptr, &output); in Sm4Decrypt() 269 ret = cipher->doFinal(cipher, &input, &output); in Sm4NoUpdateEncrypt() 299 ret = cipher->doFinal(cipher, &input, &output); in Sm4NoUpdateDecrypt() 2065 ret = cipher->doFinal(nullptr, &input, &output); 2105 ret = cipher->doFinal(reinterpret_cast<HcfCipher *>(key), &input, &output); 2498 ret = cipher->doFinal(cipher, &input, nullptr); 2912 res = cipher->doFinal(nullptr, &input, &out); [all …]
|
D | crypto_3des_cipher_test.cpp | 100 ret = cipher->doFinal(cipher, nullptr, &output); in DesEncrypt() 143 ret = cipher->doFinal(cipher, nullptr, &output); in DesDecrypt() 177 ret = cipher->doFinal(cipher, &input, &output); in DesNoUpdateEncrypt() 207 ret = cipher->doFinal(cipher, &input, &output); in DesNoUpdateDecrypt() 1756 ret = cipher->doFinal(nullptr, &input, &output); 1796 ret = cipher->doFinal(reinterpret_cast<HcfCipher *>(key), &input, &output);
|
D | crypto_aes_cipher_test.cpp | 218 ret = cipher->doFinal(cipher, nullptr, &output); in AesMultiBlockEncrypt() 272 ret = cipher->doFinal(cipher, nullptr, &output); in AesMultiBlockDecrypt() 318 ret = cipher->doFinal(cipher, nullptr, &output); in AesEncryptWithInput() 363 ret = cipher->doFinal(cipher, nullptr, &output); in AesEncrypt() 408 ret = cipher->doFinal(cipher, nullptr, &output); in AesDecrypt() 441 ret = cipher->doFinal(cipher, input, &output); in AesNoUpdateEncWithInput() 471 ret = cipher->doFinal(cipher, &input, &output); in AesDecryptEmptyMsg() 499 ret = cipher->doFinal(cipher, &input, &output); in AesNoUpdateEncrypt() 531 ret = cipher->doFinal(cipher, &input, &output); in AesNoUpdateDecrypt() 6554 ret = cipher->doFinal(cipher, &input, nullptr); [all …]
|
/base/security/crypto_framework/interfaces/innerkits/crypto_operation/ |
D | md.h | 30 HcfResult (*doFinal)(HcfMd *self, HcfBlob *output); member
|
D | mac.h | 34 HcfResult (*doFinal)(HcfMac *self, HcfBlob *output); member
|
D | cipher.h | 62 HcfResult (*doFinal)(HcfCipher *self, HcfBlob *input, HcfBlob *output); member
|
/base/security/crypto_framework/test/fuzztest/crypto_operation/hcfciphercreate_fuzzer/ |
D | hcfciphercreate_fuzzer.cpp | 57 ret = cipher->doFinal(cipher, nullptr, &output); in AesEncrypt() 97 ret = cipher->doFinal(cipher, nullptr, &output); in AesDecrypt() 173 (void)cipher->doFinal(cipher, &input, &encoutput); in TestRsaCipher() 185 (void)cipher->doFinal(cipher, &encoutput, &decoutput); in TestRsaCipher()
|
/base/security/crypto_framework/frameworks/spi/ |
D | cipher_factory_spi.h | 37 HcfResult (*doFinal)(HcfCipherGeneratorSpi *self, HcfBlob *input, HcfBlob *output); member
|
/base/security/crypto_framework/test/fuzztest/crypto_operation/hcfmdcreate_fuzzer/ |
D | hcfmdcreate_fuzzer.cpp | 41 (void)mdObj->doFinal(mdObj, &outBlob); in TestMd()
|
/base/security/crypto_framework/test/fuzztest/crypto_operation/hcfmaccreate_fuzzer/ |
D | hcfmaccreate_fuzzer.cpp | 52 (void)macObj->doFinal(macObj, &outBlob); in TestMac()
|
/base/security/crypto_framework/frameworks/crypto_operation/ |
D | cipher.c | 312 return impl->spiObj->doFinal(impl->spiObj, input, output); in CipherFinal() 319 cipher->super.doFinal = CipherFinal; in InitCipher()
|
D | md.c | 172 returnMdApi->base.doFinal = DoFinal; in HcfMdCreate()
|
D | mac.c | 185 returnMacApi->base.doFinal = DoFinal; in HcfMacCreate()
|
/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/cipher/src/ |
D | cipher_sm2_openssl.c | 257 returnImpl->super.doFinal = EngineDoFinal; in HcfCipherSm2CipherSpiCreate()
|
D | cipher_3des_openssl.c | 293 returnImpl->base.doFinal = EngineDoFinal; in HcfCipherDesGeneratorSpiCreate()
|
D | cipher_sm4_openssl.c | 385 returnImpl->base.doFinal = EngineDoFinal; in HcfCipherSm4GeneratorSpiCreate()
|
D | cipher_rsa_openssl.c | 531 returnImpl->super.doFinal = EngineDoFinal; in HcfCipherRsaCipherSpiCreate()
|
/base/security/crypto_framework/frameworks/js/napi/crypto/src/ |
D | napi_md.cpp | 129 context->errCode = mdObj->doFinal(mdObj, outBlob); in MdDoFinalExecute()
|
D | napi_mac.cpp | 171 context->errCode = macObj->doFinal(macObj, outBlob); in MacDoFinalExecute()
|