Home
last modified time | relevance | path

Searched refs:blob (Results 1 – 25 of 27) sorted by relevance

12

/external/wpa_supplicant/
Deap_tls_common.c36 struct wpa_config_blob *blob; member
46 static int add_temporal_blob(struct wpa_config_blob *blob) in add_temporal_blob() argument
55 p->blob = blob; in add_temporal_blob()
67 if (q->blob) free(q->blob); in free_temporal_blobs()
85 static CERT_TYPE get_blob_type(struct wpa_config_blob *blob) in get_blob_type() argument
88 unsigned char p = blob->data[blob->len - 1]; in get_blob_type()
90 blob->data[blob->len - 1] = 0; in get_blob_type()
91 if (strstr(blob->data, PEM_CERT_KEYWORD) != NULL) { in get_blob_type()
93 } else if (strstr(blob->data, PEM_PRIVATEKEY_KEYWORD) != NULL) { in get_blob_type()
95 } else if (blob->data[0] == '0') { in get_blob_type()
[all …]
Dconfig_file.c192 struct wpa_config_blob *blob; in wpa_config_read_blob() local
227 blob = os_zalloc(sizeof(*blob)); in wpa_config_read_blob()
228 if (blob == NULL) { in wpa_config_read_blob()
232 blob->name = os_strdup(name); in wpa_config_read_blob()
233 blob->data = base64_decode(encoded, encoded_len, &blob->len); in wpa_config_read_blob()
236 if (blob->name == NULL || blob->data == NULL) { in wpa_config_read_blob()
237 wpa_config_free_blob(blob); in wpa_config_read_blob()
241 return blob; in wpa_config_read_blob()
294 struct wpa_config_blob *blob; in wpa_config_read() local
305 blob = wpa_config_read_blob(f, &line, bname); in wpa_config_read()
[all …]
Dconfig_none.c41 struct wpa_config_blob *blob; in wpa_config_write() local
52 for (blob = config->blobs; blob; blob = blob->next) { in wpa_config_write()
Dconfig_winreg.c53 struct wpa_config_blob *blob; in wpa_config_read_blobs() local
97 blob = os_zalloc(sizeof(*blob)); in wpa_config_read_blobs()
98 if (blob == NULL) { in wpa_config_read_blobs()
102 blob->name = os_strdup((char *) name); in wpa_config_read_blobs()
103 blob->data = os_malloc(datalen); in wpa_config_read_blobs()
104 if (blob->name == NULL || blob->data == NULL) { in wpa_config_read_blobs()
105 wpa_config_free_blob(blob); in wpa_config_read_blobs()
109 os_memcpy(blob->data, data, datalen); in wpa_config_read_blobs()
110 blob->len = datalen; in wpa_config_read_blobs()
112 wpa_config_set_blob(config, blob); in wpa_config_read_blobs()
[all …]
Dctrl_iface_dbus_handlers.c1230 struct wpa_config_blob *blob; in wpas_dbus_iface_set_blobs() local
1252 blob = os_zalloc(sizeof(*blob)); in wpas_dbus_iface_set_blobs()
1253 if (blob == NULL) { in wpas_dbus_iface_set_blobs()
1259 blob->data = os_zalloc(entry.array_len); in wpas_dbus_iface_set_blobs()
1260 if (blob->data == NULL) { in wpas_dbus_iface_set_blobs()
1264 os_free(blob); in wpas_dbus_iface_set_blobs()
1268 blob->name = os_strdup(entry.key); in wpas_dbus_iface_set_blobs()
1269 blob->len = entry.array_len; in wpas_dbus_iface_set_blobs()
1270 os_memcpy(blob->data, (u8 *) entry.bytearray_value, in wpas_dbus_iface_set_blobs()
1272 if (blob->name == NULL || blob->data == NULL) { in wpas_dbus_iface_set_blobs()
[all …]
Dconfig.c1327 struct wpa_config_blob *blob, *prevblob; in wpa_config_free() local
1336 blob = config->blobs; in wpa_config_free()
1338 while (blob) { in wpa_config_free()
1339 prevblob = blob; in wpa_config_free()
1340 blob = blob->next; in wpa_config_free()
1640 struct wpa_config_blob *blob = config->blobs; in wpa_config_get_blob() local
1642 while (blob) { in wpa_config_get_blob()
1643 if (os_strcmp(blob->name, name) == 0) in wpa_config_get_blob()
1644 return blob; in wpa_config_get_blob()
1645 blob = blob->next; in wpa_config_get_blob()
[all …]
Dconfig.h295 struct wpa_config_blob *blob);
296 void wpa_config_free_blob(struct wpa_config_blob *blob);
Deap_fast.c320 const struct wpa_config_blob *blob; in eap_fast_load_pac() local
321 blob = eap_get_config_blob(sm, pac_file + 7); in eap_fast_load_pac()
322 if (blob == NULL) { in eap_fast_load_pac()
328 rc.pos = (char *) blob->data; in eap_fast_load_pac()
329 rc.end = (char *) blob->data + blob->len; in eap_fast_load_pac()
583 struct wpa_config_blob *blob; in eap_fast_save_pac() local
584 blob = os_zalloc(sizeof(*blob)); in eap_fast_save_pac()
585 if (blob == NULL) { in eap_fast_save_pac()
589 blob->data = (u8 *) buf; in eap_fast_save_pac()
590 blob->len = pos - buf; in eap_fast_save_pac()
[all …]
Dpreauth_test.c184 struct wpa_config_blob *blob) in wpa_supplicant_set_config_blob() argument
187 wpa_config_set_blob(wpa_s->conf, blob); in wpa_supplicant_set_config_blob()
Deap.h192 void (*set_config_blob)(void *ctx, struct wpa_config_blob *blob);
Deap_i.h348 void eap_set_config_blob(struct eap_sm *sm, struct wpa_config_blob *blob);
Dtls_openssl.c322 CRYPT_HASH_BLOB blob; in cryptoapi_find_cert() local
330 blob.cbData = len; in cryptoapi_find_cert()
331 blob.pbData = buf; in cryptoapi_find_cert()
336 &blob, NULL); in cryptoapi_find_cert()
1471 const u8 *blob, size_t len, const char *passwd) in tls_read_pkcs12_blob() argument
1476 p12 = d2i_PKCS12(NULL, (OPENSSL_d2i_TYPE) &blob, len); in tls_read_pkcs12_blob()
Deapol_sm.h159 void (*set_config_blob)(void *ctx, struct wpa_config_blob *blob);
Dwpa.h79 void (*set_config_blob)(void *ctx, struct wpa_config_blob *blob);
Deapol_test.c262 struct wpa_config_blob *blob) in eapol_test_set_config_blob() argument
265 wpa_config_set_blob(wpa_s->conf, blob); in eapol_test_set_config_blob()
Deapol_sm.c1671 static void eapol_sm_set_config_blob(void *ctx, struct wpa_config_blob *blob) in eapol_sm_set_config_blob() argument
1675 sm->ctx->set_config_blob(sm->ctx->ctx, blob); in eapol_sm_set_config_blob()
Dtodo.txt40 - ctrl_iface: get/set/remove blob
DChangeLog379 configuration blob
380 * fixed private key configuration as configuration blob and added
381 support for using PKCS#12 as a blob
431 variables can be set to "blob://<blob name>" instead of file path to
432 use a named blob; supported fields: pac_file, client_cert,
Deap.c2028 void eap_set_config_blob(struct eap_sm *sm, struct wpa_config_blob *blob) in eap_set_config_blob() argument
2030 sm->eapol_cb->set_config_blob(sm->eapol_ctx, blob); in eap_set_config_blob()
Dwpa_supplicant.c284 struct wpa_config_blob *blob) in wpa_supplicant_set_config_blob() argument
287 wpa_config_set_blob(wpa_s->conf, blob); in wpa_supplicant_set_config_blob()
/external/webkit/WebCore/platform/sql/
DSQLiteStatement.cpp138 int SQLiteStatement::bindBlob(int index, const void* blob, int size) in bindBlob() argument
143 ASSERT(blob); in bindBlob()
149 return sqlite3_bind_blob(m_statement, index, blob, size, SQLITE_TRANSIENT); in bindBlob()
326 const void* blob = sqlite3_column_blob(m_statement, col); in getColumnBlobAsVector() local
327 if (!blob) { in getColumnBlobAsVector()
335 result[i] = ((const unsigned char*)blob)[i]; in getColumnBlobAsVector()
358 const void* blob = sqlite3_column_blob(m_statement, col); in getColumnBlob() local
359 if (!blob) in getColumnBlob()
363 return blob; in getColumnBlob()
DSQLiteStatement.h43 int bindBlob(int index, const void* blob, int size);
/external/dropbear/
Dkeyimport.c1268 unsigned char *blob = NULL;
1403 blob = snewn(blobsize, unsigned char);
1421 pos += put_string(blob+pos, "ssh-rsa", 7);
1422 pos += put_mp(blob+pos, e.start, e.bytes);
1423 pos += put_mp(blob+pos, n.start, n.bytes);
1425 pos += put_string(blob+pos, d.start, d.bytes);
1426 pos += put_mp(blob+pos, q.start, q.bytes);
1427 pos += put_mp(blob+pos, p.start, p.bytes);
1428 pos += put_mp(blob+pos, u.start, u.bytes);
1449 pos += put_string(blob+pos, "ssh-dss", 7);
[all …]
/external/gdata/src/com/google/wireless/gdata/contacts/serializer/xml/
DXmlContactEntryGDataSerializer.java241 private static void serializeBlob(XmlSerializer serializer, String blob) in serializeBlob() argument
243 serializer.text(blob); in serializeBlob()
/external/webkit/WebCore/loader/appcache/
DApplicationCacheStorage.cpp688 Vector<char> blob; in loadCache() local
689 cacheStatement.getColumnBlobAsVector(5, blob); in loadCache()
691 RefPtr<SharedBuffer> data = SharedBuffer::adoptVector(blob); in loadCache()

12