-
Notifications
You must be signed in to change notification settings - Fork 17
Home
lpp-crypto edited this page Jul 9, 2019
·
1 revision
If sage complains about arguments’ type not matching with Boost.Python… then you should:
- replace the
SBox
instance by alist
, which is as simple as replacings
withlist(s)
, and - add
int
to the definition of integers used to build yourlist
, i.e. replaces
with[int(x) for x in s]
. This last fix is a particular of the first one, i.e. it should always work.