Home
last modified time | relevance | path

Searched refs:key_disk_cache (Results 1 – 11 of 11) sorted by relevance

/netbsd-src/crypto/external/cpl/trousers/dist/src/tcs/ps/
H A Dps_utils.c48 struct key_disk_cache *key_disk_cache_head = NULL;
93 struct key_disk_cache *tmp; in find_write_offset()
227 struct key_disk_cache *tmp; in cache_key()
239 tmp = malloc(sizeof(struct key_disk_cache)); in cache_key()
241 LogError("malloc of %zd bytes failed.", sizeof(struct key_disk_cache)); in cache_key()
300 struct key_disk_cache *tmp; in get_num_keys()
356 struct key_disk_cache *tmp, *prev = NULL; in init_disk_cache()
370 key_disk_cache_head = tmp = calloc(1, sizeof(struct key_disk_cache)); in init_disk_cache()
373 sizeof(struct key_disk_cache)); in init_disk_cache()
494 tmp->next = calloc(1, sizeof(struct key_disk_cache)); in init_disk_cache()
[all …]
H A Dtcsps.c120 struct key_disk_cache *tmp; in psfile_get_parent_uuid_by_uuid()
163 struct key_disk_cache *tmp; in psfile_get_key_by_uuid()
211 psfile_get_key_by_cache_entry(int fd, struct key_disk_cache *c, BYTE *ret_buffer, in psfile_get_key_by_cache_entry()
248 psfile_get_vendor_data(int fd, struct key_disk_cache *c, UINT32 *size, BYTE **data) in psfile_get_vendor_data()
281 struct key_disk_cache *tmp; in psfile_get_ps_type_by_uuid()
311 struct key_disk_cache *tmp; in psfile_is_pub_registered()
370 struct key_disk_cache *tmp; in psfile_get_uuid_by_pub()
440 struct key_disk_cache *tmp; in psfile_get_key_by_pub()
678 psfile_remove_key(int fd, struct key_disk_cache *c) in psfile_remove_key()
/netbsd-src/crypto/external/cpl/trousers/dist/src/include/
H A Dtcsps.h16 extern struct key_disk_cache *key_disk_cache_head;
36 TSS_RESULT psfile_get_key_by_cache_entry(int, struct key_disk_cache *, BYTE *, UINT16 *);
38 TSS_RESULT psfile_get_vendor_data(int, struct key_disk_cache *, UINT32 *, BYTE **);
42 TSS_RESULT psfile_remove_key(int, struct key_disk_cache *);
56 TSS_RESULT ps_get_key_by_cache_entry(struct key_disk_cache *, BYTE *, UINT16 *);
57 TSS_RESULT ps_get_vendor_data(struct key_disk_cache *, UINT32 *, BYTE **);
H A Dtcs_key_ps.h19 void disk_cache_shift(struct key_disk_cache *);
23 TSS_RESULT ps_get_key_by_cache_entry(struct key_disk_cache *, BYTE *, UINT16 *);
H A Dtcs_tsp.h50 struct key_disk_cache struct
59 struct key_disk_cache *next; argument
H A Dtspps.h37 TSS_RESULT psfile_get_cache_entry_by_uuid(int, TSS_UUID *, struct key_disk_cache *);
38 TSS_RESULT psfile_get_cache_entry_by_pub(int, UINT32, BYTE *, struct key_disk_cache *);
H A Dtcs_utils.h261 TSS_RESULT fill_key_info(struct key_disk_cache *, struct key_mem_cache *, TSS_KM_KEYINFO *);
262 TSS_RESULT fill_key_info2(struct key_disk_cache *, struct key_mem_cache *, TSS_KM_KEYINFO2 *);
268 TSS_RESULT getKeyByCacheEntry(struct key_disk_cache *, BYTE *, UINT16 *);
/netbsd-src/crypto/external/cpl/trousers/dist/src/tcs/
H A Dtcs_key_ps.c96 struct key_disk_cache *disk_tmp; in getParentUUIDByUUID()
117 struct key_disk_cache *disk_tmp; in isUUIDRegistered()
137 disk_cache_shift(struct key_disk_cache *c) in disk_cache_shift()
140 struct key_disk_cache *tmp = key_disk_cache_head; in disk_cache_shift()
163 struct key_disk_cache *tmp, *prev = NULL; in ps_remove_key()
215 struct key_disk_cache *tmp, *prev = NULL; in clean_disk_cache()
264 ps_get_key_by_cache_entry(struct key_disk_cache *c, BYTE *blob, UINT16 *blob_size) in ps_get_key_by_cache_entry()
279 ps_get_vendor_data(struct key_disk_cache *c, UINT32 *size, BYTE **data) in ps_get_vendor_data()
H A Dtcs_ps.c32 get_vendor_data(struct key_disk_cache *d, UINT32 *size, BYTE **data) in get_vendor_data()
45 fill_key_info(struct key_disk_cache *d, struct key_mem_cache *m, TSS_KM_KEYINFO *key_info) in fill_key_info()
99 fill_key_info2(struct key_disk_cache *d, struct key_mem_cache *m, TSS_KM_KEYINFO2 *key_info) in fill_key_info2()
H A Dtcsi_ps.c85 struct key_disk_cache *disk_ptr, *tmp_ptrs[MAX_KEY_CHILDREN]; in TCS_EnumRegisteredKeys_Internal()
252 struct key_disk_cache *disk_ptr, *tmp_ptrs[MAX_KEY_CHILDREN]; in TCS_EnumRegisteredKeys_Internal2()
/netbsd-src/crypto/external/cpl/trousers/dist/src/tspi/ps/
H A Dtspps.c253 struct key_disk_cache tmp; in psfile_is_key_registered()
269 struct key_disk_cache tmp; in psfile_get_parent_uuid_by_uuid()
283 struct key_disk_cache tmp; in psfile_get_parent_ps_type()
305 struct key_disk_cache tmp; in psfile_get_key_by_uuid()
343 struct key_disk_cache tmp; in psfile_get_key_by_pub()
379 struct key_disk_cache tmp; in psfile_get_uuid_by_pub()
599 struct key_disk_cache c; in psfile_remove_key()
682 psfile_get_all_cache_entries(int fd, UINT32 *size, struct key_disk_cache **c) in psfile_get_all_cache_entries()
687 struct key_disk_cache *tmp = NULL; in psfile_get_all_cache_entries()
704 if ((tmp = malloc(num_keys * sizeof(struct key_disk_cache))) == NULL) { in psfile_get_all_cache_entries()
[all …]