HomeSort by relevance Sort by last modified time
    Searched refs:Nonce (Results 1 - 10 of 10) sorted by null

  /external/google-tv-pairing-protocol/cpp/src/polo/pairing/
polochallengeresponse.h 27 typedef std::vector<uint8_t> Alpha, Gamma, Nonce;
40 // Computes the alpha value based on the given nonce.
41 virtual Alpha* GetAlpha(const Nonce& nonce) const;
43 // Computes the gamma value based on the given nonce.
44 virtual Gamma* GetGamma(const Nonce& nonce) const;
46 // Extracts the nonce from the given gamma value.
47 virtual Nonce* ExtractNonce(const Gamma& gamma) const;
polochallengeresponse.cc 32 Alpha* PoloChallengeResponse::GetAlpha(const Nonce& nonce) const {
54 // modulus and exponent are concatenated along with the random nonce then a
64 + nonce.size();
81 memcpy(pos, &nonce[0], nonce.size());
96 Gamma* PoloChallengeResponse::GetGamma(const Nonce& nonce) const {
97 const Alpha* alpha = GetAlpha(nonce);
102 Gamma* gamma = new Gamma(nonce.size() * 2)
118 Nonce* nonce = new Nonce(gamma.size() \/ 2); local
125 const Nonce* nonce = ExtractNonce(gamma); local
    [all...]
pairingsession.h 160 // Gets the nonce value.
161 const Nonce* nonce() const { return nonce_; } function in class:polo::pairing::PairingSession
193 Nonce* nonce_;
pairingsession.cc 105 LOG(ERROR) << "Failed to extract nonce";
159 nonce_ = new Nonce(random, random + bytes_needed);
263 LOG(ERROR) << "Nonce not set";
  /external/google-tv-pairing-protocol/cpp/tests/polo/pairing/
mocks.h 28 MOCK_CONST_METHOD1(GetAlpha, Alpha*(const Nonce& nonce));
29 MOCK_CONST_METHOD1(GetGamma, Gamma*(const Nonce& nonce));
30 MOCK_CONST_METHOD1(ExtractNonce, Nonce*(const Gamma& gamma));
polochallengeresponsetest.cc 26 PoloChallengeResponseTest() : nonce(4) { }
76 nonce[0] = 0x1;
77 nonce[1] = 0x2;
78 nonce[2] = 0x3;
79 nonce[3] = 0x4;
98 Nonce nonce; member in class:polo::pairing::PoloChallengeResponseTest
103 const Alpha* alpha = response->GetAlpha(nonce);
112 const Gamma* gamma = response->GetGamma(nonce);
121 const Gamma* gamma = response->GetGamma(nonce);
    [all...]
pairingsessiontest.cc 203 Nonce nonce(5, 0x2);
208 .WillOnce(Return(new Nonce(nonce)));
209 EXPECT_CALL(challenge_, GetAlpha(nonce))
233 Nonce nonce(5, 0x2);
238 .WillOnce(Return(new Nonce(nonce)));
239 EXPECT_CALL(challenge_, GetAlpha(nonce))
    [all...]
  /external/jetty/src/java/org/eclipse/jetty/security/authentication/
DigestAuthenticator.java 56 * The nonce max age in ms can be set with the {@link SecurityHandler#setInitParameter(String, String)}
65 private ConcurrentMap<String, Nonce> _nonceMap = new ConcurrentHashMap<String, Nonce>();
66 private Queue<Nonce> _nonceQueue = new ConcurrentLinkedQueue<Nonce>();
67 private static class Nonce
73 public Nonce(String nonce, long ts, int size)
75 _nonce=nonce;
201 else if ("nonce".equalsIgnoreCase(name)
263 Nonce nonce; local
288 Nonce nonce=_nonceQueue.peek(); local
326 String nonce = ""; field in class:DigestAuthenticator.Digest
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
wbemtran.h 192 virtual HRESULT WINAPI RequestChallenge(LPWSTR wszNetworkResource,LPWSTR wszUser,WBEM_128BITS Nonce) = 0;
203 HRESULT (WINAPI *RequestChallenge)(IWbemLevel1Login *This,LPWSTR wszNetworkResource,LPWSTR wszUser,WBEM_128BITS Nonce);
216 #define IWbemLevel1Login_RequestChallenge(This,wszNetworkResource,wszUser,Nonce) (This)->lpVtbl->RequestChallenge(This,wszNetworkResource,wszUser,Nonce)
223 HRESULT WINAPI IWbemLevel1Login_RequestChallenge_Proxy(IWbemLevel1Login *This,LPWSTR wszNetworkResource,LPWSTR wszUser,WBEM_128BITS Nonce);
wincrypt.h     [all...]

Completed in 142 milliseconds