/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...] |
/device/linaro/bootloader/edk2/NetworkPkg/IpSecDxe/ |
IkeCommon.c | 49 Generate the random data for Nonce payload.
61 UINT8 *Nonce;
64 Nonce = AllocateZeroPool (NonceSize);
65 if (Nonce == NULL) {
69 Status = IpSecCryptoIoGenerateRandomBytes (Nonce, NonceSize);
71 FreePool (Nonce);
74 return Nonce;
|
/prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/llvm/include/llvm/IR/ |
PassManagerInternal.h | 127 template <typename T> struct Nonce { typedef EnabledType Type; }; 129 static typename Nonce<decltype(std::declval<T>().invalidate(
|
/prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/llvm/include/llvm/IR/ |
PassManagerInternal.h | 127 template <typename T> struct Nonce { typedef EnabledType Type; }; 129 static typename Nonce<decltype(std::declval<T>().invalidate(
|
/prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/llvm/include/llvm/IR/ |
PassManagerInternal.h | 127 template <typename T> struct Nonce { typedef EnabledType Type; }; 129 static typename Nonce<decltype(std::declval<T>().invalidate(
|
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/IR/ |
PassManagerInternal.h | 127 template <typename T> struct Nonce { typedef EnabledType Type; }; 129 static typename Nonce<decltype(std::declval<T>().invalidate(
|
/prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/llvm/include/llvm/IR/ |
PassManagerInternal.h | 127 template <typename T> struct Nonce { typedef EnabledType Type; }; 129 static typename Nonce<decltype(std::declval<T>().invalidate(
|
/prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/llvm/include/llvm/IR/ |
PassManagerInternal.h | 127 template <typename T> struct Nonce { typedef EnabledType Type; }; 129 static typename Nonce<decltype(std::declval<T>().invalidate(
|
/prebuilts/clang/host/linux-x86/clang-3977809/prebuilt_include/llvm/include/llvm/IR/ |
PassManagerInternal.h | 127 template <typename T> struct Nonce { typedef EnabledType Type; }; 129 static typename Nonce<decltype(std::declval<T>().invalidate(
|
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/IR/ |
PassManagerInternal.h | 127 template <typename T> struct Nonce { typedef EnabledType Type; }; 129 static typename Nonce<decltype(std::declval<T>().invalidate(
|
/device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLib/Pk/ |
CryptTs.c | 101 /// nonce INTEGER OPTIONAL,
115 ASN1_INTEGER *Nonce;
132 ASN1_OPT (TS_TST_INFO, Nonce, ASN1_INTEGER),
299 if (TstInfo->Nonce != NULL) {
301 // Nonces is optional, No error if no nonce is returned;
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
wbemtran.h | 222 WBEM_128BITS Nonce) = 0; 269 WBEM_128BITS Nonce); 301 #define IWbemLevel1Login_RequestChallenge(This,wszNetworkResource,wszUser,Nonce) (This)->lpVtbl->RequestChallenge(This,wszNetworkResource,wszUser,Nonce) 319 static FORCEINLINE HRESULT IWbemLevel1Login_RequestChallenge(IWbemLevel1Login* This,LPWSTR wszNetworkResource,LPWSTR wszUser,WBEM_128BITS Nonce) { 320 return This->lpVtbl->RequestChallenge(This,wszNetworkResource,wszUser,Nonce); 347 WBEM_128BITS Nonce); [all...] |
wincrypt.h | [all...] |
/device/linaro/bootloader/edk2/NetworkPkg/IpSecDxe/Ikev2/ |
Payload.c | 84 Generate a Nonce payload containing the input parameter NonceBuf.
86 @param[in] NonceBuf The nonce buffer contains the whole Nonce payload block
90 of Nonce Payload header.
92 @retval Pointer to Nonce IKE paload.
103 IKEV2_NONCE *Nonce;
113 // ~ Nonce Data ~
120 Nonce = AllocateZeroPool (Size);
121 ASSERT (Nonce != NULL);
122 CopyMem (Nonce + 1, NonceBlock, Size - sizeof (IKEV2_NONCE)); [all...] |