Page 1 of 1

Magma use for NTRU

Posted: Sun Apr 05, 2015 9:53 am
by Jay123
I get the error "Bad argument types Argument types given: RngUPolElt[RngInt]" when I run code for NTRU encryption for p=2+X and the error is generated for this part of the code:

Code: Select all

function InverseModPrimePower( R, a, prime_power, N )
ok, p, r := IsPrimePower(prime_power);

where in this case: R: Univariate Polynomial Ring in X over Integer Ring, a: X^3 + X^2 + X + 1, prime_power: X + 2, N: 11
Would someone please advise on how to evaluate if p is a prime power without the error?

Re: Magma use for NTRU

Posted: Tue Apr 14, 2015 12:24 am
by mgates3
I think you are looking for the Magma computational algebra system.
http://magma.maths.usyd.edu.au/magma/

This forum is for the MAGMA linear algebra software.
http://icl.cs.utk.edu/magma/

-mark

Re: Magma use for NTRU

Posted: Wed Apr 15, 2015 8:59 am
by Jay123
Thank you mgates3. I am actually running the code on the Magma computational algebra system.