(comment "CPSA 2.2.1") (comment "All input read") (comment "Strand count bounded at 12") (defprotocol bb1 basic (defrole init (vars (a b name) (s text) (k skey)) (trace (send (enc (enc k (privk "sign" a)) (pubk "encr" b))) (recv (enc s k)))) (defrole resp (vars (a b name) (s text) (k skey)) (trace (recv (enc (enc k (privk "sign" a)) (pubk "encr" b))) (send (enc s k))))) (defskeleton bb1 (vars (s text) (a b name) (k skey)) (defstrand init 2 (s s) (a a) (b b) (k k)) (deflistener k) (non-orig (privk "encr" b) (privk "sign" a)) (uniq-orig k) (traces ((send (enc (enc k (privk "sign" a)) (pubk "encr" b))) (recv (enc s k))) ((recv k) (send k))) (label 0) (unrealized (0 1) (1 0))) (defskeleton bb1 (vars (s text) (a b name) (k skey)) (defstrand init 2 (s s) (a a) (b b) (k k)) (deflistener k) (precedes ((0 0) (1 0))) (non-orig (privk "encr" b) (privk "sign" a)) (uniq-orig k) (traces ((send (enc (enc k (privk "sign" a)) (pubk "encr" b))) (recv (enc s k))) ((recv k) (send k))) (label 1) (parent 0) (unrealized (0 1) (1 0)) (comment "empty cohort")) (comment "Nothing left to do") (defprotocol bb1 basic (defrole init (vars (a b name) (s text) (k skey)) (trace (send (enc (enc k (privk "sign" a)) (pubk "encr" b))) (recv (enc s k)))) (defrole resp (vars (a b name) (s text) (k skey)) (trace (recv (enc (enc k (privk "sign" a)) (pubk "encr" b))) (send (enc s k))))) (defskeleton bb1 (vars (s text) (a b name) (k skey)) (defstrand init 2 (s s) (a a) (b b) (k k)) (non-orig (privk "encr" b) (privk "sign" a)) (uniq-orig k) (traces ((send (enc (enc k (privk "sign" a)) (pubk "encr" b))) (recv (enc s k)))) (label 2) (unrealized (0 1)) (comment "2 in cohort - 2 not yet seen")) (defskeleton bb1 (vars (s text) (a b a-0 b-0 name) (k skey)) (defstrand init 2 (s s) (a a) (b b) (k k)) (defstrand resp 2 (s s) (a a-0) (b b-0) (k k)) (precedes ((0 0) (1 0)) ((1 1) (0 1))) (non-orig (privk "encr" b) (privk "sign" a)) (uniq-orig k) (operation encryption-test (added-strand resp 2) (enc s k) (0 1)) (traces ((send (enc (enc k (privk "sign" a)) (pubk "encr" b))) (recv (enc s k))) ((recv (enc (enc k (privk "sign" a-0)) (pubk "encr" b-0))) (send (enc s k)))) (label 3) (parent 2) (unrealized (1 0)) (comment "1 in cohort - 1 not yet seen")) (defskeleton bb1 (vars (s text) (a b name) (k skey)) (defstrand init 2 (s s) (a a) (b b) (k k)) (deflistener k) (precedes ((0 0) (1 0)) ((1 1) (0 1))) (non-orig (privk "encr" b) (privk "sign" a)) (uniq-orig k) (operation encryption-test (added-listener k) (enc s k) (0 1)) (traces ((send (enc (enc k (privk "sign" a)) (pubk "encr" b))) (recv (enc s k))) ((recv k) (send k))) (label 4) (parent 2) (unrealized (1 0)) (comment "empty cohort")) (defskeleton bb1 (vars (s text) (a b name) (k skey)) (defstrand init 2 (s s) (a a) (b b) (k k)) (defstrand resp 2 (s s) (a a) (b b) (k k)) (precedes ((0 0) (1 0)) ((1 1) (0 1))) (non-orig (privk "encr" b) (privk "sign" a)) (uniq-orig k) (operation nonce-test (contracted (a-0 a) (b-0 b)) k (1 0) (enc (enc k (privk "sign" a)) (pubk "encr" b))) (traces ((send (enc (enc k (privk "sign" a)) (pubk "encr" b))) (recv (enc s k))) ((recv (enc (enc k (privk "sign" a)) (pubk "encr" b))) (send (enc s k)))) (label 5) (parent 3) (unrealized) (shape)) (comment "Nothing left to do") (defprotocol bb1 basic (defrole init (vars (a b name) (s text) (k skey)) (trace (send (enc (enc k (privk "sign" a)) (pubk "encr" b))) (recv (enc s k)))) (defrole resp (vars (a b name) (s text) (k skey)) (trace (recv (enc (enc k (privk "sign" a)) (pubk "encr" b))) (send (enc s k))))) (defskeleton bb1 (vars (s text) (a b name) (k skey)) (defstrand init 2 (s s) (a a) (b b) (k k)) (deflistener s) (non-orig (privk "encr" b) (privk "sign" a)) (uniq-orig s k) (traces ((send (enc (enc k (privk "sign" a)) (pubk "encr" b))) (recv (enc s k))) ((recv s) (send s))) (label 6) (unrealized (0 1)) (comment "2 in cohort - 2 not yet seen")) (defskeleton bb1 (vars (s text) (a b a-0 b-0 name) (k skey)) (defstrand init 2 (s s) (a a) (b b) (k k)) (deflistener s) (defstrand resp 2 (s s) (a a-0) (b b-0) (k k)) (precedes ((0 0) (2 0)) ((2 1) (0 1)) ((2 1) (1 0))) (non-orig (privk "encr" b) (privk "sign" a)) (uniq-orig s k) (operation encryption-test (added-strand resp 2) (enc s k) (0 1)) (traces ((send (enc (enc k (privk "sign" a)) (pubk "encr" b))) (recv (enc s k))) ((recv s) (send s)) ((recv (enc (enc k (privk "sign" a-0)) (pubk "encr" b-0))) (send (enc s k)))) (label 7) (parent 6) (unrealized (1 0) (2 0)) (comment "1 in cohort - 1 not yet seen")) (defskeleton bb1 (vars (s text) (a b name) (k skey)) (defstrand init 2 (s s) (a a) (b b) (k k)) (deflistener s) (deflistener k) (precedes ((0 0) (2 0)) ((2 1) (0 1))) (non-orig (privk "encr" b) (privk "sign" a)) (uniq-orig s k) (operation encryption-test (added-listener k) (enc s k) (0 1)) (traces ((send (enc (enc k (privk "sign" a)) (pubk "encr" b))) (recv (enc s k))) ((recv s) (send s)) ((recv k) (send k))) (label 8) (parent 6) (unrealized (2 0)) (comment "empty cohort")) (defskeleton bb1 (vars (s text) (a b name) (k skey)) (defstrand init 2 (s s) (a a) (b b) (k k)) (deflistener s) (defstrand resp 2 (s s) (a a) (b b) (k k)) (precedes ((0 0) (2 0)) ((2 1) (0 1)) ((2 1) (1 0))) (non-orig (privk "encr" b) (privk "sign" a)) (uniq-orig s k) (operation nonce-test (contracted (a-0 a) (b-0 b)) k (2 0) (enc (enc k (privk "sign" a)) (pubk "encr" b))) (traces ((send (enc (enc k (privk "sign" a)) (pubk "encr" b))) (recv (enc s k))) ((recv s) (send s)) ((recv (enc (enc k (privk "sign" a)) (pubk "encr" b))) (send (enc s k)))) (label 9) (parent 7) (unrealized (1 0)) (comment "1 in cohort - 1 not yet seen")) (defskeleton bb1 (vars (s text) (a b name) (k skey)) (defstrand init 2 (s s) (a a) (b b) (k k)) (deflistener s) (defstrand resp 2 (s s) (a a) (b b) (k k)) (deflistener k) (precedes ((0 0) (2 0)) ((0 0) (3 0)) ((2 1) (0 1)) ((2 1) (1 0)) ((3 1) (1 0))) (non-orig (privk "encr" b) (privk "sign" a)) (uniq-orig s k) (operation nonce-test (added-listener k) s (1 0) (enc s k)) (traces ((send (enc (enc k (privk "sign" a)) (pubk "encr" b))) (recv (enc s k))) ((recv s) (send s)) ((recv (enc (enc k (privk "sign" a)) (pubk "encr" b))) (send (enc s k))) ((recv k) (send k))) (label 10) (parent 9) (unrealized (3 0)) (comment "empty cohort")) (comment "Nothing left to do") (defprotocol bb1 basic (defrole init (vars (a b name) (s text) (k skey)) (trace (send (enc (enc k (privk "sign" a)) (pubk "encr" b))) (recv (enc s k)))) (defrole resp (vars (a b name) (s text) (k skey)) (trace (recv (enc (enc k (privk "sign" a)) (pubk "encr" b))) (send (enc s k))))) (defskeleton bb1 (vars (s text) (a b name) (k skey)) (defstrand resp 2 (s s) (a a) (b b) (k k)) (non-orig (privk "encr" b) (privk "sign" a)) (uniq-orig k) (traces ((recv (enc (enc k (privk "sign" a)) (pubk "encr" b))) (send (enc s k)))) (label 11) (unrealized (0 0)) (comment "1 in cohort - 1 not yet seen")) (defskeleton bb1 (vars (s text) (a b b-0 name) (k skey)) (defstrand resp 2 (s s) (a a) (b b) (k k)) (defstrand init 1 (a a) (b b-0) (k k)) (precedes ((1 0) (0 0))) (non-orig (privk "encr" b) (privk "sign" a)) (uniq-orig k) (operation encryption-test (added-strand init 1) (enc k (privk "sign" a)) (0 0)) (traces ((recv (enc (enc k (privk "sign" a)) (pubk "encr" b))) (send (enc s k))) ((send (enc (enc k (privk "sign" a)) (pubk "encr" b-0))))) (label 12) (parent 11) (unrealized) (shape)) (comment "Nothing left to do") (defprotocol bb1 basic (defrole init (vars (a b name) (s text) (k skey)) (trace (send (enc (enc k (privk "sign" a)) (pubk "encr" b))) (recv (enc s k)))) (defrole resp (vars (a b name) (s text) (k skey)) (trace (recv (enc (enc k (privk "sign" a)) (pubk "encr" b))) (send (enc s k))))) (defskeleton bb1 (vars (s text) (a b name) (k skey)) (defstrand resp 2 (s s) (a a) (b b) (k k)) (deflistener s) (non-orig (privk "encr" b) (privk "sign" a)) (uniq-orig s k) (traces ((recv (enc (enc k (privk "sign" a)) (pubk "encr" b))) (send (enc s k))) ((recv s) (send s))) (label 13) (unrealized (0 0) (1 0))) (defskeleton bb1 (vars (s text) (a b name) (k skey)) (defstrand resp 2 (s s) (a a) (b b) (k k)) (deflistener s) (precedes ((0 1) (1 0))) (non-orig (privk "encr" b) (privk "sign" a)) (uniq-orig s k) (traces ((recv (enc (enc k (privk "sign" a)) (pubk "encr" b))) (send (enc s k))) ((recv s) (send s))) (label 14) (parent 13) (unrealized (0 0)) (comment "1 in cohort - 1 not yet seen")) (defskeleton bb1 (vars (s text) (a b b-0 name) (k skey)) (defstrand resp 2 (s s) (a a) (b b) (k k)) (deflistener s) (defstrand init 1 (a a) (b b-0) (k k)) (precedes ((0 1) (1 0)) ((2 0) (0 0))) (non-orig (privk "encr" b) (privk "sign" a)) (uniq-orig s k) (operation encryption-test (added-strand init 1) (enc k (privk "sign" a)) (0 0)) (traces ((recv (enc (enc k (privk "sign" a)) (pubk "encr" b))) (send (enc s k))) ((recv s) (send s)) ((send (enc (enc k (privk "sign" a)) (pubk "encr" b-0))))) (label 15) (parent 14) (unrealized) (shape)) (comment "Nothing left to do") (defprotocol bb2 basic (defrole init (vars (a b name) (s text) (k skey)) (trace (send (enc (enc k b (privk "sign" a)) (pubk "encr" b))) (recv (enc s k)))) (defrole resp (vars (a b name) (s text) (k skey)) (trace (recv (enc (enc k b (privk "sign" a)) (pubk "encr" b))) (send (enc s k))))) (defskeleton bb2 (vars (s text) (a b name) (k skey)) (defstrand init 2 (s s) (a a) (b b) (k k)) (non-orig (privk "encr" b) (privk "sign" a)) (uniq-orig k) (traces ((send (enc (enc k b (privk "sign" a)) (pubk "encr" b))) (recv (enc s k)))) (label 16) (unrealized (0 1)) (comment "2 in cohort - 2 not yet seen")) (defskeleton bb2 (vars (s text) (a b a-0 b-0 name) (k skey)) (defstrand init 2 (s s) (a a) (b b) (k k)) (defstrand resp 2 (s s) (a a-0) (b b-0) (k k)) (precedes ((0 0) (1 0)) ((1 1) (0 1))) (non-orig (privk "encr" b) (privk "sign" a)) (uniq-orig k) (operation encryption-test (added-strand resp 2) (enc s k) (0 1)) (traces ((send (enc (enc k b (privk "sign" a)) (pubk "encr" b))) (recv (enc s k))) ((recv (enc (enc k b-0 (privk "sign" a-0)) (pubk "encr" b-0))) (send (enc s k)))) (label 17) (parent 16) (unrealized (1 0)) (comment "1 in cohort - 1 not yet seen")) (defskeleton bb2 (vars (s text) (a b name) (k skey)) (defstrand init 2 (s s) (a a) (b b) (k k)) (deflistener k) (precedes ((0 0) (1 0)) ((1 1) (0 1))) (non-orig (privk "encr" b) (privk "sign" a)) (uniq-orig k) (operation encryption-test (added-listener k) (enc s k) (0 1)) (traces ((send (enc (enc k b (privk "sign" a)) (pubk "encr" b))) (recv (enc s k))) ((recv k) (send k))) (label 18) (parent 16) (unrealized (1 0)) (comment "empty cohort")) (defskeleton bb2 (vars (s text) (a b name) (k skey)) (defstrand init 2 (s s) (a a) (b b) (k k)) (defstrand resp 2 (s s) (a a) (b b) (k k)) (precedes ((0 0) (1 0)) ((1 1) (0 1))) (non-orig (privk "encr" b) (privk "sign" a)) (uniq-orig k) (operation nonce-test (contracted (a-0 a) (b-0 b)) k (1 0) (enc (enc k b (privk "sign" a)) (pubk "encr" b))) (traces ((send (enc (enc k b (privk "sign" a)) (pubk "encr" b))) (recv (enc s k))) ((recv (enc (enc k b (privk "sign" a)) (pubk "encr" b))) (send (enc s k)))) (label 19) (parent 17) (unrealized) (shape)) (comment "Nothing left to do") (defprotocol bb2 basic (defrole init (vars (a b name) (s text) (k skey)) (trace (send (enc (enc k b (privk "sign" a)) (pubk "encr" b))) (recv (enc s k)))) (defrole resp (vars (a b name) (s text) (k skey)) (trace (recv (enc (enc k b (privk "sign" a)) (pubk "encr" b))) (send (enc s k))))) (defskeleton bb2 (vars (s text) (a b name) (k skey)) (defstrand init 2 (s s) (a a) (b b) (k k)) (deflistener s) (non-orig (privk "encr" b) (privk "sign" a)) (uniq-orig s k) (traces ((send (enc (enc k b (privk "sign" a)) (pubk "encr" b))) (recv (enc s k))) ((recv s) (send s))) (label 20) (unrealized (0 1)) (comment "2 in cohort - 2 not yet seen")) (defskeleton bb2 (vars (s text) (a b a-0 b-0 name) (k skey)) (defstrand init 2 (s s) (a a) (b b) (k k)) (deflistener s) (defstrand resp 2 (s s) (a a-0) (b b-0) (k k)) (precedes ((0 0) (2 0)) ((2 1) (0 1)) ((2 1) (1 0))) (non-orig (privk "encr" b) (privk "sign" a)) (uniq-orig s k) (operation encryption-test (added-strand resp 2) (enc s k) (0 1)) (traces ((send (enc (enc k b (privk "sign" a)) (pubk "encr" b))) (recv (enc s k))) ((recv s) (send s)) ((recv (enc (enc k b-0 (privk "sign" a-0)) (pubk "encr" b-0))) (send (enc s k)))) (label 21) (parent 20) (unrealized (1 0) (2 0)) (comment "1 in cohort - 1 not yet seen")) (defskeleton bb2 (vars (s text) (a b name) (k skey)) (defstrand init 2 (s s) (a a) (b b) (k k)) (deflistener s) (deflistener k) (precedes ((0 0) (2 0)) ((2 1) (0 1))) (non-orig (privk "encr" b) (privk "sign" a)) (uniq-orig s k) (operation encryption-test (added-listener k) (enc s k) (0 1)) (traces ((send (enc (enc k b (privk "sign" a)) (pubk "encr" b))) (recv (enc s k))) ((recv s) (send s)) ((recv k) (send k))) (label 22) (parent 20) (unrealized (2 0)) (comment "empty cohort")) (defskeleton bb2 (vars (s text) (a b name) (k skey)) (defstrand init 2 (s s) (a a) (b b) (k k)) (deflistener s) (defstrand resp 2 (s s) (a a) (b b) (k k)) (precedes ((0 0) (2 0)) ((2 1) (0 1)) ((2 1) (1 0))) (non-orig (privk "encr" b) (privk "sign" a)) (uniq-orig s k) (operation nonce-test (contracted (a-0 a) (b-0 b)) k (2 0) (enc (enc k b (privk "sign" a)) (pubk "encr" b))) (traces ((send (enc (enc k b (privk "sign" a)) (pubk "encr" b))) (recv (enc s k))) ((recv s) (send s)) ((recv (enc (enc k b (privk "sign" a)) (pubk "encr" b))) (send (enc s k)))) (label 23) (parent 21) (unrealized (1 0)) (comment "1 in cohort - 1 not yet seen")) (defskeleton bb2 (vars (s text) (a b name) (k skey)) (defstrand init 2 (s s) (a a) (b b) (k k)) (deflistener s) (defstrand resp 2 (s s) (a a) (b b) (k k)) (deflistener k) (precedes ((0 0) (2 0)) ((0 0) (3 0)) ((2 1) (0 1)) ((2 1) (1 0)) ((3 1) (1 0))) (non-orig (privk "encr" b) (privk "sign" a)) (uniq-orig s k) (operation nonce-test (added-listener k) s (1 0) (enc s k)) (traces ((send (enc (enc k b (privk "sign" a)) (pubk "encr" b))) (recv (enc s k))) ((recv s) (send s)) ((recv (enc (enc k b (privk "sign" a)) (pubk "encr" b))) (send (enc s k))) ((recv k) (send k))) (label 24) (parent 23) (unrealized (3 0)) (comment "empty cohort")) (comment "Nothing left to do") (defprotocol bb2 basic (defrole init (vars (a b name) (s text) (k skey)) (trace (send (enc (enc k b (privk "sign" a)) (pubk "encr" b))) (recv (enc s k)))) (defrole resp (vars (a b name) (s text) (k skey)) (trace (recv (enc (enc k b (privk "sign" a)) (pubk "encr" b))) (send (enc s k))))) (defskeleton bb2 (vars (s text) (a b name) (k skey)) (defstrand resp 2 (s s) (a a) (b b) (k k)) (non-orig (privk "encr" b) (privk "sign" a)) (uniq-orig k) (traces ((recv (enc (enc k b (privk "sign" a)) (pubk "encr" b))) (send (enc s k)))) (label 25) (unrealized (0 0)) (comment "1 in cohort - 1 not yet seen")) (defskeleton bb2 (vars (s text) (a b name) (k skey)) (defstrand resp 2 (s s) (a a) (b b) (k k)) (defstrand init 1 (a a) (b b) (k k)) (precedes ((1 0) (0 0))) (non-orig (privk "encr" b) (privk "sign" a)) (uniq-orig k) (operation encryption-test (added-strand init 1) (enc k b (privk "sign" a)) (0 0)) (traces ((recv (enc (enc k b (privk "sign" a)) (pubk "encr" b))) (send (enc s k))) ((send (enc (enc k b (privk "sign" a)) (pubk "encr" b))))) (label 26) (parent 25) (unrealized) (shape)) (comment "Nothing left to do") (defprotocol bb2 basic (defrole init (vars (a b name) (s text) (k skey)) (trace (send (enc (enc k b (privk "sign" a)) (pubk "encr" b))) (recv (enc s k)))) (defrole resp (vars (a b name) (s text) (k skey)) (trace (recv (enc (enc k b (privk "sign" a)) (pubk "encr" b))) (send (enc s k))))) (defskeleton bb2 (vars (s text) (a b name) (k skey)) (defstrand resp 2 (s s) (a a) (b b) (k k)) (deflistener s) (non-orig (privk "encr" b) (privk "sign" a)) (uniq-orig s k) (traces ((recv (enc (enc k b (privk "sign" a)) (pubk "encr" b))) (send (enc s k))) ((recv s) (send s))) (label 27) (unrealized (0 0) (1 0))) (defskeleton bb2 (vars (s text) (a b name) (k skey)) (defstrand resp 2 (s s) (a a) (b b) (k k)) (deflistener s) (precedes ((0 1) (1 0))) (non-orig (privk "encr" b) (privk "sign" a)) (uniq-orig s k) (traces ((recv (enc (enc k b (privk "sign" a)) (pubk "encr" b))) (send (enc s k))) ((recv s) (send s))) (label 28) (parent 27) (unrealized (0 0)) (comment "1 in cohort - 1 not yet seen")) (defskeleton bb2 (vars (s text) (a b name) (k skey)) (defstrand resp 2 (s s) (a a) (b b) (k k)) (deflistener s) (defstrand init 1 (a a) (b b) (k k)) (precedes ((0 1) (1 0)) ((2 0) (0 0))) (non-orig (privk "encr" b) (privk "sign" a)) (uniq-orig s k) (operation encryption-test (added-strand init 1) (enc k b (privk "sign" a)) (0 0)) (traces ((recv (enc (enc k b (privk "sign" a)) (pubk "encr" b))) (send (enc s k))) ((recv s) (send s)) ((send (enc (enc k b (privk "sign" a)) (pubk "encr" b))))) (label 29) (parent 28) (unrealized (1 0)) (comment "1 in cohort - 1 not yet seen")) (defskeleton bb2 (vars (s text) (a b name) (k skey)) (defstrand resp 2 (s s) (a a) (b b) (k k)) (deflistener s) (defstrand init 1 (a a) (b b) (k k)) (deflistener k) (precedes ((0 1) (1 0)) ((2 0) (0 0)) ((2 0) (3 0)) ((3 1) (1 0))) (non-orig (privk "encr" b) (privk "sign" a)) (uniq-orig s k) (operation nonce-test (added-listener k) s (1 0) (enc s k)) (traces ((recv (enc (enc k b (privk "sign" a)) (pubk "encr" b))) (send (enc s k))) ((recv s) (send s)) ((send (enc (enc k b (privk "sign" a)) (pubk "encr" b)))) ((recv k) (send k))) (label 30) (parent 29) (unrealized (3 0)) (comment "empty cohort")) (comment "Nothing left to do")