Home
last modified time | relevance | path

Searched refs:doFinal (Results 1 – 25 of 27) sorted by relevance

12

/base/security/crypto_framework/test/unittest/src/
Dcrypto_md_test.cpp173 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 …]
Dcrypto_rsa_cipher_test.cpp169 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 …]
Dcrypto_md_sm3_test.cpp121 ret = mdObj->doFinal(mdObj, &outBlob);
142 ret = mdObj->doFinal(mdObj, &outBlob);
175 ret = mdObj->doFinal(mdObj, &outBlob);
Dcrypto_sm3_mac_test.cpp245 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 …]
Dcrypto_mac_test.cpp249 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 …]
Dcrypto_sm2_cipher_test.cpp88 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 …]
Dcrypto_sm4_cipher_test.cpp121 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 …]
Dcrypto_3des_cipher_test.cpp100 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);
Dcrypto_aes_cipher_test.cpp218 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/
Dmd.h30 HcfResult (*doFinal)(HcfMd *self, HcfBlob *output); member
Dmac.h34 HcfResult (*doFinal)(HcfMac *self, HcfBlob *output); member
Dcipher.h62 HcfResult (*doFinal)(HcfCipher *self, HcfBlob *input, HcfBlob *output); member
/base/security/crypto_framework/test/fuzztest/crypto_operation/hcfciphercreate_fuzzer/
Dhcfciphercreate_fuzzer.cpp57 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/
Dcipher_factory_spi.h37 HcfResult (*doFinal)(HcfCipherGeneratorSpi *self, HcfBlob *input, HcfBlob *output); member
/base/security/crypto_framework/test/fuzztest/crypto_operation/hcfmdcreate_fuzzer/
Dhcfmdcreate_fuzzer.cpp41 (void)mdObj->doFinal(mdObj, &outBlob); in TestMd()
/base/security/crypto_framework/test/fuzztest/crypto_operation/hcfmaccreate_fuzzer/
Dhcfmaccreate_fuzzer.cpp52 (void)macObj->doFinal(macObj, &outBlob); in TestMac()
/base/security/crypto_framework/frameworks/crypto_operation/
Dcipher.c312 return impl->spiObj->doFinal(impl->spiObj, input, output); in CipherFinal()
319 cipher->super.doFinal = CipherFinal; in InitCipher()
Dmd.c172 returnMdApi->base.doFinal = DoFinal; in HcfMdCreate()
Dmac.c185 returnMacApi->base.doFinal = DoFinal; in HcfMacCreate()
/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/cipher/src/
Dcipher_sm2_openssl.c257 returnImpl->super.doFinal = EngineDoFinal; in HcfCipherSm2CipherSpiCreate()
Dcipher_3des_openssl.c293 returnImpl->base.doFinal = EngineDoFinal; in HcfCipherDesGeneratorSpiCreate()
Dcipher_sm4_openssl.c385 returnImpl->base.doFinal = EngineDoFinal; in HcfCipherSm4GeneratorSpiCreate()
Dcipher_rsa_openssl.c531 returnImpl->super.doFinal = EngineDoFinal; in HcfCipherRsaCipherSpiCreate()
/base/security/crypto_framework/frameworks/js/napi/crypto/src/
Dnapi_md.cpp129 context->errCode = mdObj->doFinal(mdObj, outBlob); in MdDoFinalExecute()
Dnapi_mac.cpp171 context->errCode = macObj->doFinal(macObj, outBlob); in MacDoFinalExecute()

12