Home
last modified time | relevance | path

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

/base/security/crypto_framework/test/unittest/src/
Dopenssl_adapter_mock.c25 static bool g_isNeedSpecialMock = false; variable
492 if (sigret != NULL && g_isNeedSpecialMock) { in Openssl_EVP_DigestSignFinal()
499 if (g_isNeedSpecialMock) { in Openssl_EVP_DigestSignFinal()
502 g_isNeedSpecialMock = false; in Openssl_EVP_DigestSignFinal()
505 g_isNeedSpecialMock = true; in Openssl_EVP_DigestSignFinal()
619 if (key != NULL && g_isNeedSpecialMock) { in Openssl_EVP_PKEY_derive()
626 if (g_isNeedSpecialMock) { in Openssl_EVP_PKEY_derive()
629 g_isNeedSpecialMock = false; in Openssl_EVP_PKEY_derive()
632 g_isNeedSpecialMock = true; in Openssl_EVP_PKEY_derive()