/libcore/luni/src/main/java/java/security/ |
SecureRandom.java | 24 import org.apache.harmony.security.fortress.Engine; 72 // Used to access common engine functionality 73 private static final Engine ENGINE = new Engine(SERVICE); 156 Engine.SpiAndProvider sap = ENGINE.getInstance(algorithm, null); 215 Object spi = ENGINE.getInstance(algorithm, provider, null);
|
Signature.java | 26 import org.apache.harmony.security.fortress.Engine; 30 * {@code Signature} is an engine class which is capable of creating and 41 // Used to access common engine functionality 42 private static Engine ENGINE = new Engine(SERVICE); 104 Engine.SpiAndProvider sap = ENGINE.getInstance(algorithm, null); 178 Object spi = ENGINE.getInstance(algorithm, provider, null);
|
KeyStore.java | 36 import org.apache.harmony.security.fortress.Engine; 54 // Used to access common engine functionality 55 private static final Engine ENGINE = new Engine(SERVICE); 116 Engine.SpiAndProvider sap = ENGINE.getInstance(type, null); 189 Object spi = ENGINE.getInstance(type, provider, null); [all...] |
/libcore/luni/src/main/java/javax/crypto/ |
ExemptionMechanism.java | 30 import org.apache.harmony.security.fortress.Engine; 38 // Used to access common engine functionality 39 private static final Engine ENGINE = new Engine("ExemptionMechanism"); 103 Engine.SpiAndProvider sap = ENGINE.getInstance(algorithm, null); 167 Object spi = ENGINE.getInstance(algorithm, provider, null);
|
Mac.java | 29 import org.apache.harmony.security.fortress.Engine; 38 //Used to access common engine functionality 39 private static final Engine ENGINE = new Engine("Mac"); 106 Engine.SpiAndProvider sap = ENGINE.getInstance(algorithm, null); 168 Object spi = ENGINE.getInstance(algorithm, provider, null);
|
Cipher.java | 36 import org.apache.harmony.security.fortress.Engine; 107 * Used to access common engine functionality. 109 private static final Engine ENGINE = new Engine(SERVICE); 270 Engine.SpiAndProvider sap = ENGINE.getInstance(transf[0], null); 274 engineSpi = ENGINE.getInstance(transf[0], provider, null); 287 Engine.SpiAndProvider sap = ENGINE.getInstance(searchOrder[i], null) [all...] |
/system/security/keystore-engine/ |
eng_keystore.cpp | 34 #include <openssl/engine.h> 49 #define KEYSTORE_ENGINE_NAME "Android keystore engine" 60 void operator()(ENGINE* p) const { 64 typedef UniquePtr<ENGINE, ENGINE_Delete> Unique_ENGINE; 294 static EVP_PKEY* keystore_loadkey(ENGINE* e, const char* key_id, UI_METHOD* ui_method, 349 rsa->engine = e; 375 static int keystore_engine_setup(ENGINE* e) { 384 ALOGE("Could not set up keystore engine"); 404 ENGINE* ENGINE_keystore() { 407 Unique_ENGINE engine(ENGINE_new()) [all...] |
/external/openssl/crypto/hmac/ |
hmac.h | 96 const EVP_MD *md, ENGINE *impl);
|
/external/openssl/crypto/rand/ |
rand.h | 98 int RAND_set_rand_engine(ENGINE *engine);
|
/external/openssl/include/openssl/ |
hmac.h | 96 const EVP_MD *md, ENGINE *impl);
|
rand.h | 98 int RAND_set_rand_engine(ENGINE *engine);
|
dh.h | 154 ENGINE *engine; member in struct:dh_st 189 DH *DH_new_method(ENGINE *engine);
|
evp.h | 134 ENGINE *engine; member in struct:evp_pkey_st 268 ENGINE *engine; /* functional reference if 'digest' is ENGINE-provided */ member in struct:env_md_ctx_st 414 ENGINE *engine; /* functional reference if 'cipher' is ENGINE-provided */ member in struct:evp_cipher_ctx_st 556 int EVP_DigestInit_ex(EVP_MD_CTX *ctx, const EVP_MD *type, ENGINE *impl); 561 unsigned char *md, unsigned int *size, const EVP_MD *type, ENGINE *impl) [all...] |
dsa.h | 179 /* functional reference if 'meth' is ENGINE-provided */ 180 ENGINE *engine; member in struct:dsa_st 208 DSA * DSA_new_method(ENGINE *engine);
|
/external/openssl/crypto/dh/ |
dh.h | 154 ENGINE *engine; member in struct:dh_st 189 DH *DH_new_method(ENGINE *engine);
|
/external/openssl/crypto/asn1/ |
ameth_lib.c | 63 #include <openssl/engine.h> 170 * to the engine implementing 'type' or NULL if no engine implements 174 const EVP_PKEY_ASN1_METHOD *EVP_PKEY_asn1_find(ENGINE **pe, int type) 188 ENGINE *e; 202 const EVP_PKEY_ASN1_METHOD *EVP_PKEY_asn1_find_str(ENGINE **pe, 212 ENGINE *e;
|
/external/openssl/apps/ |
verify.c | 75 STACK_OF(X509_CRL) *crls, ENGINE *e); 82 ENGINE *e = NULL; 92 char *engine=NULL; local 149 else if (strcmp(*argv,"-engine") == 0) 152 engine= *(++argv); 171 e = setup_engine(bio_err, engine, 0); 243 BIO_printf(bio_err," [-engine e]"); 268 STACK_OF(X509_CRL) *crls, ENGINE *e)
|
engine.c | 1 /* apps/engine.c -*- mode: C; c-file-style: "eay" -*- */ 69 #include <openssl/engine.h> 76 "usage: engine opts [engine ...]\n", 77 " -v[v[v[v]]] - verbose mode, for each engine, list its 'control commands'\n", 81 " -c - for each engine, also list the capabilities\n", 82 " -t[t] - for each engine, check that they are really available\n", 84 " -pre <cmd> - runs command 'cmd' against the ENGINE before any attempts\n", 86 " -post <cmd> - runs command 'cmd' against the ENGINE after loading it\n", 194 static int util_verbose(ENGINE *e, int verbose, BIO *bio_out, const char *indent [all...] |
pkeyutl.c | 77 char *passargin, int pkey_op, ENGINE *e); 92 ENGINE *e = NULL; 175 else if(!strcmp(*argv, "-engine")) 407 BIO_printf(bio_err, "-engine e use engine e, possibly a hardware device.\n"); 415 char *passargin, int pkey_op, ENGINE *e)
|
pkey.c | 71 ENGINE *e = NULL; 82 char *engine=NULL; local 129 else if (strcmp(*args,"-engine") == 0) 132 engine= *(++args); 195 BIO_printf(bio_err, "-engine e use engine e, possibly a hardware device.\n"); 201 e = setup_engine(bio_err, engine, 0);
|
/external/openssl/crypto/evp/ |
evp.h | 134 ENGINE *engine; member in struct:evp_pkey_st 268 ENGINE *engine; /* functional reference if 'digest' is ENGINE-provided */ member in struct:env_md_ctx_st 414 ENGINE *engine; /* functional reference if 'cipher' is ENGINE-provided */ member in struct:evp_cipher_ctx_st 556 int EVP_DigestInit_ex(EVP_MD_CTX *ctx, const EVP_MD *type, ENGINE *impl); 561 unsigned char *md, unsigned int *size, const EVP_MD *type, ENGINE *impl) [all...] |
digest.c | 117 #include <openssl/engine.h> 145 int EVP_DigestInit_ex(EVP_MD_CTX *ctx, const EVP_MD *type, ENGINE *impl) 150 * so this context may already have an ENGINE! Try to avoid releasing 151 * the previous handle, re-querying for an ENGINE, and having a 153 if (ctx->engine && ctx->digest && (!type || 158 /* Ensure an ENGINE left lying around from last time is cleared 160 * ENGINE and EVP_MD could be used). */ 161 if(ctx->engine) 162 ENGINE_finish(ctx->engine); 172 /* Ask if an ENGINE is reserved for this job * [all...] |
/frameworks/wilhelm/src/ut/ |
OpenSLESUT.c | 60 _(ENGINE),
|
/external/openssl/crypto/dsa/ |
dsa.h | 179 /* functional reference if 'meth' is ENGINE-provided */ 180 ENGINE *engine; member in struct:dsa_st 208 DSA * DSA_new_method(ENGINE *engine);
|
/external/openssl/crypto/ecdh/ |
ech_lib.c | 73 #include <openssl/engine.h> 124 if (ecdh->engine) 126 ENGINE_finish(ecdh->engine); 127 ecdh->engine = NULL; 138 static ECDH_DATA *ECDH_DATA_new_method(ENGINE *engine) 152 ret->engine = engine; 154 if (!ret->engine) 155 ret->engine = ENGINE_get_default_ECDH() [all...] |