mirror of
https://github.com/NVIDIA/open-gpu-kernel-modules.git
synced 2026-02-06 16:19:58 +00:00
550.90.07
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2023-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
@@ -27,9 +27,18 @@
|
||||
#include "nvtypes.h"
|
||||
#include "cc_drv.h"
|
||||
|
||||
struct decryptBundle_t
|
||||
{
|
||||
NvU8 keyIn[CC_AES_256_GCM_KEY_SIZE_BYTES];
|
||||
NvU8 ivMaskIn[CC_AES_256_GCM_IV_SIZE_BYTES];
|
||||
};
|
||||
|
||||
typedef struct decryptBundle_t *pDecryptBundle;
|
||||
|
||||
struct ccslContext_t
|
||||
{
|
||||
NvHandle hClient;
|
||||
NvHandle hSubdevice;
|
||||
NvHandle hChannel;
|
||||
|
||||
enum {CSL_MSG_CTR_32, CSL_MSG_CTR_64} msgCounterSize;
|
||||
@@ -51,8 +60,19 @@ struct ccslContext_t
|
||||
|
||||
NvU64 keyHandleIn;
|
||||
NvU64 keyHandleOut;
|
||||
NvU64 keyHandleOutFallback;
|
||||
|
||||
NvU32 globalKeyIdIn;
|
||||
NvU32 globalKeyIdOut;
|
||||
|
||||
void *openrmCtx;
|
||||
|
||||
MEMORY_DESCRIPTOR *pMemDesc;
|
||||
volatile CC_CRYPTOBUNDLE_STATS *pEncStatsBuffer;
|
||||
void * pConfCompute;
|
||||
|
||||
pDecryptBundle pDecryptBundles;
|
||||
NvU32 currDecryptBundle;
|
||||
};
|
||||
|
||||
typedef struct ccslContext_t *pCcslContext;
|
||||
|
||||
@@ -181,6 +181,7 @@ typedef struct GspSystemInfo
|
||||
GSP_VF_INFO gspVFInfo;
|
||||
NvBool isGridBuild;
|
||||
NvU32 gridBuildCsp;
|
||||
NvBool bTdrEventSupported;
|
||||
} GspSystemInfo;
|
||||
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2021-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2021-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
@@ -34,6 +34,7 @@
|
||||
#include "internal/libspdm_common_lib.h"
|
||||
#include "internal/libspdm_secured_message_lib.h"
|
||||
#include "library/spdm_requester_lib.h"
|
||||
#include "nvspdm_cryptlib_extensions.h"
|
||||
|
||||
/* ------------------------ Macros and Defines ----------------------------- */
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user