/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)
|
/frameworks/testing/uiautomator/utils/uiautomatorviewer/src/com/android/uiautomator/tree/ |
AttributePair.java | 20 public String key, value; field in class:AttributePair 22 public AttributePair(String key, String value) { 23 this.key = key;
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src/org/eclipse/releng/ |
SystemProperty.java | 17 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) { 38 this.key = key [all...] |
/external/chromium/net/disk_cache/ |
hash.h | 19 inline uint32 Hash(const char* key, size_t length) { 20 return SuperFastHash(key, static_cast<int>(length)); 23 inline uint32 Hash(const std::string& key) { 24 if (key.empty()) 26 return SuperFastHash(key.data(), static_cast<int>(key.size()));
|
/external/srtp/crypto/kernel/ |
key.c | 2 * 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) { 58 key->num_left = s; 59 key->state = key_state_normal; 72 key_limit_check(const key_limit_t key) { 73 if (key->state == key_state_expired) 79 key_limit_update(key_limit_t key) { 81 if (low32(key->num_left) == 0 [all...] |
/libcore/luni/src/main/java/javax/crypto/spec/ |
SecretKeySpec.java | 31 * A key specification for a <code>SecretKey</code> and also a secret key 42 private final byte[] key; field in class:SecretKeySpec 46 * Creates a new <code>SecretKeySpec</code> for the specified key data and 49 * @param key 50 * the key data. 54 * if the key data or the algorithm name is null or if the key 57 public SecretKeySpec(byte[] key, String algorithm) { 58 if (key == null) [all...] |
/external/webkit/Source/WebCore/bindings/js/ |
JSIDBKeyCustom.cpp | 40 JSValue toJS(ExecState* exec, JSDOMGlobalObject*, IDBKey* key) 42 if (!key) 45 switch (key->type()) { 49 return jsNumber(key->number()); 51 return jsString(exec, key->string());
|
/external/webkit/Source/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_setLongLong:(long long)value forKey:(id)key; 47 - (void)_webkit_setUnsignedLongLong:(unsigned long long)value forKey:(id)key; [all...] |
WebLocalizableStringsInternal.h | 35 NSString *WebLocalizedStringInternal(const char* key); 42 #define UI_STRING_KEY_INTERNAL(string, key, comment) WebLocalizedStringInternal(key)
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/mocks/ |
MockSharedPreferences.java | 40 public boolean contains(String key) { 41 return mValues.containsKey(key); 48 public boolean getBoolean(String key, boolean defValue) { 49 if (mValues.containsKey(key)) { 50 return ((Boolean)mValues.get(key)).booleanValue(); 55 public float getFloat(String key, float defValue) { 56 if (mValues.containsKey(key)) { 57 return ((Float)mValues.get(key)).floatValue(); 62 public int getInt(String key, int defValue) { 63 if (mValues.containsKey(key)) { [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/ |
MockSharedPreferences.java | 40 public boolean contains(String key) { 41 return mValues.containsKey(key); 48 public boolean getBoolean(String key, boolean defValue) { 49 if (mValues.containsKey(key)) { 50 return ((Boolean)mValues.get(key)).booleanValue(); 55 public float getFloat(String key, float defValue) { 56 if (mValues.containsKey(key)) { 57 return ((Float)mValues.get(key)).floatValue(); 62 public int getInt(String key, int defValue) { 63 if (mValues.containsKey(key)) { [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/asset/ |
AssetInfo.java | 46 protected AssetKey key; field in class:AssetInfo 48 public AssetInfo(AssetManager manager, AssetKey key) { 50 this.key = key; 54 return key; 63 return getClass().getName() + "[" + "key=" + key + "]";
|