allwinner_a64/android/external/tpm2/Bits_fp.h
2018-08-08 16:14:42 +08:00

36 lines
1.1 KiB
C

/*
* Copyright 2015 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef __BITS_FP_H_
#define __BITS_FP_H_
BOOL BitIsSet(unsigned int bitNum, // IN: number of the bit in 'bArray'
BYTE *bArray, // IN: array containing the bit
unsigned int arraySize // IN: size in bytes of 'bArray'
);
//
//
// BitSet()
//
// This function will set the indicated bit in bArray.
//
void BitSet(unsigned int bitNum, // IN: number of the bit in 'bArray'
BYTE *bArray, // IN: array containing the bit
unsigned int arraySize // IN: size in bytes of 'bArray'
);
//
//
// BitClear()
//
// This function will clear the indicated bit in bArray.
//
void BitClear(unsigned int bitNum, // IN: number of the bit in 'bArray'.
BYTE *bArray, // IN: array containing the bit
unsigned int arraySize // IN: size in bytes of 'bArray'
);
#endif