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

1 2 3 4 5 6 7 8 91011>>

  /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/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()));
  /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...]
  /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...]
  /external/webkit/Source/WebCore/bindings/v8/custom/
V8IDBKeyCustom.cpp 39 v8::Handle<v8::Value> toV8(IDBKey* key)
41 if (!key)
44 switch (key->type()) {
48 return v8::Number::New(key->number());
50 return v8String(key->string());
52 return v8::Date::New(key->date());
  /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...]

Completed in 502 milliseconds

1 2 3 4 5 6 7 8 91011>>