mei_rt2mei_rt2_fix_1
Last change
on this file since 2485307 was
2485307,
checked in by Mei <mei@…>, 12 years ago
|
1) wrap up the changes on proof buffer's process in abac_pl_yap.c
2) update some doc
3) wrap up the scaling tests(big daisy chains)
|
-
Property mode set to
100644
|
File size:
957 bytes
|
Line | |
---|
1 | all: attr prove |
---|
2 | |
---|
3 | abac_attr.o: abac_attr.c |
---|
4 | gcc -g -c abac_attr.c -o abac_attr.o |
---|
5 | |
---|
6 | abac_attr: abac_attr.o |
---|
7 | gcc -g -o abac_attr abac_attr.o -L/usr/local/lib/ipsec -labac -lYap -lreadline -lm -lstrongswan -Wl,-rpath -Wl,/usr/local/lib/ipsec |
---|
8 | |
---|
9 | abac_prover.o: abac_prover.c |
---|
10 | gcc -g -c abac_prover.c -o abac_prover.o |
---|
11 | |
---|
12 | abac_prover: abac_prover.o |
---|
13 | gcc -g -o abac_prover abac_prover.o -L/usr/local/lib/ipsec -labac -lYap -lreadline -lm -lstrongswan -Wl,-rpath -Wl,/usr/local/lib/ipsec |
---|
14 | |
---|
15 | |
---|
16 | clean: |
---|
17 | @rm -f abac_attr.o abac_attr *.pem *.der abac_prover.o abac_prover |
---|
18 | |
---|
19 | realclean: |
---|
20 | @rm -f abac_attr.o abac_attr *.pem *.der abac_prover.o abac_prover *.log |
---|
21 | |
---|
22 | setup: abac_attr abac_prover |
---|
23 | creddy --generate --cn IceCream |
---|
24 | creddy --generate --cn Chocolate |
---|
25 | |
---|
26 | attr: |
---|
27 | make clean |
---|
28 | rm -rf attr.log |
---|
29 | make setup |
---|
30 | ./abac_attr IceCream_ID.pem IceCream_private.pem IceCream_attr.der Chocolate_ID.pem 1>attr.log 2>&1 |
---|
31 | |
---|
32 | prove: |
---|
33 | rm -rf prover.log |
---|
34 | make attr |
---|
35 | run_prover 1>prover.log 2>&1 |
---|
36 | |
---|
Note: See
TracBrowser
for help on using the repository browser.