Searched refs:blob_size (Results 1 - 10 of 10) sorted by relevance

/netbsd-current/crypto/external/cpl/trousers/dist/src/tcs/ps/
H A Dps_utils.c91 find_write_offset(UINT32 pub_data_size, UINT32 blob_size, UINT32 vendor_data_size) argument
103 tmp->blob_size == blob_size &&
123 write_key_init(int fd, UINT32 pub_data_size, UINT32 blob_size, UINT32 vendor_data_size) argument
184 offset = find_write_offset(pub_data_size, blob_size, vendor_data_size);
224 UINT16 pub_data_size, UINT32 blob_size,
255 tmp->blob_size = blob_size;
423 if ((rc = read_data(fd, &tmp->blob_size, sizeof(UINT16)))) {
427 tmp->blob_size
222 cache_key(UINT32 offset, UINT16 flags, TSS_UUID *uuid, TSS_UUID *parent_uuid, UINT16 pub_data_size, UINT32 blob_size, UINT32 vendor_data_size) argument
[all...]
H A Dtcsps.c185 if (*ret_buffer_size < tmp->blob_size) {
191 if ((rc = read_data(fd, ret_buffer, tmp->blob_size))) {
196 *ret_buffer_size = tmp->blob_size;
227 if (*ret_buffer_size < c->blob_size) {
230 c->blob_size, *ret_buffer_size);
234 if ((rc = read_data(fd, ret_buffer, c->blob_size))) {
235 LogError("%s: error reading %d bytes", __FUNCTION__, c->blob_size);
238 *ret_buffer_size = c->blob_size;
497 DBG_ASSERT(tmp->blob_size < 4096);
498 if (tmp->blob_size > sizeo
[all...]
/netbsd-current/crypto/external/cpl/trousers/dist/src/include/
H A Dtcs_tsp.h54 UINT16 blob_size; member in struct:key_disk_cache
77 #define TSSPS_VENDOR_DATA_OFFSET(c) ((c)->offset + (2 * sizeof(TSS_UUID)) + (3 * sizeof(UINT16)) + sizeof(UINT32) + (c)->pub_data_size + (c)->blob_size)
/netbsd-current/crypto/external/cpl/trousers/dist/src/tspi/ps/
H A Dtspps.c320 if (tmp.blob_size > 4096) {
322 tmp.blob_size);
325 if ((rc = read_data(fd, buf, tmp.blob_size))) {
330 memcpy(key, buf, tmp.blob_size);
358 if (tmp.blob_size > 4096) {
360 tmp.blob_size);
364 if ((result = read_data(fd, buf, tmp.blob_size))) {
369 memcpy(key, buf, tmp.blob_size);
740 if ((result = read_data(fd, &tmp[i].blob_size, sizeof(UINT16)))) {
744 tmp[i].blob_size
[all...]
/netbsd-current/crypto/external/cpl/trousers/dist/src/tcs/
H A Dtcs_key_ps.c249 ps_get_key_by_uuid(TSS_UUID *uuid, BYTE *blob, UINT16 *blob_size) argument
257 rc = psfile_get_key_by_uuid(fd, uuid, blob, blob_size);
264 ps_get_key_by_cache_entry(struct key_disk_cache *c, BYTE *blob, UINT16 *blob_size) argument
272 rc = psfile_get_key_by_cache_entry(fd, c, blob, blob_size);
343 UINT32 vendor_size, BYTE *blob, UINT32 blob_size)
348 UINT16 short_blob_size = (UINT16)blob_size;
342 ps_write_key(TSS_UUID *uuid, TSS_UUID *parent_uuid, BYTE *vendor_data, UINT32 vendor_size, BYTE *blob, UINT32 blob_size) argument
H A Dtcs_key.c142 UINT32 blob_size,
139 load_key_init(TPM_COMMAND_CODE ord, TCS_CONTEXT_HANDLE hContext, TCS_KEY_HANDLE parent_handle, UINT32 blob_size, BYTE* blob, TSS_BOOL encrypted, TPM_AUTH* auth, TSS_BOOL* load_key, UINT64* out_len, BYTE* out, TCS_KEY_HANDLE* handle, TPM_KEY_HANDLE* slot) argument
H A Dtcs_pbg.c932 UINT64 blob_size; local
1465 blob_size = in_len1 + in_len2 + TPM_DIGEST_SIZE + sizeof(TPM_AUTH);
1466 if (blob_size > TSS_TPM_TXBLOB_SIZE) {
/netbsd-current/crypto/external/cpl/trousers/dist/src/tspi/
H A Dtsp_ps.c112 ps_write_key(TSS_UUID *uuid, TSS_UUID *parent_uuid, UINT32 parent_ps, UINT32 blob_size, BYTE *blob) argument
116 UINT16 short_blob_size = (UINT16)blob_size;
118 if (blob_size > USHRT_MAX) {
119 LogError("Blob data being written to disk is too large(%u bytes)!", blob_size);
/netbsd-current/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/scripts/
H A Dsancov.py118 pid, module_length, blob_size = struct.unpack('iII', header)
120 blob = f.read(blob_size)
122 assert(len(blob) == blob_size)
/netbsd-current/sys/external/bsd/drm2/dist/drm/
H A Ddrm_plane.c96 size_t blob_size, formats_size, modifiers_size; local
109 blob_size = sizeof(struct drm_format_modifier_blob);
114 blob_size += round_up(formats_size, 8);
115 blob_size += modifiers_size;
117 blob = drm_property_create_blob(dev, blob_size, NULL);

Completed in 126 milliseconds