Searched refs:pub_data_size (Results 1 - 4 of 4) sorted by relevance
/netbsd-current/crypto/external/cpl/trousers/dist/src/include/ |
H A D | tcs_tsp.h | 53 UINT16 pub_data_size; member in struct:key_disk_cache 76 #define TSSPS_BLOB_DATA_OFFSET(c) ((c)->offset + (2 * sizeof(TSS_UUID)) + (3 * sizeof(UINT16)) + sizeof(UINT32) + (c)->pub_data_size) 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/tcs/ps/ |
H A D | ps_utils.c | 91 find_write_offset(UINT32 pub_data_size, UINT32 blob_size, UINT32 vendor_data_size) argument 102 tmp->pub_data_size == pub_data_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, 256 tmp->pub_data_size = pub_data_size; 414 if ((rc = read_data(fd, &tmp->pub_data_size, sizeof(UINT16)))) { 418 tmp->pub_data_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 D | tcsps.c | 319 if (pub->keyLength != tmp->pub_data_size || !(tmp->flags & CACHE_FLAG_VALID)) { 337 DBG_ASSERT(tmp->pub_data_size < 2048); 340 if ((rc = read_data(fd, tmp_buffer, tmp->pub_data_size))) { 347 if (memcmp(tmp_buffer, pub->key, tmp->pub_data_size)) { 378 if (pub->keyLength != tmp->pub_data_size || !(tmp->flags & CACHE_FLAG_VALID)) { 396 DBG_ASSERT(tmp->pub_data_size < 2048); 398 if (tmp->pub_data_size > sizeof(tmp_buffer)) { 400 tmp->pub_data_size); 405 if ((rc = read_data(fd, tmp_buffer, tmp->pub_data_size))) { 412 if (memcmp(tmp_buffer, pub->key, tmp->pub_data_size)) { [all...] |
/netbsd-current/crypto/external/cpl/trousers/dist/src/tspi/ps/ |
H A D | tspps.c | 731 if ((result = read_data(fd, &tmp[i].pub_data_size, sizeof(UINT16)))) { 735 tmp[i].pub_data_size = LE_16(tmp[i].pub_data_size); 737 DBG_ASSERT(tmp[i].pub_data_size <= 2048); 763 offset = lseek(fd, tmp[i].pub_data_size, SEEK_CUR); 1161 if ((result = read_data(fd, &c->pub_data_size, sizeof(UINT16)))) { 1165 c->pub_data_size = LE_16(c->pub_data_size); 1166 DBG_ASSERT(c->pub_data_size <= 2048 && c->pub_data_size > [all...] |
Completed in 93 milliseconds