commit | 378fb4b70ac26945f770c2a148d8aaf6f4ea1575 | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Fri Nov 22 18:39:18 2013 +0100 |
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Fri Nov 22 19:40:32 2013 +0100 |
tree | 8783e7dbdae13fd70628d6faf80d68c53d7aef1d | |
parent | 0160eacc822dd619ee7ac477590495102efbede8 [diff] [blame] |
Split mpi_is_prime() and make its first arg const
diff --git a/include/polarssl/bignum.h b/include/polarssl/bignum.h index b63a242..4e6cc8a 100644 --- a/include/polarssl/bignum.h +++ b/include/polarssl/bignum.h
@@ -653,7 +653,7 @@ * POLARSSL_ERR_MPI_MALLOC_FAILED if memory allocation failed, * POLARSSL_ERR_MPI_NOT_ACCEPTABLE if X is not prime */ -int mpi_is_prime( mpi *X, +int mpi_is_prime( const mpi *X, int (*f_rng)(void *, unsigned char *, size_t), void *p_rng );