- OS: Linux (Ubuntu is the test system)
- Tools:
- m4:
sudo apt-get install m4
- flex:
sudo apt install flex
- bison:
sudo apt install bison
- m4:
- Library:
- glib (>2.0.0):
sudo apt install libglib2.0-dev
- gmp (>4.0.0):
sudo apt install libgmp-dev
- ssl:
sudo apt install libssl-dev
- glib (>2.0.0):
- Library pbc:
- Download source from http://crypto.stanford.edu/pbc/download.html
- Unpack source tarball (eg.,
tar zxvf pbc-0.5.14.tar.gz
) - Build source
./configure
sudo make
sudo make install
- Library cpabe:
- Download source from http://acsc.cs.utexas.edu/cpabe/
- Install the following two software before installing cpabe:
sudo apt-get install libssl-dev
sudo apt-get install libglib2.0-dev
- Then go to http://acsc.cs.utexas.edu/cpabe/ to download libbswabe-0.9.tar.gz and cpabe-0.11.tar.gz.
- Then install cpabe
- tar -xvf cpabe-0.11.tar.gz
- Build source
cd cpabe-0.11
./configure
sudo make
(An error will occur after performing this step, enter the Makefile, find the following part starting with LDFLAGS and add -lgmp at the end.)sudo make install
The MyCPABE current supports in C.
- Usage MyCPABE
- Example Example program
- Paper:
- Touati, L., Challal, Y., & Bouabdallah, A. (2014, June). C-cp-abe: Cooperative ciphertext policy attribute-based encryption for the internet of things. In 2014 International Conference on Advanced Networking Distributed Systems and Applications (pp. 64-69). IEEE.
- Bethencourt, J., Sahai, A., & Waters, B. (2007, May). Ciphertext-policy attribute-based encryption. In 2007 IEEE symposium on security and privacy (SP'07) (pp. 321-334). IEEE.