mirror of
https://gitee.com/openharmony/interface_sdk_c
synced 2024-11-23 06:39:54 +00:00
huks api lint fix
Signed-off-by: zww <zhuweiwen@huawei.com>
This commit is contained in:
parent
7d02f817ab
commit
8fcbe451c6
@ -13,9 +13,6 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef NATIVE_HUKS_API_H
|
||||
#define NATIVE_HUKS_API_H
|
||||
|
||||
/**
|
||||
* @addtogroup HuksKeyApi
|
||||
* @{
|
||||
@ -34,12 +31,18 @@
|
||||
*
|
||||
* @brief Defines the Universal Keystore Kit APIs.
|
||||
*
|
||||
* @library libhuks_ndk.z.so
|
||||
* @syscap SystemCapability.Security.Huks
|
||||
*
|
||||
* include "huks/include/native_huks_type.h"
|
||||
* @kit UniversalKeystoreKit
|
||||
* @since 9
|
||||
* @version 1.0
|
||||
*/
|
||||
|
||||
#ifndef NATIVE_HUKS_API_H
|
||||
#define NATIVE_HUKS_API_H
|
||||
|
||||
#include "native_huks_type.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
@ -309,7 +312,7 @@ struct OH_Huks_Result OH_Huks_AnonAttestKeyItem(const struct OH_Huks_Blob *keyAl
|
||||
* @param handle Indicates the pointer to the handle of the key session obtained.
|
||||
* This handle is required for subsequent operations, including {@link OH_Huks_UpdateSession},
|
||||
* {@link OH_Huks_FinishSession}, and {@link OH_Huks_AbortSession}.
|
||||
* @param challenge Indicates the pointer to the challenge value obtained.
|
||||
* @param token Indicates the pointer to the token used for key access control.
|
||||
* @return {@link OH_Huks_ErrCode#OH_HUKS_SUCCESS} 0 - If the operation is successful.
|
||||
* {@link OH_Huks_ErrCode#OH_HUKS_ERR_CODE_ILLEGAL_ARGUMENT} 401 - If keyAlias or paramSet or handle or
|
||||
* token is invalid.
|
||||
|
@ -13,9 +13,6 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef NATIVE_HUKS_PARAM_H
|
||||
#define NATIVE_HUKS_PARAM_H
|
||||
|
||||
/**
|
||||
* @addtogroup HuksParamSetApi
|
||||
* @{
|
||||
@ -36,12 +33,18 @@
|
||||
*
|
||||
* @brief Provides APIs for constructing, using, and destroying parameter sets.
|
||||
*
|
||||
* @library libhuks_ndk.z.so
|
||||
* @syscap SystemCapability.Security.Huks
|
||||
*
|
||||
* include "huks/include/native_huks_type.h"
|
||||
* @kit UniversalKeystoreKit
|
||||
* @since 9
|
||||
* @version 1.0
|
||||
*/
|
||||
|
||||
#ifndef NATIVE_HUKS_PARAM_H
|
||||
#define NATIVE_HUKS_PARAM_H
|
||||
|
||||
#include "native_huks_type.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -13,9 +13,6 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef NATIVE_OH_HUKS_TYPE_H
|
||||
#define NATIVE_OH_HUKS_TYPE_H
|
||||
|
||||
/**
|
||||
* @addtogroup HuksTypeApi
|
||||
* @{
|
||||
@ -33,11 +30,17 @@
|
||||
*
|
||||
* @brief Defines the structure and enumeration.
|
||||
*
|
||||
* @library libhuks_ndk.z.so
|
||||
* @syscap SystemCapability.Security.Huks
|
||||
*
|
||||
* @kit UniversalKeystoreKit
|
||||
* @since 9
|
||||
* @version 1.0
|
||||
*/
|
||||
|
||||
#ifndef NATIVE_OH_HUKS_TYPE_H
|
||||
#define NATIVE_OH_HUKS_TYPE_H
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
|
Loading…
Reference in New Issue
Block a user