Home
last modified time | relevance | path

Searched refs:verifier (Results 1 – 25 of 461) sorted by relevance

12345678910>>...19

/external/grpc-grpc/test/core/bad_client/tests/
Dheaders.cc26 static void verifier(grpc_server* server, grpc_completion_queue* cq, in verifier() function
40 GRPC_RUN_BAD_CLIENT_TEST(verifier, nullptr, PFX_STR "\x00", in main()
42 GRPC_RUN_BAD_CLIENT_TEST(verifier, nullptr, PFX_STR "\x00\x00", in main()
44 GRPC_RUN_BAD_CLIENT_TEST(verifier, nullptr, PFX_STR "\x00\x00\x00", in main()
46 GRPC_RUN_BAD_CLIENT_TEST(verifier, nullptr, PFX_STR "\x00\x00\x00\x01", in main()
48 GRPC_RUN_BAD_CLIENT_TEST(verifier, nullptr, PFX_STR "\x00\x00\x00\x01\x00", in main()
50 GRPC_RUN_BAD_CLIENT_TEST(verifier, nullptr, PFX_STR "\x00\x00\x00\x01\x04", in main()
52 GRPC_RUN_BAD_CLIENT_TEST(verifier, nullptr, PFX_STR "\x00\x00\x00\x01\x05", in main()
54 GRPC_RUN_BAD_CLIENT_TEST(verifier, nullptr, in main()
57 GRPC_RUN_BAD_CLIENT_TEST(verifier, nullptr, in main()
[all …]
Dconnection_prefix.cc22 static void verifier(grpc_server* server, grpc_completion_queue* cq, in verifier() function
35 GRPC_RUN_BAD_CLIENT_TEST(verifier, nullptr, "X", 0); in main()
36 GRPC_RUN_BAD_CLIENT_TEST(verifier, nullptr, "PX", 0); in main()
37 GRPC_RUN_BAD_CLIENT_TEST(verifier, nullptr, "PRX", 0); in main()
38 GRPC_RUN_BAD_CLIENT_TEST(verifier, nullptr, "PRIX", 0); in main()
39 GRPC_RUN_BAD_CLIENT_TEST(verifier, nullptr, "PRI X", 0); in main()
40 GRPC_RUN_BAD_CLIENT_TEST(verifier, nullptr, "PRI *X", 0); in main()
41 GRPC_RUN_BAD_CLIENT_TEST(verifier, nullptr, "PRI * X", 0); in main()
42 GRPC_RUN_BAD_CLIENT_TEST(verifier, nullptr, "PRI * HX", 0); in main()
43 GRPC_RUN_BAD_CLIENT_TEST(verifier, nullptr, "PRI * HTX", 0); in main()
[all …]
Dinitial_settings_frame.cc25 static void verifier(grpc_server* server, grpc_completion_queue* cq, in verifier() function
39 GRPC_RUN_BAD_CLIENT_TEST(verifier, nullptr, PFX_STR "\x00", in main()
41 GRPC_RUN_BAD_CLIENT_TEST(verifier, nullptr, PFX_STR "\x00\x00", in main()
43 GRPC_RUN_BAD_CLIENT_TEST(verifier, nullptr, PFX_STR "\x00\x00\x00", in main()
45 GRPC_RUN_BAD_CLIENT_TEST(verifier, nullptr, PFX_STR "\x06", in main()
47 GRPC_RUN_BAD_CLIENT_TEST(verifier, nullptr, PFX_STR "\x00\x06", in main()
49 GRPC_RUN_BAD_CLIENT_TEST(verifier, nullptr, PFX_STR "\x00\x00\x06", in main()
51 GRPC_RUN_BAD_CLIENT_TEST(verifier, nullptr, PFX_STR "\x00\x00\x00\x04", in main()
53 GRPC_RUN_BAD_CLIENT_TEST(verifier, nullptr, PFX_STR "\x00\x00\x00\x04\x00", in main()
55 GRPC_RUN_BAD_CLIENT_TEST(verifier, nullptr, PFX_STR "\x00\x00\x00\x04\x01", in main()
[all …]
/external/mockito/src/test/java/org/mockitousage/verification/
DVerificationInOrderWithCallsTest.java31 InOrder verifier = inOrder( mockOne ); in shouldFailWhenMethodNotCalled() local
32 verifier.verify( mockOne, calls(1)).oneArg( 1 ); in shouldFailWhenMethodNotCalled()
40 verifier.verify( mockOne, calls(1)).oneArg( 2 ); in shouldFailWhenMethodNotCalled()
51 InOrder verifier = inOrder( mockOne ); in shouldFailWhenMethodCalledTooFewTimes() local
52 verifier.verify( mockOne, calls(1)).oneArg( 1 ); in shouldFailWhenMethodCalledTooFewTimes()
61 verifier.verify( mockOne, calls(2)).oneArg( 2 ); in shouldFailWhenMethodCalledTooFewTimes()
72 InOrder verifier = inOrder( mockOne ); in shouldFailWhenSingleMethodCallsAreOutOfSequence() local
73 verifier.verify( mockOne, calls(1)).oneArg( 2 ); in shouldFailWhenSingleMethodCallsAreOutOfSequence()
81 verifier.verify( mockOne, calls(1)).oneArg( 1 ); in shouldFailWhenSingleMethodCallsAreOutOfSequence()
92 InOrder verifier = inOrder( mockOne ); in shouldFailWhenDifferentMethodCallsAreOutOfSequence() local
[all …]
/external/epid-sdk/epid/verifier/unittests/
Dcontext-test.cc112 VerifierCtxObj verifier(this->kPubKeyStr, this->kVerifierPrecompStr); in TEST_F() local
113 VerifierCtx* ctx = verifier; in TEST_F()
119 VerifierCtxObj verifier(this->kPubKeyStr, this->kVerifierPrecompStr); in TEST_F() local
120 VerifierCtx* ctx = verifier; in TEST_F()
133 VerifierCtxObj verifier(this->kPubKeyStr, this->kVerifierPrecompStr); in TEST_F() local
138 EpidVerifierSetPrivRl(verifier, nullptr, sizeof(prl))); in TEST_F()
142 VerifierCtxObj verifier(this->kPubKeyStr, this->kVerifierPrecompStr); in TEST_F() local
145 EXPECT_EQ(kEpidBadArgErr, EpidVerifierSetPrivRl(verifier, &prl, 0)); in TEST_F()
150 VerifierCtxObj verifier(this->kPubKeyStr, this->kVerifierPrecompStr); in TEST_F() local
155 EpidVerifierSetPrivRl(verifier, &prl, (sizeof(prl) - sizeof(prl.f)) - 1)); in TEST_F()
[all …]
Dverify-test.cc40 VerifierCtxObj verifier(this->kGrp01Key); in TEST_F() local
48 EpidVerify(verifier, nullptr, sig.size(), msg.data(), msg.size())); in TEST_F()
50 EpidVerify(verifier, (EpidSignature const*)sig.data(), sig.size(), in TEST_F()
55 VerifierCtxObj verifier(this->kGrp01Key); in TEST_F() local
60 EpidVerify(verifier, (EpidSignature const*)sig.data(), 0, in TEST_F()
63 EpidVerify(verifier, (EpidSignature const*)sig.data(), in TEST_F()
69 VerifierCtxObj verifier(this->kGrp01Key); in TEST_F() local
70 EpidVerifierSetSigRl(verifier, (SigRl const*)this->kGrp01SigRl.data(), in TEST_F()
79 EpidVerify(verifier, (EpidSignature const*)sig.data(), sig.size(), in TEST_F()
84 VerifierCtxObj verifier(this->kGrp01Key); in TEST_F() local
[all …]
Dverifybasic-test.cc40 VerifierCtxObj verifier(this->kGrp01Key); in TEST_F() local
49 EpidVerifyBasicSig(verifier, nullptr, msg.data(), msg.size())); in TEST_F()
51 EpidVerifyBasicSig(verifier, &basic_sig, nullptr, msg.size())); in TEST_F()
56 VerifierCtxObj verifier(this->kGrp01Key); in TEST_F() local
63 EpidVerifyBasicSig(verifier, &basic_sig, msg.data(), msg.size())); in TEST_F()
67 VerifierCtxObj verifier(this->kGrp01Key); in TEST_F() local
73 THROW_ON_EPIDERR(EpidVerifierSetHashAlg(verifier, kSha256)); in TEST_F()
75 EpidVerifyBasicSig(verifier, &basic_sig, msg.data(), msg.size())); in TEST_F()
79 VerifierCtxObj verifier(this->kGrp01Key); in TEST_F() local
84 THROW_ON_EPIDERR(EpidVerifierSetHashAlg(verifier, kSha384)); in TEST_F()
[all …]
Dnrverify-test.cc39 VerifierCtxObj verifier(this->kGrp01Key); in TEST_F() local
49 EXPECT_EQ(kEpidBadArgErr, EpidNrVerify(verifier, nullptr, this->kTest0.data(), in TEST_F()
54 EpidNrVerify(verifier, &epid_signature->sigma0, nullptr, in TEST_F()
60 EpidNrVerify(verifier, &epid_signature->sigma0, this->kTest0.data(), in TEST_F()
64 EpidNrVerify(verifier, &epid_signature->sigma0, this->kTest0.data(), in TEST_F()
74 VerifierCtxObj verifier(this->kGrp01Key); in TEST_F() local
82 EpidNrVerify(verifier, &epid_signature->sigma0, this->kTest0.data(), in TEST_F()
89 VerifierCtxObj verifier(this->kGrp01Key); in TEST_F() local
97 EpidNrVerify(verifier, &epid_signature->sigma0, this->kTest0.data(), in TEST_F()
104 VerifierCtxObj verifier(this->kGrp01Key); in TEST_F() local
[all …]
Dcheck_privrl_entry-test.cc41 VerifierCtxObj verifier(pub_key); in TEST_F() local
47 EXPECT_EQ(kEpidBadArgErr, EpidCheckPrivRlEntry(verifier, nullptr, &fp_str)); in TEST_F()
49 EpidCheckPrivRlEntry(verifier, &basic_signature, nullptr)); in TEST_F()
60 VerifierCtxObj verifier(pub_key); in TEST_F() local
65 EpidCheckPrivRlEntry(verifier, &basic_signature, &fp_str)); in TEST_F()
77 VerifierCtxObj verifier(pub_key); in TEST_F() local
83 EpidCheckPrivRlEntry(verifier, &basic_signature, &fp_str)); in TEST_F()
93 VerifierCtxObj verifier(pub_key); in TEST_F() local
98 EpidCheckPrivRlEntry(verifier, &basic_signature, &fp_str)); in TEST_F()
109 VerifierCtxObj verifier(pub_key); in TEST_F() local
[all …]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/tls/
DHostnameVerifierTest.java39 private HostnameVerifier verifier = OkHostnameVerifier.INSTANCE; field in HostnameVerifierTest
43 assertFalse(verifier.verify("localhost", session)); in verify()
76 assertFalse(verifier.verify("foo.com", session)); in verifyCn()
77 assertFalse(verifier.verify("a.foo.com", session)); in verifyCn()
78 assertFalse(verifier.verify("bar.com", session)); in verifyCn()
111 assertFalse(verifier.verify("\u82b1\u5b50.co.jp", session)); in verifyNonAsciiCn()
112 assertFalse(verifier.verify("a.\u82b1\u5b50.co.jp", session)); in verifyNonAsciiCn()
144 assertFalse(verifier.verify("foo.com", session)); in verifySubjectAlt()
145 assertFalse(verifier.verify("a.foo.com", session)); in verifySubjectAlt()
146 assertTrue(verifier.verify("bar.com", session)); in verifySubjectAlt()
[all …]
/external/epid-sdk/epid/verifier/1.1/unittests/
Dverify-test.cc37 Epid11VerifierCtxObj verifier(this->kPubKeyStr); in TEST_F() local
44 EXPECT_EQ(kEpidBadArgErr, Epid11Verify(verifier, nullptr, sig.size(), in TEST_F()
47 Epid11Verify(verifier, (Epid11Signature const*)sig.data(), in TEST_F()
52 Epid11VerifierCtxObj verifier(this->kPubKeyStr); in TEST_F() local
57 Epid11Verify(verifier, (Epid11Signature const*)sig.data(), 0, in TEST_F()
60 Epid11Verify(verifier, (Epid11Signature const*)sig.data(), in TEST_F()
66 Epid11VerifierCtxObj verifier(this->kPubKeyStr); in TEST_F() local
67 Epid11VerifierSetSigRl(verifier, (Epid11SigRl const*)this->kSigRl.data(), in TEST_F()
76 Epid11Verify(verifier, (Epid11Signature const*)sig.data(), in TEST_F()
81 Epid11VerifierCtxObj verifier(this->kPubKeyStr); in TEST_F() local
[all …]
Dcontext-test.cc107 Epid11VerifierCtxObj verifier(this->kPubKeyStr, this->kVerifierPrecompStr); in TEST_F() local
108 Epid11VerifierCtx* ctx = verifier; in TEST_F()
114 Epid11VerifierCtxObj verifier(this->kPubKeyStr, this->kVerifierPrecompStr); in TEST_F() local
115 Epid11VerifierCtx* ctx = verifier; in TEST_F()
129 Epid11VerifierCtxObj verifier(this->kPubKeyStr, this->kVerifierPrecompStr); in TEST_F() local
135 Epid11VerifierSetPrivRl(verifier, nullptr, sizeof(prl))); in TEST_F()
139 Epid11VerifierCtxObj verifier(this->kPubKeyStr, this->kVerifierPrecompStr); in TEST_F() local
142 EXPECT_EQ(kEpidBadArgErr, Epid11VerifierSetPrivRl(verifier, &prl, 0)); in TEST_F()
147 Epid11VerifierCtxObj verifier(this->kPubKeyStr, this->kVerifierPrecompStr); in TEST_F() local
151 Epid11VerifierSetPrivRl(verifier, &prl, in TEST_F()
[all …]
Dnrverify-test.cc41 Epid11VerifierCtxObj verifier(this->kPubKeyStr); in TEST_F() local
54 Epid11NrVerify(verifier, nullptr, this->kMsg0.data(), this->kMsg0.size(), in TEST_F()
58 Epid11NrVerify(verifier, &epid_signature->sigma0, nullptr, in TEST_F()
64 Epid11NrVerify(verifier, &epid_signature->sigma0, this->kMsg0.data(), in TEST_F()
69 Epid11NrVerify(verifier, &epid_signature->sigma0, this->kMsg0.data(), in TEST_F()
76 Epid11VerifierCtxObj verifier(this->kPubKeyStr); in TEST_F() local
86 EXPECT_EQ(kEpidBadArgErr, Epid11NrVerify(verifier, &epid_signature->sigma0, in TEST_F()
90 EXPECT_EQ(kEpidBadArgErr, Epid11NrVerify(verifier, &epid_signature->sigma0, in TEST_F()
97 Epid11VerifierCtxObj verifier(this->kPubKeyStr); in TEST_F() local
107 Epid11NrVerify(verifier, &epid_signature->sigma0, this->kMsg0.data(), in TEST_F()
[all …]
Dverifybasic-test.cc36 Epid11VerifierCtxObj verifier(this->kPubKeyStr); in TEST_F() local
45 Epid11VerifyBasicSig(verifier, nullptr, msg.data(), msg.size())); in TEST_F()
47 Epid11VerifyBasicSig(verifier, &basic_sig, nullptr, msg.size())); in TEST_F()
52 Epid11VerifierCtxObj verifier(this->kPubKeyStr); in TEST_F() local
59 Epid11VerifyBasicSig(verifier, &basic_sig, msg.data(), msg.size())); in TEST_F()
64 Epid11VerifierCtxObj verifier(this->kPubKeyStr); in TEST_F() local
71 EXPECT_NE(kEpidNoErr, Epid11VerifyBasicSig(verifier, &corrupted_basic_sig, in TEST_F()
77 Epid11VerifierCtxObj verifier(this->kPubKeyStr); in TEST_F() local
84 Epid11VerifyBasicSig(verifier, &basic_sig, msg.data(), msg.size())); in TEST_F()
88 Epid11VerifierCtxObj verifier(this->kPubKeyStr); in TEST_F() local
[all …]
/external/libchrome/crypto/
Dsignature_verifier_unittest.cc190 crypto::SignatureVerifier verifier; in TEST() local
194 EXPECT_TRUE(verifier.VerifyInit(crypto::SignatureVerifier::RSA_PKCS1_SHA1, in TEST()
196 verifier.VerifyUpdate(tbs_certificate); in TEST()
197 EXPECT_TRUE(verifier.VerifyFinal()); in TEST()
201 EXPECT_TRUE(verifier.VerifyInit(crypto::SignatureVerifier::RSA_PKCS1_SHA1, in TEST()
203 verifier.VerifyUpdate(base::make_span(tbs_certificate, 256)); in TEST()
204 verifier.VerifyUpdate(base::make_span(tbs_certificate + 256, 256)); in TEST()
205 verifier.VerifyUpdate( in TEST()
207 EXPECT_TRUE(verifier.VerifyFinal()); in TEST()
213 EXPECT_TRUE(verifier.VerifyInit(crypto::SignatureVerifier::RSA_PKCS1_SHA1, in TEST()
[all …]
Dsignature_creator_unittest.cc46 crypto::SignatureVerifier verifier; in TEST() local
47 ASSERT_TRUE(verifier.VerifyInit(crypto::SignatureVerifier::RSA_PKCS1_SHA1, in TEST()
50 verifier.VerifyUpdate(base::as_bytes(base::make_span(data))); in TEST()
51 ASSERT_TRUE(verifier.VerifyFinal()); in TEST()
78 crypto::SignatureVerifier verifier; in TEST() local
79 ASSERT_TRUE(verifier.VerifyInit(crypto::SignatureVerifier::RSA_PKCS1_SHA1, in TEST()
82 verifier.VerifyUpdate(base::as_bytes(base::make_span(data))); in TEST()
83 ASSERT_TRUE(verifier.VerifyFinal()); in TEST()
111 crypto::SignatureVerifier verifier; in TEST() local
112 ASSERT_TRUE(verifier.VerifyInit(crypto::SignatureVerifier::RSA_PKCS1_SHA256, in TEST()
[all …]
/external/flatbuffers/include/flatbuffers/
Dreflection_generated.h117 bool Verify(flatbuffers::Verifier &verifier) const { in Verify()
118 return VerifyTableStart(verifier) && in Verify()
119 VerifyField<int8_t>(verifier, VT_BASE_TYPE) && in Verify()
120 VerifyField<int8_t>(verifier, VT_ELEMENT) && in Verify()
121 VerifyField<int32_t>(verifier, VT_INDEX) && in Verify()
122 verifier.EndTable(); in Verify()
179 bool Verify(flatbuffers::Verifier &verifier) const { in Verify()
180 return VerifyTableStart(verifier) && in Verify()
181 VerifyOffsetRequired(verifier, VT_KEY) && in Verify()
182 verifier.VerifyString(key()) && in Verify()
[all …]
/external/deqp/modules/gles31/functional/
Des31fIntegerStateQueryTests.cpp783 const QueryType verifier = verifiers[verifierNdx]; \ in init()
787 …ix).c_str(), "Test GL_MAX_COLOR_TEXTURE_SAMPLES", GL_MAX_COLOR_TEXTURE_SAMPLES, 1, verifier)) in init()
788 …ix).c_str(), "Test GL_MAX_DEPTH_TEXTURE_SAMPLES", GL_MAX_DEPTH_TEXTURE_SAMPLES, 1, verifier)) in init()
789 …erSuffix).c_str(), "Test GL_MAX_INTEGER_SAMPLES", GL_MAX_INTEGER_SAMPLES, 1, verifier)) in init()
791 …ING_2D_MULTISAMPLE", GL_TEXTURE_2D_MULTISAMPLE, GL_TEXTURE_BINDING_2D_MULTISAMPLE, verifier)) in init()
792 …SAMPLE_ARRAY", GL_TEXTURE_2D_MULTISAMPLE_ARRAY, GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY, verifier)) in init()
793 …ING_CUBE_MAP_ARRAY", GL_TEXTURE_CUBE_MAP_ARRAY, GL_TEXTURE_BINDING_CUBE_MAP_ARRAY, verifier)) in init()
794 …"Test TEXTURE_BINDING_BUFFER", GL_TEXTURE_BUFFER, GL_TEXTURE_BINDING_BUFFER, verifier)) in init()
796 … "Test MAX_VERTEX_ATTRIB_RELATIVE_OFFSET", GL_MAX_VERTEX_ATTRIB_RELATIVE_OFFSET, 2047, verifier)) in init()
797 ….c_str(), "Test MAX_VERTEX_ATTRIB_BINDINGS", GL_MAX_VERTEX_ATTRIB_BINDINGS, 16, verifier)) in init()
[all …]
Des31fFramebufferDefaultStateQueryTests.cpp57 FramebufferTest (Context& context, QueryType verifier, const char* name, const char* desc);
67 FramebufferTest::FramebufferTest (Context& context, QueryType verifier, const char* name, const cha… in FramebufferTest() argument
69 , m_verifier (verifier) in FramebufferTest()
109 …FramebufferDimensionTest (Context& context, QueryType verifier, DimensionType dimension, const cha…
117 FramebufferDimensionTest::FramebufferDimensionTest (Context& context, QueryType verifier, Dimension… in FramebufferDimensionTest() argument
118 : FramebufferTest (context, verifier, name, desc) in FramebufferDimensionTest()
143 … FramebufferSamplesTest (Context& context, QueryType verifier, const char* name, const char* desc);
148 FramebufferSamplesTest::FramebufferSamplesTest (Context& context, QueryType verifier, const char* n… in FramebufferSamplesTest() argument
149 : FramebufferTest(context, verifier, name, desc) in FramebufferSamplesTest()
172 …FramebufferFixedSampleLocationsTest (Context& context, QueryType verifier, const char* name, const…
[all …]
/external/deqp/modules/gles2/functional/
Des2fIntegerStateQueryTests.cpp661 …ConstantMinimumValueTestCase (Context& context, StateVerifier* verifier, const char* name, const c… in ConstantMinimumValueTestCase() argument
665 , m_verifier (verifier) in ConstantMinimumValueTestCase()
684 …SampleBuffersTestCase (Context& context, StateVerifier* verifier, const char* name, const char* de… in SampleBuffersTestCase() argument
686 , m_verifier (verifier) in SampleBuffersTestCase()
707 …SamplesTestCase (Context& context, StateVerifier* verifier, const char* name, const char* descript… in SamplesTestCase() argument
709 , m_verifier (verifier) in SamplesTestCase()
741 …HintTestCase (Context& context, StateVerifier* verifier, const char* name, const char* description… in HintTestCase() argument
744 , m_verifier (verifier) in HintTestCase()
774 …DepthFuncTestCase (Context& context, StateVerifier* verifier, const char* name, const char* descri… in DepthFuncTestCase() argument
776 , m_verifier (verifier) in DepthFuncTestCase()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_verifier_test.cc78 TF_ASSERT_OK(verifier().Run(module.get()).status()); in TEST_F()
82 auto status = verifier().Run(module.get()).status(); in TEST_F()
97 TF_ASSERT_OK(verifier().Run(module.get()).status()); in TEST_F()
101 auto status = verifier().Run(module.get()).status(); in TEST_F()
121 TF_ASSERT_OK(verifier().Run(module.get()).status()); in TEST_F()
124 auto status = verifier().Run(module.get()).status(); in TEST_F()
152 EXPECT_FALSE(verifier().Run(module.get()).status().ok()); in TEST_F()
153 EXPECT_FALSE(verifier().Run(module.get()).status().ok()); in TEST_F()
171 auto status = verifier().Run(module.get()).status(); in TEST_F()
200 auto status = verifier().Run(module.get()).status(); in TEST_F()
[all …]
/external/deqp/modules/gles3/functional/
Des3fIntegerStateQueryTests.cpp917 …ConstantMinimumValueTestCase (Context& context, StateVerifier* verifier, const char* name, const c… in ConstantMinimumValueTestCase() argument
921 , m_verifier (verifier) in ConstantMinimumValueTestCase()
940 …ConstantMaximumValueTestCase (Context& context, StateVerifier* verifier, const char* name, const c… in ConstantMaximumValueTestCase() argument
944 , m_verifier (verifier) in ConstantMaximumValueTestCase()
963 …SampleBuffersTestCase (Context& context, StateVerifier* verifier, const char* name, const char* de… in SampleBuffersTestCase() argument
965 , m_verifier (verifier) in SampleBuffersTestCase()
986 …SamplesTestCase (Context& context, StateVerifier* verifier, const char* name, const char* descript… in SamplesTestCase() argument
988 , m_verifier (verifier) in SamplesTestCase()
1020 …HintTestCase (Context& context, StateVerifier* verifier, const char* name, const char* description… in HintTestCase() argument
1023 , m_verifier (verifier) in HintTestCase()
[all …]
/external/python/oauth2client/tests/
Dtest__pure_python_crypt.py56 verifier = crypt.RsaVerifier.from_string(
58 self.assertTrue(verifier.verify(to_sign, actual_signature))
65 verifier = crypt.RsaVerifier.from_string(
67 self.assertTrue(verifier.verify(to_sign, actual_signature))
70 verifier = crypt.RsaVerifier.from_string(
73 self.assertFalse(verifier.verify(b'foo', bad_signature1))
75 self.assertFalse(verifier.verify(b'foo', bad_signature2))
79 verifier = crypt.RsaVerifier.from_string(
81 self.assertIsInstance(verifier, crypt.RsaVerifier)
82 self.assertIsInstance(verifier._pubkey, rsa.key.PublicKey)
[all …]
/external/flatbuffers/tests/namespace_test/
Dnamespace_test2_generated.h68 bool Verify(flatbuffers::Verifier &verifier) const { in Verify()
69 return VerifyTableStart(verifier) && in Verify()
70 VerifyOffset(verifier, VT_FOO_TABLE) && in Verify()
71 verifier.VerifyTable(foo_table()) && in Verify()
72 VerifyField<int8_t>(verifier, VT_FOO_ENUM) && in Verify()
73 VerifyField<NamespaceA::NamespaceB::StructInNestedNS>(verifier, VT_FOO_STRUCT) && in Verify()
74 verifier.EndTable(); in Verify()
138 bool Verify(flatbuffers::Verifier &verifier) const { in Verify()
139 return VerifyTableStart(verifier) && in Verify()
140 VerifyOffset(verifier, VT_REFER_TO_A1) && in Verify()
[all …]
/external/wycheproof/java/com/google/security/wycheproof/testcases/
DRsaSignatureTest.java1091 Signature verifier = Signature.getInstance(algorithm); in testBasic() local
1095 verifier.initVerify(pub); in testBasic()
1096 verifier.update(messageBytes); in testBasic()
1097 assertTrue(verifier.verify(signature)); in testBasic()
1130 Signature verifier = Signature.getInstance(algorithm); in testVectors() local
1137 verifier.initVerify(pub); in testVectors()
1138 verifier.update(message); in testVectors()
1141 verified = verifier.verify(signatureBytes); in testVectors()
1194 Signature verifier = Signature.getInstance(algorithm); in testLegacySignatures() local
1199 verifier.initVerify(pub); in testLegacySignatures()
[all …]

12345678910>>...19