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>
45 lines
1007 B
C
45 lines
1007 B
C
/* 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 */
|