HomeSort by relevance Sort by last modified time
    Searched defs:nonce (Results 1 - 25 of 94) sorted by null

1 2 3 4

  /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/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/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/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) {
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...]
  /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/bcprov/src/main/java/org/bouncycastle/crypto/modes/
CCMBlockCipher.java 27 private byte[] nonce; field in class:CCMBlockCipher
72 nonce = param.getNonce();
81 nonce = param.getIV();
190 iv[0] = (byte)(((15 - nonce.length) - 1) & 0x7);
192 System.arraycopy(nonce, 0, iv, 1, nonce.length);
288 b0[0] |= ((15 - nonce.length) - 1) & 0x7;
290 System.arraycopy(nonce, 0, b0, 1, nonce.length);
  /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
  /external/smack/src/org/jivesoftware/smack/sasl/
SASLFacebookConnect.java 114 String nonce = parameters.get("nonce"); local
122 +"nonce="+nonce
136 +"nonce="+nonce+"&"
  /external/wpa_supplicant_8/src/eap_common/
eap_tlv_common.h 76 u8 nonce[32]; member in struct:eap_tlv_crypto_binding_tlv
  /external/wpa_supplicant_8/src/eap_peer/
eap_psk.c 185 u8 *buf, *rpchannel, nonce[16], *decrypted; local
259 os_memset(nonce, 0, 12);
260 os_memcpy(nonce + 12, pchannel, 4);
270 wpa_hexdump(MSG_MSGDUMP, "EAP-PSK: PCHANNEL - nonce",
271 nonce, sizeof(nonce));
284 if (aes_128_eax_decrypt(data->tek, nonce, sizeof(nonce),
328 /* nonce++ */
329 inc_byte_array(nonce, sizeof(nonce))
    [all...]
  /external/wpa_supplicant_8/src/eap_server/
eap_server_psk.c 96 u8 *buf, *pchannel, nonce[16]; local
135 os_memset(nonce, 0, sizeof(nonce));
137 os_memcpy(pchannel, nonce + 12, 4);
142 if (aes_128_eax_encrypt(data->tek, nonce, sizeof(nonce),
336 u8 *decrypted, nonce[16]; local
364 wpa_printf(MSG_DEBUG, "EAP-PSK: Nonce did not increase");
368 os_memset(nonce, 0, 12);
369 os_memcpy(nonce + 12, pos, 4)
    [all...]

Completed in 904 milliseconds

1 2 3 4