adding security misc from Vx7 to 6.9 (original files from vx7) (#5)

Co-authored-by: neelimap <neelimaps@neominds.in>
Reviewed-on: http://13.234.246.121:3000/Neominds/ossl35vx69/pulls/5
Reviewed-by: Siddhant Singh <siddhant.singh@neominds.in>
Co-authored-by: Neelima P S <neelima.ps@neominds.in>
Co-committed-by: Neelima P S <neelima.ps@neominds.in>
This commit is contained in:
2026-07-30 18:09:00 +05:30
committed by neelimap
co-authored by neelimap
parent 368226261b
commit 122392cfc0
60 changed files with 9586 additions and 0 deletions
@@ -0,0 +1,44 @@
/* secVaultP.h - wrapper header file for secSecretP.h */
/*
* Copyright (c) 2015-2017, 2021 Wind River Systems, Inc.
*
* The right to copy, distribute, modify, or otherwise make use
* of this software may be licensed only pursuant to the terms
* of an applicable Wind River license agreement.
*/
#ifndef __INCsecVaultPh
#define __INCsecVaultPh
/* includes */
#include <secSecret.h>
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
/* defines */
#define SEC_VAULT_PATH_MAX SEC_SECRET_PATH_MAX
#define SEC_VAULT_TYPE_PKEY SEC_SECRET_TYPE_PKEY
#define SEC_VAULT_TYPE_OPAQUE SEC_SECRET_TYPE_OPAQUE
#define SEC_VAULT_MODE_READ SEC_SECRET_MODE_READ
#define SEC_VAULT_MODE_WRITE SEC_SECRET_MODE_WRITE
#define secVaultOpen() secSecretOpen()
#define secVaultRead(handle, name,name_len) secSecretRead(handle, name,name_len)
#define secVaultClose(handle) secSecretClose(handle)
#ifdef __cplusplus
}
#endif /* __cplusplus */
#include <private/secSecretP.h>
#endif /* __INCsecVaultPh */