Searched refs:key (Results 1 - 25 of 3578) sorted by relevance

1234567891011>>

/external/dropbear/libtomcrypt/src/pk/dsa/
H A Ddsa_free.c15 DSA implementation, free a DSA key, Tom St Denis
21 Free a DSA key
22 @param key The key to free from memory
24 void dsa_free(dsa_key *key) argument
26 LTC_ARGCHKVD(key != NULL);
27 mp_clear_multi(key->g, key->q, key->p, key
[all...]
H A Ddsa_import.c15 DSA implementation, import a DSA key, Tom St Denis
21 Import a DSA key
24 @param key [out] Where to store the imported key
27 int dsa_import(const unsigned char *in, unsigned long inlen, dsa_key *key) argument
33 LTC_ARGCHK(key != NULL);
36 /* init key */
37 if (mp_init_multi(&key->p, &key->g, &key
[all...]
/external/dropbear/libtomcrypt/src/pk/katja/
H A Dkatja_free.c15 Free an Katja key, Tom St Denis
21 Free an Katja key from memory
22 @param key The RSA key to free
24 void katja_free(katja_key *key) argument
26 LTC_ARGCHK(key != NULL);
27 mp_clear_multi( key->d, key->N, key->dQ, key
[all...]
H A Dkatja_import.c15 Import a PKCS-style Katja key, Tom St Denis
24 @param key [out] Destination for newly imported key
27 int katja_import(const unsigned char *in, unsigned long inlen, katja_key *key) argument
33 LTC_ARGCHK(key != NULL);
36 /* init key */
37 if ((err = mp_init_multi(&zero, &key->d, &key->N, &key->dQ,
38 &key
[all...]
H A Dkatja_make_key.c15 Katja key generation, Tom St Denis
21 Create a Katja key
24 @param size The size of the modulus (key size) desired (octets)
25 @param key [out] Destination of a newly created private key pair
28 int katja_make_key(prng_state *prng, int wprng, int size, katja_key *key) argument
33 LTC_ARGCHK(key != NULL);
61 /* make key */
62 if ((err = mp_init_multi(&key->d, &key
[all...]
/external/dropbear/libtomcrypt/src/pk/rsa/
H A Drsa_free.c15 Free an RSA key, Tom St Denis
21 Free an RSA key from memory
22 @param key The RSA key to free
24 void rsa_free(rsa_key *key) argument
26 LTC_ARGCHKVD(key != NULL);
27 mp_clear_multi(key->e, key->d, key->N, key
[all...]
H A Drsa_export.c24 @param type The type of exported key (PK_PRIVATE or PK_PUBLIC)
25 @param key The RSA key to export
28 int rsa_export(unsigned char *out, unsigned long *outlen, int type, rsa_key *key) argument
33 LTC_ARGCHK(key != NULL);
36 if (!(key->type == PK_PRIVATE) && (type == PK_PRIVATE)) {
41 /* private key */
47 LTC_ASN1_INTEGER, 1UL, key->N,
48 LTC_ASN1_INTEGER, 1UL, key->e,
49 LTC_ASN1_INTEGER, 1UL, key
[all...]
/external/dropbear/libtomcrypt/src/pk/ecc/
H A Decc_free.c27 Free an ECC key from memory
28 @param key The key you wish to free
30 void ecc_free(ecc_key *key) argument
32 LTC_ARGCHKVD(key != NULL);
33 mp_clear_multi(key->pubkey.x, key->pubkey.y, key->pubkey.z, key->k, NULL);
H A Decc_get_size.c27 Get the size of an ECC key
28 @param key The key to get the size of
29 @return The size (octets) of the key or INT_MAX on error
31 int ecc_get_size(ecc_key *key) argument
33 LTC_ARGCHK(key != NULL);
34 if (ltc_ecc_is_valid_idx(key->idx))
35 return key->dp->size;
/external/v8/test/mjsunit/
H A Dproperty-object-key.js28 var key = { toString: function() { return 'baz'; } }
31 assertEquals(42, object[key]);
32 object[key] = 87;
33 assertEquals(87, object[key]);
34 object[key]++;
35 assertEquals(88, object[key]);
/external/v8/test/mjsunit/regress/
H A Dregress-push-args-twice.js32 for (var key = 0; key != 10; key++) {
H A Dregress-1066899.js31 for (var key in [0]) {
H A Dregress-crbug-84186.js32 var json = '{"key":"';
33 var key = ''; variable
36 key = key + "TESTING" + i + "\\n";
39 json = json + key + '"}';
41 assertEquals(expected, out.key);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/
H A DRC2Parameters.java8 private byte[] key; field in class:RC2Parameters
12 byte[] key)
14 this(key, (key.length > 128) ? 1024 : (key.length * 8));
18 byte[] key,
21 this.key = new byte[key.length];
24 System.arraycopy(key, 0, this.key,
11 RC2Parameters( byte[] key) argument
17 RC2Parameters( byte[] key, int bits) argument
[all...]
H A DKeyParameter.java8 private byte[] key; field in class:KeyParameter
11 byte[] key)
13 this(key, 0, key.length);
17 byte[] key,
21 this.key = new byte[keyLen];
23 System.arraycopy(key, keyOff, this.key, 0, keyLen);
28 return key;
10 KeyParameter( byte[] key) argument
16 KeyParameter( byte[] key, int keyOff, int keyLen) argument
H A DDESedeParameters.java12 byte[] key)
14 super(key);
16 if (isWeakKey(key, 0, key.length))
18 throw new IllegalArgumentException("attempt to create weak DESede key");
23 * return true if the passed in key is a DES-EDE weak key.
25 * @param key bytes making up the key
26 * @param offset offset into the byte array the key start
11 DESedeParameters( byte[] key) argument
29 isWeakKey( byte[] key, int offset, int length) argument
51 isWeakKey( byte[] key, int offset) argument
[all...]
/external/grub/stage2/
H A Dmd5.h26 extern int md5_password (const char *key, char *crypted, int check);
29 #define check_md5_password(key,crypted) md5_password((key), (crypted), 1)
30 #define make_md5_password(key,crypted) md5_password((key), (crypted), 0)
/external/v8/src/
H A Dcollection.js50 function SetAdd(key) {
55 if (IS_UNDEFINED(key)) {
56 key = undefined_sentinel;
58 return %SetAdd(this, key);
62 function SetHas(key) {
67 if (IS_UNDEFINED(key)) {
68 key = undefined_sentinel;
70 return %SetHas(this, key);
74 function SetDelete(key) {
79 if (IS_UNDEFINED(key)) {
[all...]
/external/webkit/LayoutTests/storage/domstorage/localstorage/resources/
H A DclearLocalStorage.js4 for (key in localStorage)
5 keys.push(key);
7 for (key in keys)
8 localStorage.removeItem(keys[key]);
/external/webkit/LayoutTests/storage/domstorage/sessionstorage/resources/
H A DclearSessionStorage.js4 for (key in sessionStorage)
5 keys.push(key);
7 for (key in keys)
8 sessionStorage.removeItem(keys[key]);
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src/org/eclipse/releng/
H A DSystemProperty.java17 private String key; field in class:SystemProperty
25 System.setProperty(key, value);
26 if (System.getProperty(key).equals(value))
27 System.out.println("System property "+key+" set to "+System.getProperty(key));
29 System.out.println("System property "+key+" could not be set. Currently set to "+System.getProperty(key));
34 return key;
37 public void setKey(String key) { argument
38 this.key
[all...]
/external/chromium/net/disk_cache/
H A Dhash.h19 inline uint32 Hash(const char* key, size_t length) { argument
20 return SuperFastHash(key, static_cast<int>(length));
23 inline uint32 Hash(const std::string& key) { argument
24 if (key.empty())
26 return SuperFastHash(key.data(), static_cast<int>(key.size()));
/external/qemu/distrib/sdl-1.2.15/test/
H A Dtestkeys.c13 SDLKey key; local
20 for ( key=SDLK_FIRST; key<SDLK_LAST; ++key ) {
21 printf("Key #%d, \"%s\"\n", key, SDL_GetKeyName(key));
/external/srtp/crypto/kernel/
H A Dkey.c2 * key.c
4 * key usage limits enforcement
45 #include "key.h"
50 key_limit_set(key_limit_t key, const xtd_seq_num_t s) { argument
58 key->num_left = s;
59 key->state = key_state_normal;
72 key_limit_check(const key_limit_t key) { argument
73 if (key->state == key_state_expired)
79 key_limit_update(key_limit_t key) { argument
81 if (low32(key
[all...]
/external/webkit/Source/WebCore/bindings/js/
H A DJSIDBKeyCustom.cpp40 JSValue toJS(ExecState* exec, JSDOMGlobalObject*, IDBKey* key) argument
42 if (!key)
45 switch (key->type()) {
49 return jsNumber(key->number());
51 return jsString(exec, key->string());

Completed in 390 milliseconds

1234567891011>>