Lines Matching refs:kMsg

262 static const unsigned char kMsg[] = { 1, 2, 3, 4 };  variable
1426 if (!BIO_write_ex(mdbio, kMsg, sizeof(kMsg), &written)) in test_EVP_DigestSignInit()
1429 if (!TEST_true(EVP_DigestSignUpdate(md_ctx, kMsg, sizeof(kMsg)))) in test_EVP_DigestSignInit()
1435 if (!TEST_true(EVP_DigestSign(md_ctx, NULL, &sig_len, kMsg, in test_EVP_DigestSignInit()
1436 sizeof(kMsg))) in test_EVP_DigestSignInit()
1441 if (!TEST_false(EVP_DigestSign(md_ctx, sig, &shortsig_len, kMsg, in test_EVP_DigestSignInit()
1442 sizeof(kMsg)))) in test_EVP_DigestSignInit()
1451 if (!TEST_true(EVP_DigestSign(md_ctx, sig, &sig_len, kMsg, in test_EVP_DigestSignInit()
1452 sizeof(kMsg)))) in test_EVP_DigestSignInit()
1483 if (!TEST_true(BIO_write_ex(mdbio, kMsg, sizeof(kMsg), &written))) in test_EVP_DigestSignInit()
1486 if (!TEST_true(EVP_DigestVerifyUpdate(md_ctx_verify, kMsg, in test_EVP_DigestSignInit()
1487 sizeof(kMsg)))) in test_EVP_DigestSignInit()
1539 || !TEST_true(EVP_DigestVerifyUpdate(md_ctx, kMsg, sizeof(kMsg))) in test_EVP_DigestVerifyInit()
1546 || !TEST_true(EVP_DigestVerifyUpdate(md_ctx, kMsg, sizeof(kMsg))) in test_EVP_DigestVerifyInit()
1628 || !TEST_true(EVP_DigestUpdate(md_ctx, kMsg, sizeof(kMsg))) in test_EVP_Digest()
1635 || !TEST_true(EVP_DigestUpdate(md_ctx, kMsg, sizeof(kMsg))) in test_EVP_Digest()
1647 || !TEST_true(EVP_DigestUpdate(md_ctx, kMsg, sizeof(kMsg))) in test_EVP_Digest()
2088 if (!TEST_true(EVP_DigestSignUpdate(md_ctx, kMsg, sizeof(kMsg)))) in test_EVP_SM2()
2110 if (!TEST_true(EVP_DigestVerifyUpdate(md_ctx_verify, kMsg, sizeof(kMsg)))) in test_EVP_SM2()
2128 if (!TEST_true(EVP_DigestVerifyUpdate(md_ctx_verify, kMsg, sizeof(kMsg)))) in test_EVP_SM2()
2165 if (!TEST_true(EVP_PKEY_encrypt(cctx, ciphertext, &ctext_len, kMsg, in test_EVP_SM2()
2166 sizeof(kMsg)))) in test_EVP_SM2()
2195 if (!TEST_true(ptext_len == sizeof(kMsg))) in test_EVP_SM2()
2198 if (!TEST_true(memcmp(plaintext, kMsg, sizeof(kMsg)) == 0)) in test_EVP_SM2()