Home
last modified time | relevance | path

Searched refs:invalidSpi (Results 1 – 4 of 4) sorted by relevance

/base/security/crypto_framework/test/unittest/src/
Dcrypto_rand_test.cpp213 HcfRandSpi invalidSpi = {{0}}; variable
214 invalidSpi.base.getClass = GetInvalidRandClass;
219 (void)spiObj->base.destroy(&(invalidSpi.base));
Dcrypto_md_test.cpp426 HcfMdSpi invalidSpi = {{0}}; variable
427 invalidSpi.base.getClass = GetInvalidMdClass;
436 (void)spiObj->base.destroy(&(invalidSpi.base));
437 ret = spiObj->engineUpdateMd(&invalidSpi, &inBlob);
439 ret = spiObj->engineDoFinalMd(&invalidSpi, &outBlob);
441 uint32_t len = spiObj->engineGetMdLength(&invalidSpi);
Dcrypto_sm3_mac_test.cpp637 HcfMacSpi invalidSpi = {{0}}; variable
638 invalidSpi.base.getClass = GetInvalidMacSm3Class;
657 (void)spiObj->base.destroy(&(invalidSpi.base));
658 ret = spiObj->engineInitMac(&invalidSpi, key);
660 ret = spiObj->engineUpdateMac(&invalidSpi, &inBlob);
662 ret = spiObj->engineDoFinalMac(&invalidSpi, &outBlob);
664 uint32_t len = spiObj->engineGetMacLength(&invalidSpi);
Dcrypto_mac_test.cpp653 HcfMacSpi invalidSpi = {{0}}; variable
654 invalidSpi.base.getClass = GetInvalidMacClass;
673 (void)spiObj->base.destroy(&(invalidSpi.base));
674 ret = spiObj->engineInitMac(&invalidSpi, key);
676 ret = spiObj->engineUpdateMac(&invalidSpi, &inBlob);
678 ret = spiObj->engineDoFinalMac(&invalidSpi, &outBlob);
680 uint32_t len = spiObj->engineGetMacLength(&invalidSpi);