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

1 2 3 4 5 6

  /frameworks/base/libs/storage/
IObbActionListener.cpp 33 virtual void onObbResult(const String16& /* filename */, const int32_t /* nonce */,
48 int32_t nonce = data.readInt32(); local
50 onObbResult(filename, nonce, state);
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/cms/
GCMParameters.java 18 aes-nonce OCTET STRING, -- recommended size is 12 octets
25 private byte[] nonce; field in class:GCMParameters
59 this.nonce = ASN1OctetString.getInstance(seq.getObjectAt(0)).getOctets();
72 byte[] nonce,
75 this.nonce = Arrays.clone(nonce);
81 return Arrays.clone(nonce);
93 v.add(new DEROctetString(nonce));
  /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/boringssl/src/ssl/
ssl_aead_ctx.c 75 /* For a real AEAD, the IV is the fixed part of the nonce. */
173 /* Assemble the nonce. */
174 uint8_t nonce[EVP_AEAD_MAX_NONCE_LENGTH]; local
176 memcpy(nonce, aead->fixed_nonce, aead->fixed_nonce_len);
184 memcpy(nonce + nonce_len, in, aead->variable_nonce_len);
189 memcpy(nonce + nonce_len, seqnum, aead->variable_nonce_len);
193 return EVP_AEAD_CTX_open(&aead->ctx, out, out_len, max_out, nonce, nonce_len,
216 /* Assemble the nonce. */
217 uint8_t nonce[EVP_AEAD_MAX_NONCE_LENGTH]; local
219 memcpy(nonce, aead->fixed_nonce, aead->fixed_nonce_len)
    [all...]
  /external/google-tv-pairing-protocol/cpp/tests/polo/pairing/
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...]
  /external/boringssl/src/crypto/cipher/
aead_test.cc 32 // NONCE: 978105dfce667bf4
53 std::vector<uint8_t> key, nonce, in, ad, ct, tag; local
55 !t->GetBytes(&nonce, "NONCE") ||
76 bssl::vector_data(&nonce), nonce.size(),
116 bssl::vector_data(&nonce), nonce.size(),
152 bssl::vector_data(&nonce), nonce.size()
    [all...]
  /external/google-tv-pairing-protocol/cpp/src/polo/pairing/
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_;
  /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);
  /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/boringssl/src/crypto/modes/
gcm_test.c 64 const char *nonce; member in struct:test_case
234 /* This nonce results in 0xfff in counter LSB. */
316 *nonce = NULL, *ciphertext = NULL, *tag = NULL, *out = NULL; local
326 !decode_hex(&nonce, &nonce_len, test->nonce, test_num, "nonce") ||
359 CRYPTO_gcm128_setiv(&ctx, nonce, nonce_len);
375 CRYPTO_gcm128_setiv(&ctx, nonce, nonce_len);
398 OPENSSL_free(nonce);
internal.h 185 } nonce, cmac; member in struct:ccm128_context
  /external/openssh/
mac.c 180 u_char nonce[8]; local
196 POKE_U64(nonce, seqno);
198 umac_final(mac->umac_ctx, u.m, nonce);
201 put_u64(nonce, seqno);
203 umac128_final(mac->umac_ctx, u.m, nonce);
  /external/wpa_supplicant_8/src/ap/
wpa_auth_ie.h 25 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...]
  /system/keymaster/
soft_keymaster_context.cpp 181 Buffer nonce, tag; local
184 hw_enforced, sw_enforced, &nonce, &tag);
188 if (nonce.available_read() != OCB_NONCE_LENGTH || tag.available_read() != OCB_TAG_LENGTH)
192 nonce, tag, key_material);
  /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...]

Completed in 833 milliseconds

1 2 3 4 5 6