/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...] |
/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/bcprov/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_org/gpu/command_buffer/common/ |
thread_local.h | 5 // Functions for allocating and accessing thread local values via key. 28 ThreadLocalKey key; 29 pthread_key_create(&key, NULL); 30 return key; 34 inline void ThreadLocalFree(ThreadLocalKey key) { 36 TlsFree(key); 38 pthread_key_delete(key); 42 inline void ThreadLocalSetValue(ThreadLocalKey key, void* value) { 44 TlsSetValue(key, value); 46 pthread_setspecific(key, value) [all...] |
/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...] |
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/ |
suggest_options.h | 37 AK_FORCE_INLINE bool getAdditionalFeaturesBoolOption(const int key) const { 38 return getBoolOption(key + ADDITIONAL_FEATURES_OPTIONS); 55 AK_FORCE_INLINE bool isValidKey(const int key) const { 56 return 0 <= key && key < mLength; 59 AK_FORCE_INLINE bool getBoolOption(const int key) const { 60 if (isValidKey(key)) { 61 return mOptions[key] != 0; 66 AK_FORCE_INLINE int getIntOption(const int key) const { 67 if (isValidKey(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/chromium_org/base/ |
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/qemu/distrib/sdl-1.2.15/test/ |
testkeys.c | 13 SDLKey key; local 20 for ( key=SDLK_FIRST; key<SDLK_LAST; ++key ) { 21 printf("Key #%d, \"%s\"\n", key, SDL_GetKeyName(key));
|
/external/chromium_org/build/android/pylib/ |
system_properties.py | 10 System properties are key/value pairs as exposed by adb shell getprop/setprop. 21 def __getitem__(self, key): 22 if self._IsStatic(key): 23 if key not in self._cached_static_properties: 24 self._cached_static_properties[key] = self._GetProperty(key) 25 return self._cached_static_properties[key] 26 return self._GetProperty(key) 28 def __setitem__(self, key, value): 30 self._adb.SendShellCommand('setprop %s "%s"' % (key, value), retry_count=3 [all...] |
/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/chromium_org/media/base/ |
scoped_histogram_timer.h | 17 #define SCOPED_UMA_HISTOGRAM_TIMER_EXPANDER(name, key) \ 18 SCOPED_UMA_HISTOGRAM_TIMER_UNIQUE(name, key) 20 #define SCOPED_UMA_HISTOGRAM_TIMER_UNIQUE(name, key) \ 21 class ScopedHistogramTimer##key { \ 23 ScopedHistogramTimer##key() : constructed_(base::TimeTicks::Now()) {} \ 24 ~ScopedHistogramTimer##key() { \ 30 } scoped_histogram_timer_##key
|
/external/chromium_org/chrome/test/functional/ispy/client/ |
boto_bucket.py | 25 def __init__(self, key, secret, bucket_name): 26 """Initializes the bucket with a key, secret, and bucket_name. 29 key: the API key to access GS. 34 conn = uri.connect(key, secret) 38 key = boto.gs.key.Key(self.bucket) 39 key.key = pat [all...] |
/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/ |
pthread_key_delete.c | 42 pthread_key_delete (pthread_key_t key) 46 * This function deletes a thread-specific data key. This 47 * does not change the value of the thread specific data key 48 * for any thread and does not run the key's destructor 52 * key 57 * This function deletes a thread-specific data key. This 58 * does not change the value of the thread specific data key 59 * for any thread and does not run the key's destructor 63 * 0 successfully deleted the key, 64 * EINVAL key is invalid [all...] |