Home
last modified time | relevance | path

Searched refs:invalidMacObj (Results 1 – 2 of 2) sorted by relevance

/base/security/crypto_framework/test/unittest/src/
Dcrypto_sm3_mac_test.cpp604 HcfMac invalidMacObj = {{0}}; variable
605 invalidMacObj.base.getClass = GetInvalidMacSm3Class;
617 ret = macObj->init(&invalidMacObj, key);
619 ret = macObj->update(&invalidMacObj, &inBlob);
621 ret = macObj->doFinal(&invalidMacObj, &outBlob);
623 uint32_t len = macObj->getMacLength(&invalidMacObj);
625 const char *algoName = macObj->getAlgoName(&invalidMacObj);
628 macObj->base.destroy(&(invalidMacObj.base));
Dcrypto_mac_test.cpp620 HcfMac invalidMacObj = {{0}}; variable
621 invalidMacObj.base.getClass = GetInvalidMacClass;
633 ret = macObj->init(&invalidMacObj, key);
635 ret = macObj->update(&invalidMacObj, &inBlob);
637 ret = macObj->doFinal(&invalidMacObj, &outBlob);
639 uint32_t len = macObj->getMacLength(&invalidMacObj);
641 const char *algoName = macObj->getAlgoName(&invalidMacObj);
644 macObj->base.destroy(&(invalidMacObj.base));