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

1 2 3 4 5 6

  /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/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...]
dbus-server-socket.h 28 #include <dbus/dbus-nonce.h>
  /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...]
  /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);
  /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;
StorageManager.java 76 * Next available nonce
106 public void onObbResult(String filename, int nonce, int status) {
109 delegate = mListeners.get(nonce);
111 mListeners.remove(nonce);
124 mListeners.put(delegate.nonce, delegate);
127 return delegate.nonce;
142 private final int nonce; field in class:StorageManager.ObbListenerDelegate
145 nonce = getNextNonce();
439 final int nonce = mObbActionListener.addListener(listener); local
440 mMountService.mountObb(filename, key, mObbActionListener, nonce);
479 final int nonce = mObbActionListener.addListener(listener); local
    [all...]
  /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...]
  /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));
  /external/dropbear/libtomcrypt/src/encauth/eax/
eax_encrypt_authenticate_memory.c 25 @param nonce The session nonce [use once]
26 @param noncelen The length of the nonce
38 const unsigned char *nonce, unsigned long noncelen,
55 if ((err = eax_init(eax, cipher, key, keylen, nonce, noncelen, header, headerlen)) != CRYPT_OK) {
eax_decrypt_verify_memory.c 25 @param nonce The nonce data (use once) for the session
26 @param noncelen The length of the nonce data.
39 const unsigned char *nonce, unsigned long noncelen,
73 if ((err = eax_init(eax, cipher, key, keylen, nonce, noncelen, header, headerlen)) != CRYPT_OK) {
  /external/wpa_supplicant_8/src/crypto/
aes-ctr.c 25 * @nonce: Nonce for counter mode (16 bytes)
30 int aes_128_ctr_encrypt(const u8 *key, const u8 *nonce,
42 os_memcpy(counter, nonce, AES_BLOCK_SIZE);
aes_wrap.h 33 int __must_check aes_128_ctr_encrypt(const u8 *key, const u8 *nonce,
36 const u8 *nonce, size_t nonce_len,
40 const u8 *nonce, size_t nonce_len,
aes-eax.c 25 * @nonce: Nonce for counter mode
26 * @nonce_len: Nonce length in bytes
34 int aes_128_eax_encrypt(const u8 *key, const u8 *nonce, size_t nonce_len,
59 os_memcpy(buf + 16, nonce, nonce_len);
89 * @nonce: Nonce for counter mode
90 * @nonce_len: Nonce length in bytes
98 int aes_128_eax_decrypt(const u8 *key, const u8 *nonce, size_t nonce_len,
123 os_memcpy(buf + 16, nonce, nonce_len)
    [all...]
  /frameworks/base/include/storage/
IObbActionListener.h 32 virtual void onObbResult(const String16& filename, const int32_t nonce, const int32_t state) = 0;
  /external/dropbear/libtomcrypt/src/encauth/ocb/
ocb_decrypt_verify_memory.c 25 @param nonce The session nonce (length of the block size of the block cipher)
36 const unsigned char *nonce,
46 LTC_ARGCHK(nonce != NULL);
58 if ((err = ocb_init(ocb, cipher, key, keylen, nonce)) != CRYPT_OK) {
ocb_encrypt_authenticate_memory.c 25 @param nonce The session nonce (length of the block ciphers block size)
35 const unsigned char *nonce,
44 LTC_ARGCHK(nonce != NULL);
56 if ((err = ocb_init(ocb, cipher, key, keylen, nonce)) != CRYPT_OK) {
  /external/wpa_supplicant/
aes_wrap.h 31 int aes_128_ctr_encrypt(const u8 *key, const u8 *nonce,
33 int aes_128_eax_encrypt(const u8 *key, const u8 *nonce, size_t nonce_len,
36 int aes_128_eax_decrypt(const u8 *key, const u8 *nonce, size_t nonce_len,
  /external/wpa_supplicant_6/wpa_supplicant/src/crypto/
aes_wrap.h 33 int __must_check aes_128_ctr_encrypt(const u8 *key, const u8 *nonce,
36 const u8 *nonce, size_t nonce_len,
40 const u8 *nonce, size_t nonce_len,
  /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());
  /frameworks/base/obex/javax/obex/
ClientSession.java 84 if (header.nonce != null) {
86 System.arraycopy(header.nonce, 0, mChallengeDigest, 0, 16);
150 if (head.nonce != null) {
152 System.arraycopy(head.nonce, 0, mChallengeDigest, 0, 16);
194 if (header.nonce != null) {
196 System.arraycopy(header.nonce, 0, mChallengeDigest, 0, 16);
259 if (head.nonce != null) {
261 System.arraycopy(head.nonce, 0, mChallengeDigest, 0, 16);
296 if (headset.nonce != null) {
298 System.arraycopy(headset.nonce, 0, mChallengeDigest, 0, 16)
    [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/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...]

Completed in 1348 milliseconds

1 2 3 4 5 6