Magma use for NTRU

Open discussion for MAGMA library (Matrix Algebra on GPU and Multicore Architectures)
Post Reply
Jay123
Posts: 2
Joined: Sun Apr 05, 2015 9:04 am

Magma use for NTRU

Post by Jay123 » Sun Apr 05, 2015 9:53 am

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?

mgates3
Posts: 918
Joined: Fri Jan 06, 2012 2:13 pm

Re: Magma use for NTRU

Post by mgates3 » Tue Apr 14, 2015 12:24 am

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

Jay123
Posts: 2
Joined: Sun Apr 05, 2015 9:04 am

Re: Magma use for NTRU

Post by Jay123 » Wed Apr 15, 2015 8:59 am

Thank you mgates3. I am actually running the code on the Magma computational algebra system.

Post Reply