ABY Framework  1.0
Arithmetic Bool Yao Framework
 All Classes Files Functions Variables Enumerations Enumerator Macros
Classes | Macros | Variables
cbitvector.h File Reference

CBitVector Implementation. More...

#include "typedefs.h"
#include "crypto/crypto.h"
#include <math.h>
#include <iostream>
#include <iomanip>
Include dependency graph for cbitvector.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CBitVector
 

Macros

#define GetIntBitsFromLen(x, from, len)   ( ( (x & ( ( (2<<(len))-1) << from )) >> from) & 0xFF)
 
#define GetMask(len)   (( (1<<(len))-1))
 

Variables

const BYTE SELECT_BIT_POSITIONS [9] = { 0x00, 0x01, 0x03, 0x07, 0x0F, 0x1F, 0x3F, 0x7F, 0xFF }
 

Detailed Description

CBitVector Implementation.

Author
micha.nosp@m.el.z.nosp@m.ohner.nosp@m.@ec-.nosp@m.sprid.nosp@m.e.de