Searched refs:get (Results 1 - 9 of 9) sorted by relevance

/system/security/softkeymaster/
H A Dkeymaster_openssl.cpp110 if (derData.get() == NULL) {
114 unsigned char* p = derData.get();
178 if (pkey.get() == NULL) {
190 EVP_PKEY* tmp = pkey.get();
225 if (bn.get() == NULL) {
230 if (BN_set_word(bn.get(), rsa_params->public_exponent) == 0) {
237 if (rsa.get() == NULL) {
242 if (!RSA_generate_key_ex(rsa.get(), rsa_params->modulus_size, bn.get(), NULL)
243 || RSA_check_key(rsa.get()) <
[all...]
/system/security/keystore-engine/
H A Deng_keystore.cpp131 if (padded.get() == NULL) {
138 if (!RSA_padding_add_PKCS1_type_1(padded.get(), num, from, flen)) {
143 if (!RSA_padding_add_X931(padded.get(), num, from, flen)) {
148 if (!RSA_padding_add_none(padded.get(), num, from, flen)) {
165 key_id, static_cast<size_t>(num), reinterpret_cast<const uint8_t*>(padded.get()))
177 memcpy(to, reply.get(), replyLen);
224 ALOGV("Cannot get public key for %s", key_id);
228 const unsigned char* tmp = reinterpret_cast<const unsigned char*>(reply.get());
230 if (pkey.get() == NULL) {
237 Unique_RSA rsa(EVP_PKEY_get1_RSA(pkey.get()));
[all...]
/system/security/keystore/
H A Dkeystore_client.h30 uint8_t* get();
H A Dkeystore_client.cpp74 uint8_t* data = reply->get();
109 uint8_t* Keystore_Reply::get() { function in class:Keystore_Reply
H A Dkeystore.cpp502 // we read the raw blob to just to get the salt to generate
592 ResponseCode get(const char* filename, Blob* keyBlob, const BlobType type) { function in class:KeyStore
811 if (b.get() == NULL) {
816 Unique_EVP_PKEY pkey(PEM_read_bio_PrivateKey(b.get(), NULL, NULL, NULL));
817 if (pkey.get() == NULL) {
822 Unique_PKCS8_PRIV_KEY_INFO pkcs8(EVP_PKEY2PKCS8(pkey.get()));
823 int len = i2d_PKCS8_PRIV_KEY_INFO(pkcs8.get(), NULL);
832 if (i2d_PKCS8_PRIV_KEY_INFO(pkcs8.get(), &tmp) != len) {
842 return get(filename, blob, TYPE_KEY_PAIR);
900 ResponseCode responseCode = keyStore->get(filenam
939 static ResponseCode get(KeyStore* keyStore, int sock, uid_t uid, Value* keyName, Value*, Value*) { function
[all...]
/system/extras/bugmailer/src/com/android/commands/sendbug/
H A DSendBug.java74 Log.e(LOG_TAG, "Cannot get ActivityManager, is the system running?");
95 Log.e(LOG_TAG, "Cannot get PackageManager, is the system running?");
105 final ResolveInfo info = results.get(0);
122 sb.append(SystemProperties.get("ro.build.description"));
145 Log.e(LOG_TAG, "Cannot get AccountManager, is the system running?");
150 String preferredDomain = SystemProperties.get("sendbug.preferred.domain");
/system/core/libpixelflinger/tinyutils/
H A Dsmartpointer.h67 inline T* get() const { return m_ptr; } function in class:android::sp
/system/extras/tests/bionic/libc/
H A DAndroid.mk87 # _XOPEN_SOURCE=600 is needed to get pthread_mutexattr_settype() on GLibc
/system/core/libpixelflinger/
H A Dscanline.cpp420 c->scanline_as = assembly.get();
978 * After initialization, call get_src16() or get_src32() to get the current

Completed in 58 milliseconds