/external/dropbear/libtomcrypt/src/pk/dsa/ |
dsa_free.c | 15 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) 26 LTC_ARGCHKVD(key != NULL); 27 mp_clear_multi(key->g, key->q, key->p, key->x, key->y, NULL) [all...] |
dsa_import.c | 15 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) 33 LTC_ARGCHK(key != NULL); 36 /* init key */ 37 if (mp_init_multi(&key->p, &key->g, &key->q, &key->x, &key->y, NULL) != CRYPT_OK) [all...] |
/external/dropbear/libtomcrypt/src/pk/katja/ |
katja_free.c | 15 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) 26 LTC_ARGCHK(key != NULL); 27 mp_clear_multi( key->d, key->N, key->dQ, key->dP [all...] |
katja_import.c | 15 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) 33 LTC_ARGCHK(key != NULL); 36 /* init key */ 37 if ((err = mp_init_multi(&zero, &key->d, &key->N, &key->dQ, 38 &key->dP, &key->qP, &key->p, &key->q, &key->pq, NULL)) != CRYPT_OK) [all...] |
katja_make_key.c | 15 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) 33 LTC_ARGCHK(key != NULL); 61 /* make key */ 62 if ((err = mp_init_multi(&key->d, &key->N, &key->dQ, &key->dP [all...] |
katja_export.c | 24 @param type The type of exported key (PK_PRIVATE or PK_PUBLIC) 25 @param key The Katja key to export 28 int katja_export(unsigned char *out, unsigned long *outlen, int type, katja_key *key) 35 LTC_ARGCHK(key != NULL); 38 if (!(key->type == PK_PRIVATE) && (type == PK_PRIVATE)) { 43 /* private key */ 49 LTC_ASN1_INTEGER, 1UL, key->N, 50 LTC_ASN1_INTEGER, 1UL, key->d, 51 LTC_ASN1_INTEGER, 1UL, key->p, [all...] |
/external/dropbear/libtomcrypt/src/pk/rsa/ |
rsa_free.c | 15 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) 26 LTC_ARGCHKVD(key != NULL); 27 mp_clear_multi(key->e, key->d, key->N, key->dQ, key->dP, key->qP, key->p, key->q, NULL) [all...] |
rsa_export.c | 24 @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) 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->d, [all...] |
/external/dropbear/libtomcrypt/src/pk/ecc/ |
ecc_free.c | 27 Free an ECC key from memory 28 @param key The key you wish to free 30 void ecc_free(ecc_key *key) 32 LTC_ARGCHKVD(key != NULL); 33 mp_clear_multi(key->pubkey.x, key->pubkey.y, key->pubkey.z, key->k, NULL);
|
ecc_get_size.c | 27 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) 33 LTC_ARGCHK(key != NULL); 34 if (ltc_ecc_is_valid_idx(key->idx)) 35 return key->dp->size;
|
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/params/ |
RC2Parameters.java | 8 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, 0, key.length) [all...] |
KeyParameter.java | 8 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;
|
DESedeParameters.java | 7 * DES-EDE Key length in bytes. 12 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 [all...] |
/external/grub/stage2/ |
md5.h | 24 If CHECK is false, crypt KEY and save the result in CRYPTED. 26 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/chromium/base/ |
path_service_unittest.cc | 47 for (int key = base::DIR_CURRENT; key < base::PATH_END; ++key) { 48 EXPECT_PRED1(ReturnsValidPath, key); 51 for (int key = base::PATH_WIN_START + 1; key < base::PATH_WIN_END; ++key) { 52 if (key == base::DIR_LOCAL_APP_DATA_LOW && 56 EXPECT_TRUE(ReturnsInvalidPath(key)) << key; [all...] |
path_service.h | 28 static bool Get(int key, FilePath* path); 32 static bool Get(int key, std::wstring* path); 45 static bool Override(int key, const FilePath& path); 48 static bool IsOverridden(int key); 52 // returns false if it cannot provide a non-empty path for the given key. 66 static bool GetFromCache(int key, FilePath* path); 67 static void AddToCache(int key, const FilePath& path);
|
/external/chromium/net/disk_cache/ |
hash.h | 18 inline uint32 Hash(const char* key, size_t length) { 19 return SuperFastHash(key, static_cast<int>(length)); 22 inline uint32 Hash(const std::string& key) { 23 if (key.empty()) 25 return SuperFastHash(key.data(), static_cast<int>(key.size()));
|
/frameworks/base/core/java/android/os/ |
SystemProperties.java | 22 * store contains a list of string key-value pairs. 31 private static native String native_get(String key); 32 private static native String native_get(String key, String def); 33 private static native int native_get_int(String key, int def); 34 private static native long native_get_long(String key, long def); 35 private static native boolean native_get_boolean(String key, boolean def); 36 private static native void native_set(String key, String def); 39 * Get the value for the given key. 40 * @return an empty string if the key isn't found 41 * @throws IllegalArgumentException if the key exceeds 32 character [all...] |
/frameworks/base/test-runner/src/android/test/ |
SimpleCache.java | 25 protected abstract V load(K key); 27 final V get(K key) { 28 if (map.containsKey(key)) { 29 return map.get(key); 31 V value = load(key); 32 map.put(key, value);
|
/external/kernel-headers/original/linux/ |
key.h | 0 /* key.h: authentication token and access key management 26 /* key handle serial number */ 29 /* key handle permissions mask */ 32 struct key; 38 #define KEY_POS_VIEW 0x01000000 /* possessor can view a key's attributes */ 39 #define KEY_POS_READ 0x02000000 /* possessor can read key payload / view keyring */ 40 #define KEY_POS_WRITE 0x04000000 /* possessor can update key payload / add link to keyring */ 41 #define KEY_POS_SEARCH 0x08000000 /* possessor can find a key in search / search a keyring */ 42 #define KEY_POS_LINK 0x10000000 /* possessor can create a link to a key/keyring * 119 struct key { struct [all...] |
/external/openssl/crypto/des/ |
des_old2.c | 79 void _ossl_096_des_random_seed(DES_cblock *key) 81 RAND_seed(key, sizeof(DES_cblock));
|
/external/webkit/LayoutTests/storage/domstorage/localstorage/resources/ |
clearLocalStorage.js | 4 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/ |
clearSessionStorage.js | 4 for (key in sessionStorage) 5 keys.push(key); 7 for (key in keys) 8 sessionStorage.removeItem(keys[key]);
|
/external/webkit/WebKit/mac/Misc/ |
WebNSDictionaryExtras.h | 32 - (BOOL)_webkit_boolForKey:(id)key; 33 - (int)_webkit_intForKey:(id)key; 34 - (NSString *)_webkit_stringForKey:(id)key; // Returns nil if the value is not an NSString. 35 - (NSArray *)_webkit_arrayForKey:(id)key; // Returns nil if the value is not an NSArray. 42 - (void)_webkit_setObject:(id)object forUncopiedKey:(id)key; 43 - (void)_webkit_setInt:(int)value forKey:(id)key; 44 - (void)_webkit_setFloat:(float)value forKey:(id)key; 45 - (void)_webkit_setBool:(BOOL)value forKey:(id)key; 46 - (void)_webkit_setUnsignedLongLong:(unsigned long long)value forKey:(id)key;
|
/frameworks/base/core/tests/coretests/src/android/pim/vcard/test_utils/ |
ContentValuesBuilder.java | 31 public ContentValuesBuilder put(String key, String value) { 32 mContentValues.put(key, value); 37 public ContentValuesBuilder put(String key, Byte value) { 38 mContentValues.put(key, value); 42 public ContentValuesBuilder put(String key, Short value) { 43 mContentValues.put(key, value); 47 public ContentValuesBuilder put(String key, Integer value) { 48 mContentValues.put(key, value); 53 public ContentValuesBuilder put(String key, Long value) { 54 mContentValues.put(key, value) [all...] |