HomeSort by relevance Sort by last modified time
    Searched refs:blob (Results 151 - 175 of 601) sorted by null

1 2 3 4 5 67 8 91011>>

  /system/security/keystore/
KeyStore.h 26 #include "blob.h"
70 sp<Keymaster> getDevice(const Blob& blob) { return mKmDevices[blob.getSecurityLevel()]; }
100 ResponseCode get(const char* filename, Blob* keyBlob, const BlobType type, uid_t userId);
101 ResponseCode put(const char* filename, Blob* keyBlob, uid_t userId);
115 ResponseCode getKeyForName(Blob* keyBlob, const android::String8& keyName, const uid_t uid,
159 bool upgradeBlob(const char* filename, Blob* blob, const uint8_t oldVersion,
163 * Takes a blob that is an PEM-encoded RSA key as a byte array and converts it to a DER-encode
    [all...]
keystore_aidl_hidl_marshalling_utils.cpp 44 android::status_t writeKeymasterBlob(const hidl_vec<uint8_t>& blob, android::Parcel* out) {
45 int32_t size = int32_t(std::min<size_t>(blob.size(), std::numeric_limits<int32_t>::max()));
52 return out->write(blob.data(), size);
55 android::status_t writeKeymasterBlob(const ::std::vector<int32_t>& blob, android::Parcel* out) {
57 int32_t size = int32_t(std::min<size_t>(blob.size(), std::numeric_limits<int32_t>::max()));
64 return out->write(blob.data(), size);
93 result.blob = readKeymasterBlob(in); // byte array
126 rc = writeKeymasterBlob(param.blob, out);
  /external/harfbuzz_ng/src/
hb-graphite2.cc 47 hb_blob_t *blob; member in struct:hb_graphite2_tablelist_t
62 hb_blob_t *blob = nullptr; local
66 blob = p->blob;
70 if (unlikely (!blob))
72 blob = face_data->face->reference_table (tag);
76 hb_blob_destroy (blob);
79 p->blob = blob;
89 const char *d = hb_blob_get_data (blob, &tlen)
    [all...]
hb-open-type-private.hh 190 blob (nullptr) {}
204 this->blob = hb_blob_reference (b);
210 this->start = hb_blob_get_data (this->blob, nullptr);
211 this->end = this->start + hb_blob_get_length (this->blob);
228 hb_blob_destroy (this->blob);
229 this->blob = nullptr;
300 hb_blob_t *blob; member in struct:OT::hb_sanitize_context_t
309 static hb_blob_t *sanitize (hb_blob_t *blob) {
315 c->init (blob);
324 return blob;
1177 mutable hb_blob_t *blob; member in struct:OT::hb_lazy_table_loader_t
    [all...]
  /system/keymaster/km_openssl/
attestation_utils.cpp 58 inline keymaster_blob_t certBlobifier(const keymaster_blob_t& blob, bool* fail){
59 if (blob.data == nullptr || blob.data_length == 0) return {};
60 keymaster_blob_t result = { dup_array(blob.data, blob.data_length), blob.data_length };
67 inline keymaster_blob_t certBlobifier(keymaster_blob_t&& blob, bool*){
68 if (blob.data == nullptr || blob.data_length == 0) return {};
69 keymaster_blob_t result = blob;
    [all...]
  /development/samples/Vault/src/com/example/android/vault/
SecretKeyWrapper.java 107 * @param blob a wrapped {@link SecretKey} as previously returned by
110 public SecretKey unwrap(byte[] blob) throws GeneralSecurityException {
112 return (SecretKey) mCipher.unwrap(blob, "AES", Cipher.SECRET_KEY);
  /external/dtc/
util.h 132 * @param blob Poiner to buffer containing fdt
135 int utilfdt_write(const char *filename, const void *blob);
143 * @param blob Poiner to buffer containing fdt
146 int utilfdt_write_err(const char *filename, const void *blob);
fdtdump.c 45 static void dump_blob(void *blob, bool debug)
47 uintptr_t blob_off = (uintptr_t)blob;
48 struct fdt_header *bph = blob;
53 (struct fdt_reserve_entry *)((char *)blob + off_mem_rsvmap);
54 const char *p_struct = (const char *)blob + off_dt;
55 const char *p_strings = (const char *)blob + off_str;
211 /* try and locate an embedded fdt in a bigger blob */
  /external/skqp/src/gpu/
GrPathRenderingRenderTargetContext.cpp 60 const SkTextBlob* blob,
76 skPaint, viewMatrix, this->surfaceProps(), blob, x,
  /system/nvram/messages/include/nvram/messages/
proto.hpp 86 #include <nvram/messages/blob.h>
148 // |Codec| specialization for Blob.
150 struct Codec<Blob> {
153 static bool Encode(const Blob& blob, ProtoWriter* writer) {
154 return writer->WriteLengthDelimited(blob.data(), blob.size());
157 static bool Decode(Blob& blob, ProtoReader* reader) {
158 return blob.Resize(reader->field_size()) &
    [all...]
  /external/ImageMagick/coders/
inline.c 44 #include "MagickCore/blob.h"
45 #include "MagickCore/blob-private.h"
202 % supports the saving of more than one frame to the same file or blob,
307 *blob;
335 blob=(unsigned char *) ImageToBlob(write_info,write_image,&blob_length,
339 if (blob == (unsigned char *) NULL)
342 base64=Base64Encode(blob,blob_length,&encode_length);
343 blob=(unsigned char *) RelinquishMagickMemory(blob);
301 *blob; local
  /external/ImageMagick/www/api/
blob.php 55 <p class="text-center"><a href="blob.php#BlobToImage">BlobToImage</a> &bull; <a href="blob.php#FileToImage">FileToImage</a> &bull; <a href="blob.php#GetBlobProperties">GetBlobProperties</a> &bull; <a href="blob.php#ImageToBlob">ImageToBlob</a> &bull; <a href="blob.php#ImageToFile">ImageToFile</a> &bull; <a href="blob.php#ImagesToBlob">ImagesToBlob</a> &bull; <a href="blob.php#InjectImageBlob">InjectImageBlob</a></p>
59 <p>BlobToImage() implements direct to memory image formats. It returns the blob as an image.</p>
64 Image *BlobToImage(const ImageInfo *image_info,const void *blob,
79 <dt>blob</dt
    [all...]
  /external/libbrillo/brillo/
key_value_store_unittest.cc 46 string blob = "A=B\n# Comment\n"; local
47 ASSERT_EQ(blob.size(), base::WriteFile(temp_file_, blob.data(), blob.size()));
112 string blob = "TRUE=true\nfalse=false\nvar=false\nDONT_SHOUT=TRUE\n"; local
113 EXPECT_TRUE(store_.LoadFromString(blob));
  /external/libdrm/tests/proptest/
proptest.c 56 drmModePropertyBlobPtr blob; local
58 blob = drmModeGetPropertyBlob(fd, blob_id);
59 if (!blob) {
64 blob_data = blob->data;
66 for (i = 0; i < blob->length; i++) {
73 drmModeFreePropertyBlob(blob);
106 printf(" blob");
  /system/keymaster/include/keymaster/
keymaster_tags.h 240 const keymaster_blob_t& blob) {
241 return keymaster_param_blob(tag, blob.data, blob.data_length);
252 const keymaster_blob_t& blob) {
253 return keymaster_param_blob(tag, blob.data, blob.data_length);
  /external/libdrm/radeon/
bof.c 140 * blob
144 bof_t *blob = bof_object(); local
146 if (blob == NULL)
148 blob->type = BOF_TYPE_BLOB;
149 blob->value = calloc(1, size);
150 if (blob->value == NULL) {
151 bof_decref(blob);
154 blob->size = size;
155 memcpy(blob->value, value, size);
156 blob->size += 12
    [all...]
  /external/wpa_supplicant_8/wpa_supplicant/
config_winreg.c 52 struct wpa_config_blob *blob; local
93 wpa_printf(MSG_MSGDUMP, "blob %d: field='%s' len %d",
96 blob = os_zalloc(sizeof(*blob));
97 if (blob == NULL) {
101 blob->name = os_strdup((char *) name);
102 blob->data = os_memdup(data, datalen);
103 if (blob->name == NULL || blob->data == NULL) {
104 wpa_config_free_blob(blob);
992 struct wpa_config_blob *blob; local
    [all...]
  /external/nos/test/system-test-harness/src/
keymaster-import-key-tests.cc 11 #include "src/blob.h"
250 EXPECT_EQ(sizeof(struct km_blob), response.blob().blob().size());
251 const struct km_blob *blob = local
252 (const struct km_blob *)response.blob().blob().data();
253 EXPECT_EQ(memcmp(blob->b.key.rsa.N_bytes, TEST_RSA_KEYS[i].n,
255 EXPECT_EQ(memcmp(blob->b.key.rsa.d_bytes,
271 EXPECT_EQ(sizeof(struct km_blob), response.blob().blob().size())
272 const struct km_blob *blob = local
    [all...]
  /external/curl/lib/
curl_ntlm_core.c 361 } blob; local
369 /* Setup the key blob structure */
370 memset(&blob, 0, sizeof(blob));
371 blob.hdr.bType = PLAINTEXTKEYBLOB;
372 blob.hdr.bVersion = 2;
373 blob.hdr.aiKeyAlg = CALG_DES;
374 blob.len = sizeof(blob.key);
377 extend_key_56_to_64(key_56, blob.key)
    [all...]
  /external/dtc/Documentation/
dtc-paper.tex 48 The ``blob'' representing the device tree can be created using \dtc
51 the kernel. The compiler can produce either a binary ``blob'' or an
114 compact, flattened format. The resulting device tree ``blob'' is then
116 its runtime form. This blob is the only data communicated between the
122 device tree blob must be passed in from outside, rather than generated
124 \texttt{kexec} tools build the blob from the runtime device tree
125 before invoking the new kernel. For embedded systems the blob can
137 move the blob around as a whole, without needing to parse or adjust
139 within the blob.
144 practice this means limiting the use of internal offsets in the blob
    [all...]
  /external/skia/src/gpu/text/
GrAtlasTextContext.h 77 void drawText(GrAtlasTextBlob* blob, int runIndex, GrGlyphCache*, const SkSurfaceProps&,
93 // sets up the descriptor on the blob and returns a detached cache. Client must attach
104 const SkTextBlob* blob, SkScalar x, SkScalar y,
159 void drawDFText(GrAtlasTextBlob* blob, int runIndex, GrGlyphCache*, const SkSurfaceProps&,
164 void drawDFPosText(GrAtlasTextBlob* blob, int runIndex, GrGlyphCache*,
171 void initDistanceFieldPaint(GrAtlasTextBlob* blob,
  /external/vboot_reference/futility/
cmd_vbutil_firmware.c 182 uint8_t *blob; local
201 /* Read blob */
202 blob = ReadFile(infile, &blob_size);
203 if (!blob) {
216 key_block = (VbKeyBlockHeader *) blob;
246 preamble = (VbFirmwarePreambleHeader *) (blob + now);
  /external/nos/host/android/hals/keymaster/
proto_utils.cpp 577 pb->set_blob(&param.blob[0], param.blob.size());
580 pb->set_blob(&param.blob[0], param.blob.size());
589 pb->set_blob(&param.blob[0], param.blob.size());
606 pb->set_blob(&param.blob[0], param.blob.size());
614 pb->set_blob(&param.blob[0], param.blob.size())
    [all...]
  /cts/tests/tests/database/src/android/database/sqlite/cts/
SQLiteProgramTest.java 54 "num1 INTEGER, num2 INTEGER, image BLOB);");
124 "num1 INTEGER, num2 INTEGER, image BLOB);");
154 "num1 INTEGER, num2 INTEGER, image BLOB);");
161 byte[] blob = new byte[] { '1', '2', '3' };
162 statement.bindBlob(4, blob);
180 MoreAsserts.assertEquals(blob, value);
  /external/skia/gm/
mixedtextblobs.cpp 20 static void draw_blob(SkCanvas* canvas, const SkTextBlob* blob, const SkPaint& skPaint,
30 canvas->drawTextBlob(blob, 0, 0, paint);
33 canvas->drawTextBlob(blob, 0, 0, paint);

Completed in 1920 milliseconds

1 2 3 4 5 67 8 91011>>