Searched defs:key (Results 76 - 100 of 3851) sorted by relevance

1234567891011>>

/external/dropbear/libtomcrypt/src/pk/dsa/
H A Ddsa_verify_key.c15 DSA implementation, verify a key, Tom St Denis
21 Verify a DSA key for validity
22 @param key The key to verify
26 int dsa_verify_key(dsa_key *key, int *stat) argument
31 LTC_ARGCHK(key != NULL);
34 /* default to an invalid key */
37 /* first make sure key->q and key->p are prime */
38 if ((err = mp_prime_is_prime(key
[all...]
/external/dropbear/libtomcrypt/src/pk/ecc/
H A Decc_ansi_x963_export.c27 @param key Key to export
32 int ecc_ansi_x963_export(ecc_key *key, unsigned char *out, unsigned long *outlen) argument
37 LTC_ARGCHK(key != NULL);
41 if (ltc_ecc_is_valid_idx(key->idx) == 0) {
44 numlen = key->dp->size;
56 mp_to_unsigned_bin(key->pubkey.x, buf + (numlen - mp_unsigned_bin_size(key->pubkey.x)));
61 mp_to_unsigned_bin(key->pubkey.y, buf + (numlen - mp_unsigned_bin_size(key->pubkey.y)));
/external/dropbear/libtomcrypt/src/pk/katja/
H A Dkatja_export.c24 @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) argument
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
[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...]
/external/dropbear/libtomcrypt/src/pk/rsa/
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/jmonkeyengine/engine/src/core/com/jme3/asset/
H A DAsset.java45 * is called twice with the same asset key (equals() wise, not necessarily reference wise)
46 * then both assets will have the same asset key set (reference wise) via
47 * {@link Asset#setKey(com.jme3.asset.AssetKey) }, then this asset key
49 * are garbage collected, the shared asset key becomes unreachable and at that
58 * was loaded has this key set to null so that only the clones are tracked
61 * @param key The AssetKey to set
63 public void setKey(AssetKey key); argument
66 * Returns the asset key that is used to track this asset for garbage
69 * @return the asset key that is used to track this asset for garbage
/external/nist-sip/java/gov/nist/core/
H A DMultiMap.java24 * So for example, you can put( key, new Integer(1) );
25 * and then a Object get( key ); will return you a Collection
35 public Object remove( Object key, Object item ); argument
H A DMultiValueMap.java8 public Object remove( K key, V item ); argument
/external/openssl/crypto/aes/
H A Daes_cbc.c56 size_t len, const AES_KEY *key,
60 CRYPTO_cbc128_encrypt(in,out,len,key,ivec,(block128_f)AES_encrypt);
62 CRYPTO_cbc128_decrypt(in,out,len,key,ivec,(block128_f)AES_decrypt);
55 AES_cbc_encrypt(const unsigned char *in, unsigned char *out, size_t len, const AES_KEY *key, unsigned char *ivec, const int enc) argument
H A Daes_ecb.c63 const AES_KEY *key, const int enc) {
65 assert(in && out && key);
69 AES_encrypt(in, out, key);
71 AES_decrypt(in, out, key);
62 AES_ecb_encrypt(const unsigned char *in, unsigned char *out, const AES_KEY *key, const int enc) argument
H A Daes_misc.c70 AES_KEY *key)
75 return private_AES_set_encrypt_key(userKey, bits, key);
79 AES_KEY *key)
84 return private_AES_set_decrypt_key(userKey, bits, key);
69 AES_set_encrypt_key(const unsigned char *userKey, const int bits, AES_KEY *key) argument
78 AES_set_decrypt_key(const unsigned char *userKey, const int bits, AES_KEY *key) argument
H A Daes_ofb.c56 size_t length, const AES_KEY *key,
59 CRYPTO_ofb128_encrypt(in,out,length,key,ivec,num,(block128_f)AES_encrypt);
55 AES_ofb128_encrypt(const unsigned char *in, unsigned char *out, size_t length, const AES_KEY *key, unsigned char *ivec, int *num) argument
/external/openssl/crypto/asn1/
H A Dp8_pkey.c64 /* Minor tweak to operation: zero private key data */
70 PKCS8_PRIV_KEY_INFO *key = (PKCS8_PRIV_KEY_INFO *)*pval; local
71 if (key->pkey->value.octet_string)
72 OPENSSL_cleanse(key->pkey->value.octet_string->data,
73 key->pkey->value.octet_string->length);
/external/openssl/crypto/evp/
H A De_seed.c65 static int seed_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc);
76 static int seed_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, argument
79 SEED_set_key(key, ctx->cipher_data);
H A Dp_dec.c69 int EVP_PKEY_decrypt_old(unsigned char *key, const unsigned char *ek, int ekl, argument
83 ret=RSA_private_decrypt(ekl,ek,key,priv->pkey.rsa,RSA_PKCS1_PADDING);
H A Dp_enc.c69 int EVP_PKEY_encrypt_old(unsigned char *ek, const unsigned char *key, int key_len, argument
82 ret=RSA_public_encrypt(key_len,key,ek,pubk->pkey.rsa,RSA_PKCS1_PADDING);
/external/skia/src/gpu/
H A DGrPath.cpp14 GrCacheID::Key key; local
15 uint32_t* keyData = key.fData32;
30 return GrResourceKey(GrCacheID(gPathDomain, key), gPathResourceType, 0);
/external/srec/shared/src/
H A DCommandLine.c23 LCHAR* key, LCHAR* value, size_t* len)
32 if (key == NULL)
34 /* but we don't have any key to associate it with */
39 if (lastKeyFound != NULL && LSTRCMP(lastKeyFound, key) == 0)
54 /* got key */
55 if (lastKeyFound != NULL && LSTRCMP(lastKeyFound, key) == 0)
65 /* Handle case where last argument is a key with no value */
66 if (lastKeyFound != NULL && LSTRCMP(lastKeyFound, key) == 0)
22 ESR_CommandLineGetValue(int argc, const LCHAR * argv[], LCHAR* key, LCHAR* value, size_t* len) argument
/external/valgrind/main/include/
H A Dpub_tool_hashtable.h46 UWord key; member in struct:_VgHashNode
67 extern void* VG_(HT_lookup) ( VgHashTable table, UWord key );
70 extern void* VG_(HT_remove) ( VgHashTable table, UWord key );
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/support/
H A DA.java27 public String find(String key) { argument
28 return pp.findProp(key);
H A DI.java21 String find(String key); argument
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/
H A DIdentityStub.java67 * @param key
71 public IdentityStub(String name, PublicKey key) throws KeyManagementException{ argument
73 setPublicKey(key);
/external/apache-xml/src/main/java/org/apache/xml/serializer/
H A DOutputPropertyUtils.java38 * Searches for the boolean property with the specified key in the property list.
39 * If the key is not found in this property list, the default property list,
44 * @param key the property key.
49 public static boolean getBooleanProperty(String key, Properties props) argument
52 String s = props.getProperty(key);
61 * Searches for the int property with the specified key in the property list.
62 * If the key is not found in this property list, the default property list,
67 * @param key the property key
72 getIntProperty(String key, Properties props) argument
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/agreement/
H A DECDHBasicAgreement.java17 * party's private key and another party's public key, where both have
20 * primitive can be invoked by a scheme to derive a shared secret key;
28 private ECPrivateKeyParameters key; field in class:ECDHBasicAgreement
31 CipherParameters key)
33 this.key = (ECPrivateKeyParameters)key;
38 return (key.getParameters().getCurve().getFieldSize() + 7) / 8;
45 ECPoint P = pub.getQ().multiply(key.getD());
30 init( CipherParameters key) argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/
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...]

Completed in 732 milliseconds

1234567891011>>