/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/src/main/java/org/bouncycastle/crypto/params/ |
AEADParameters.java | 9 private byte[] nonce; field in class:AEADParameters 18 * @param nonce nonce to be used 21 public AEADParameters(KeyParameter key, int macSize, byte[] nonce, byte[] associatedText) 24 this.nonce = nonce; 46 return nonce;
|
/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/dbus/dbus/ |
dbus-nonce.c | 2 /* dbus-nonce.c Nonce handling functions used by nonce-tcp (internal to D-Bus implementation) 26 #include "dbus-nonce.h" 34 do_check_nonce (int fd, const DBusString *nonce, DBusError *error) 63 dbus_set_error (error, DBUS_ERROR_IO_ERROR, "Could not read nonce from socket (fd=%d)", fd ); 72 dbus_set_error (error, DBUS_ERROR_IO_ERROR, "Could not read nonce from socket (fd=%d)", fd ); 82 result = _dbus_string_equal_len (&buffer, nonce, 16); 93 * reads the nonce from the nonce file and stores it in a strin 137 DBusString nonce; local 159 DBusString nonce; local 195 DBusString nonce; local [all...] |
/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_6/wpa_supplicant/src/rsn_supp/ |
wpa_ie.h | 31 const u8 *nonce; member in struct:wpa_eapol_ie_parse
|
/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/wpa_supplicant_6/wpa_supplicant/tests/ |
test_aes.c | 65 u8 nonce[] = { 0xBE, 0xCA, 0xF0, 0x43, 0xB0, 0xA2, 0x3D, 0x84, local 74 if (aes_128_eax_encrypt(key, nonce, sizeof(nonce), hdr, sizeof(hdr), 89 if (aes_128_eax_decrypt(key, nonce, sizeof(nonce), hdr, sizeof(hdr),
|
/external/wpa_supplicant_8/src/rsn_supp/ |
wpa_ie.h | 27 const u8 *nonce; member in struct:wpa_eapol_ie_parse
|
/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) { 132 mMountService->mountObb(filename16, key16, mObbActionListener, cb->nonce); 138 mMountService->unmountObb(filename16, force, mObbActionListener, cb->nonce); 157 void ObbActionListener::onObbResult(const android::String16& filename, const int32_t nonce, const int32_t state) { 158 mStorageManager->fireCallback(String8(filename).string(), nonce, state) [all...] |
/cts/tests/tests/jni/src/android/jni/cts/ |
JniStaticTest.java | 21 * Basic static method tests. The "nonce" class being tested by this 142 StaticNonce nonce = StaticNonce.returnInstance(); local 143 assertSame(StaticNonce.class, nonce.getClass());
|
/external/apache-http/src/org/apache/http/impl/auth/ |
DigestScheme.java | 98 //TODO: supply a real nonce-count, currently a server will interprete a repeated request as a replay 99 private static final String NC = "00000001"; //nonce-count is always 1 131 if (getParameter("nonce") == null) { 132 throw new MalformedChallengeException("missing nonce in challange"); 264 String nonce = getParameter("nonce"); local 273 if (nonce == null) { 274 throw new IllegalStateException("Nonce may not be null"); 309 // ":" unq(nonce-value) 315 StringBuilder tmp3 = new StringBuilder(tmp2.length() + nonce.length() + cnonce.length() + 2) 395 String nonce = getParameter("nonce"); local [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/modes/ |
CCMBlockCipher.java | 27 private byte[] nonce; field in class:CCMBlockCipher 71 nonce = param.getNonce(); 80 nonce = param.getIV(); 175 iv[0] = (byte)(((15 - nonce.length) - 1) & 0x7); 177 System.arraycopy(nonce, 0, iv, 1, nonce.length); 273 b0[0] |= ((15 - nonce.length) - 1) & 0x7; 275 System.arraycopy(nonce, 0, b0, 1, nonce.length);
|
GCMBlockCipher.java | 32 private byte[] nonce; field in class:GCMBlockCipher 90 nonce = param.getNonce(); 106 nonce = param.getIV(); 119 if (nonce == null || nonce.length < 1) 134 // (but must be 16 if nonce length not 12) (BLOCK_SIZE?) 143 if (nonce.length == 12) 146 System.arraycopy(nonce, 0, J0, 0, nonce.length); 151 this.J0 = gHASH(nonce); [all...] |
/external/dropbear/libtomcrypt/demos/ |
tv_gen.c | 397 unsigned char key[MAXBLOCKSIZE], nonce[MAXBLOCKSIZE*2], header[MAXBLOCKSIZE*2], local 402 fprintf(out, "EAX Test Vectors. Uses the 00010203...NN-1 pattern for header/nonce/plaintext/key. The outputs\n" 425 nonce[z] = (unsigned char)(z & 255); 429 if ((err = eax_encrypt_authenticate_memory(x, key, kl, nonce, y1, header, y1, plaintext, y1, plaintext, tag, &len)) != CRYPT_OK) { 457 unsigned char key[MAXBLOCKSIZE], nonce[MAXBLOCKSIZE*2], local 462 fprintf(out, "OCB Test Vectors. Uses the 00010203...NN-1 pattern for nonce/plaintext/key. The outputs\n" 464 "step repeated sufficiently. The nonce is fixed throughout.\n\n"); 482 /* fixed nonce */ 484 nonce[z] = z; 492 if ((err = ocb_encrypt_authenticate_memory(x, key, kl, nonce, plaintext, y1, plaintext, tag, &len)) != CRYPT_OK) 521 unsigned char key[MAXBLOCKSIZE], nonce[MAXBLOCKSIZE*2], local [all...] |
/external/openssl/crypto/modes/ |
modes_lcl.h | 126 union { u64 u[2]; u8 c[16]; } nonce, cmac; member in struct:ccm128_context
|