HomeSort by: relevance | last modified time | path
    Searched refs:pub_data_size (Results 1 - 4 of 4) sorted by relevancy

  /src/crypto/external/cpl/trousers/dist/src/include/
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)
  /src/crypto/external/cpl/trousers/dist/src/tcs/ps/
ps_utils.c 91 find_write_offset(UINT32 pub_data_size, UINT32 blob_size, UINT32 vendor_data_size)
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)
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 = LE_16(tmp->pub_data_size)
    [all...]
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...]
  /src/crypto/external/cpl/trousers/dist/src/tspi/ps/
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 > 0)
    [all...]

Completed in 24 milliseconds