read_obj_data
if (read_obj_data(old_fd, (char **)&buf, &nread) != CKR_OK) {
rv = read_obj_data(fd, (char **)&buf, &nread);