Lines Matching refs:kMsg
442 static const unsigned char kMsg[] = { 1, 2, 3, 4 }; variable
1781 if (!BIO_write_ex(mdbio, kMsg, sizeof(kMsg), &written)) in test_EVP_DigestSignInit()
1784 if (!TEST_true(EVP_DigestSignUpdate(md_ctx, kMsg, sizeof(kMsg)))) in test_EVP_DigestSignInit()
1790 if (!TEST_true(EVP_DigestSign(md_ctx, NULL, &sig_len, kMsg, in test_EVP_DigestSignInit()
1791 sizeof(kMsg))) in test_EVP_DigestSignInit()
1796 if (!TEST_false(EVP_DigestSign(md_ctx, sig, &shortsig_len, kMsg, in test_EVP_DigestSignInit()
1797 sizeof(kMsg)))) in test_EVP_DigestSignInit()
1806 if (!TEST_true(EVP_DigestSign(md_ctx, sig, &sig_len, kMsg, in test_EVP_DigestSignInit()
1807 sizeof(kMsg)))) in test_EVP_DigestSignInit()
1838 if (!TEST_true(BIO_write_ex(mdbio, kMsg, sizeof(kMsg), &written))) in test_EVP_DigestSignInit()
1841 if (!TEST_true(EVP_DigestVerifyUpdate(md_ctx_verify, kMsg, in test_EVP_DigestSignInit()
1842 sizeof(kMsg)))) in test_EVP_DigestSignInit()
1894 || !TEST_true(EVP_DigestVerifyUpdate(md_ctx, kMsg, sizeof(kMsg))) in test_EVP_DigestVerifyInit()
1901 || !TEST_true(EVP_DigestVerifyUpdate(md_ctx, kMsg, sizeof(kMsg))) in test_EVP_DigestVerifyInit()
1983 || !TEST_true(EVP_DigestUpdate(md_ctx, kMsg, sizeof(kMsg))) in test_EVP_Digest()
1990 || !TEST_true(EVP_DigestUpdate(md_ctx, kMsg, sizeof(kMsg))) in test_EVP_Digest()
2002 || !TEST_true(EVP_DigestUpdate(md_ctx, kMsg, sizeof(kMsg))) in test_EVP_Digest()
2443 if (!TEST_true(EVP_DigestSignUpdate(md_ctx, kMsg, sizeof(kMsg)))) in test_EVP_SM2()
2465 if (!TEST_true(EVP_DigestVerifyUpdate(md_ctx_verify, kMsg, sizeof(kMsg)))) in test_EVP_SM2()
2483 if (!TEST_true(EVP_DigestVerifyUpdate(md_ctx_verify, kMsg, sizeof(kMsg)))) in test_EVP_SM2()
2520 if (!TEST_true(EVP_PKEY_encrypt(cctx, ciphertext, &ctext_len, kMsg, in test_EVP_SM2()
2521 sizeof(kMsg)))) in test_EVP_SM2()
2550 if (!TEST_true(ptext_len == sizeof(kMsg))) in test_EVP_SM2()
2553 if (!TEST_true(memcmp(plaintext, kMsg, sizeof(kMsg)) == 0)) in test_EVP_SM2()