/frameworks/base/libs/storage/ |
IObbActionListener.cpp | 33 virtual void onObbResult(const String16& filename, const int32_t nonce, const int32_t state) { } 47 int32_t nonce = data.readInt32(); local 49 onObbResult(filename, nonce, state);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/ |
AEADParameters.java | 9 private byte[] nonce; field in class:AEADParameters 18 * @param nonce nonce to be used 20 public AEADParameters(KeyParameter key, int macSize, byte[] nonce) 22 this(key, macSize, nonce, null); 30 * @param nonce nonce to be used 33 public AEADParameters(KeyParameter key, int macSize, byte[] nonce, byte[] associatedText) 36 this.nonce = nonce; [all...] |
/external/chromium_org/chrome/browser/chromeos/settings/ |
token_encryptor.cc | 83 std::string nonce = salt.substr(0, kNonceSize); local 85 CHECK(encryptor.SetCounter(nonce)); 115 std::string nonce = salt.substr(0, kNonceSize); local 117 CHECK(encryptor.SetCounter(nonce));
|
/external/chromium_org/net/quic/crypto/ |
crypto_utils.cc | 26 string* nonce) { 28 nonce->reserve(kNonceSize); 29 nonce->resize(kNonceSize); 31 // The time in the nonce must be encoded in big-endian because the 33 (*nonce)[0] = static_cast<char>(gmt_unix_time >> 24); 34 (*nonce)[1] = static_cast<char>(gmt_unix_time >> 16); 35 (*nonce)[2] = static_cast<char>(gmt_unix_time >> 8); 36 (*nonce)[3] = static_cast<char>(gmt_unix_time); 40 memcpy(&(*nonce)[bytes_written], orbit.data(), orbit.size()); 43 random_generator->RandBytes(&(*nonce)[bytes_written] 92 StringPiece nonce = client_nonce; local [all...] |
aes_128_gcm_12_decrypter_openssl.cc | 38 // Set the IV (nonce) length. 57 bool Aes128Gcm12Decrypter::Decrypt(StringPiece nonce, 63 nonce.size() != kNoncePrefixSize + sizeof(QuicPacketSequenceNumber)) { 68 // Set the IV (nonce). 71 reinterpret_cast<const uint8*>(nonce.data())) == 0) { 125 uint8 nonce[kNoncePrefixSize + sizeof(sequence_number)]; local 126 COMPILE_ASSERT(sizeof(nonce) == kAESNonceSize, bad_sequence_number_size); 127 memcpy(nonce, nonce_prefix_, kNoncePrefixSize); 128 memcpy(nonce + kNoncePrefixSize, &sequence_number, sizeof(sequence_number)); 129 if (!Decrypt(StringPiece(reinterpret_cast<char*>(nonce), sizeof(nonce)) [all...] |
aes_128_gcm_12_encrypter_openssl.cc | 55 // Set the IV (nonce) length. 75 bool Aes128Gcm12Encrypter::Encrypt(StringPiece nonce, 79 if (nonce.size() != kNoncePrefixSize + sizeof(QuicPacketSequenceNumber)) { 83 // Set the IV (nonce). 86 reinterpret_cast<const unsigned char*>(nonce.data())) == 0) { 140 uint8 nonce[kNoncePrefixSize + sizeof(sequence_number)]; local 141 COMPILE_ASSERT(sizeof(nonce) == kAESNonceSize, bad_sequence_number_size); 142 memcpy(nonce, nonce_prefix_, kNoncePrefixSize); 143 memcpy(nonce + kNoncePrefixSize, &sequence_number, sizeof(sequence_number)); 144 if (!Encrypt(StringPiece(reinterpret_cast<char*>(nonce), sizeof(nonce)) [all...] |
strike_register_test.cc | 23 void SetNonce(uint8 nonce[32], unsigned time, const uint8 orbit[8]) { 24 nonce[0] = time >> 24; 25 nonce[1] = time >> 16; 26 nonce[2] = time >> 8; 27 nonce[3] = time; 28 memcpy(nonce + 4, orbit, 8); 29 memset(nonce + 12, 0, 20); 37 uint8 nonce[32]; local 38 SetNonce(nonce, 999, kOrbit); 39 ASSERT_FALSE(set.Insert(nonce, 1000)) 50 uint8 nonce[32]; local 61 uint8 nonce[32]; local 73 uint8 nonce[32]; local 83 uint8 nonce[32]; local 93 uint8 nonce[32]; local 103 uint8 nonce[6][32]; local 125 uint8 nonce[32]; local 176 string nonce; local 278 uint8 nonce[32]; local [all...] |
/external/chromium_org/net/quic/test_tools/ |
delayed_verify_strike_register_client.h | 17 // Test helper that allows delaying execution of nonce verification 28 virtual void VerifyNonceIsValidAndUnique(base::StringPiece nonce, 46 : nonce(in_nonce.as_string()), now(in_now), cb(in_cb) { 49 std::string nonce; member in struct:net::test::DelayedVerifyStrikeRegisterClient::VerifyArgs
|
/external/srtp/crypto/test/ |
stat_driver.c | 46 v128_t nonce; local 74 err_check(cipher_set_iv(c, &nonce)); 84 v128_set_to_zero(&nonce); 88 nonce.v32[3] = i; 89 err_check(cipher_set_iv(c, &nonce));
|
cipher_driver.c | 423 v128_t nonce; local 434 v128_set_to_zero(&nonce); 436 for(i=0; i < num_trials; i++, nonce.v32[3] = i) { 442 cipher_set_iv(cipher_array[cipher_index], &nonce);
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x509/tsp/ |
TimeStampReqTest.java | 43 BigInteger nonce = BigInteger.valueOf(1234567890L); local 51 nonce, Boolean.FALSE, exts); 62 assertEquals("Decoded nonce is incorrect", nonce, decoded.getNonce());
|
TSTInfoTest.java | 49 BigInteger nonce = BigInteger.valueOf(1234567890L); local 61 genTime, accuracy, Boolean.FALSE, nonce, tsa, exts); 80 assertEquals("Decoded nonce is incorrect", nonce, decoded.getNonce());
|
TimeStampRespTest.java | 64 BigInteger nonce = BigInteger.valueOf(1234567890L); local 77 genTime, accuracy, Boolean.FALSE, nonce, tsa, exts);
|
/external/chromium_org/chromeos/dbus/ |
shill_manager_client.h | 90 std::string nonce; member in struct:chromeos::ShillManagerClient::VerificationProperties
|
/external/chromium_org/third_party/openssl/openssl/crypto/chacha/ |
chachatest.c | 150 unsigned char *nonce = misalign(nonce_bytes); local 166 hex_decode(nonce, test->noncehex); 177 CRYPTO_chacha_20(out, zeros, len, key, nonce, 0); 195 CRYPTO_chacha_20(out, zeros, len - 64, key, nonce, 1);
|
/external/openssh/ |
mac.c | 133 u_char b[4], nonce[8]; local 149 put_u64(nonce, seqno); 151 umac_final(mac->umac_ctx, m, nonce);
|
/external/srtp/crypto/cipher/ |
cipher.c | 381 v128_t nonce; local 391 v128_set_to_zero(&nonce); 393 for(i=0; i < num_trials; i++, nonce.v32[3] = i) { 394 cipher_set_iv(c, &nonce);
|
aes_icm.c | 64 * | nonce | pakcet index | ctr |---+ 86 * nonce can be distinct across many uses of the same key, or 263 v128_t *nonce = (v128_t *) iv; local 266 "setting iv: %s", v128_hex_string(nonce)); 268 v128_xor(&c->counter, &c->offset, nonce);
|
/external/wpa_supplicant_8/src/ap/ |
wpa_auth_ie.h | 25 const u8 *nonce; member in struct:wpa_eapol_ie_parse
|
/libcore/luni/src/main/java/org/apache/harmony/security/x509/tsp/ |
TimeStampReq.java | 43 * nonce INTEGER OPTIONAL, 57 private final BigInteger nonce; field in class:TimeStampReq 66 String reqPolicy, BigInteger nonce, Boolean certReq, 71 this.nonce = nonce; 77 String reqPolicy, BigInteger nonce, Boolean certReq, 79 this (version, messageImprint, reqPolicy, nonce, certReq, extensions); 93 res.append(nonce); 135 * @return Returns the nonce. 138 return nonce; [all...] |
TSTInfo.java | 53 * nonce INTEGER OPTIONAL, 80 private final BigInteger nonce; field in class:TSTInfo 88 Boolean ordering, BigInteger nonce, GeneralName tsa, 97 this.nonce = nonce; 123 res.append(nonce); 161 * @return Returns the nonce. 164 return nonce; 254 ASN1Integer.getInstance(), // nonce 268 BigInteger nonce = (values[7] == null) ? null : new BigInteger [all...] |
/external/chromium_org/remoting/host/ |
token_validator_factory_impl.cc | 28 // Length in bytes of the cryptographic nonce used to salt the token scope. 109 std::string nonce; local 110 base::Base64Encode(nonce_bytes, &nonce); 111 return "client:" + remote_jid + " host:" + local_jid + " nonce:" + nonce;
|
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/ |
turnport.h | 93 const std::string& nonce() const { return nonce_; } function in class:cricket::TurnPort 118 void set_nonce(const std::string& nonce) { nonce_ = nonce; }
|
/frameworks/base/core/java/android/os/storage/ |
IObbActionListener.java | 72 int nonce; local 73 nonce = data.readInt(); 76 this.onObbResult(filename, nonce, status); 106 public void onObbResult(String filename, int nonce, int status) 113 _data.writeInt(nonce); 132 * @param nonce identifier that is meaningful to the receiver 135 public void onObbResult(String filename, int nonce, int status) throws RemoteException;
|
/frameworks/base/native/android/ |
storage_manager.cpp | 44 virtual void onObbResult(const android::String16& filename, const int32_t nonce, 51 : nonce(_nonce) 56 int32_t nonce; member in class:ObbCallback 105 void fireCallback(const char* filename, const int32_t nonce, const int32_t state) { 112 if (cb->nonce == nonce) { 141 mMountService->mountObb(rawPath16, canonicalPath16, key16, mObbActionListener, cb->nonce); 147 mMountService->unmountObb(filename16, force, mObbActionListener, cb->nonce); 166 void ObbActionListener::onObbResult(const android::String16& filename, const int32_t nonce, const int32_t state) { 167 mStorageManager->fireCallback(String8(filename).string(), nonce, state) [all...] |