commit | de44a4aecf96796a59721942ffcf551eb14bd228 | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Tue Jul 09 16:05:52 2013 +0200 |
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Tue Jul 09 16:42:34 2013 +0200 |
tree | 526702ae8df7c9ff973d248bd81887f92fd0d39f | |
parent | 81c313ccc6a732771d6121eeb6962060dd379548 [diff] [blame] |
Rename ecp_check_prvkey with a 'i' for consistency
diff --git a/library/ecp.c b/library/ecp.c index 29cfce5..9e7a967 100644 --- a/library/ecp.c +++ b/library/ecp.c
@@ -1308,7 +1308,7 @@ /* * Check that an mpi is valid as a private key (SEC1 3.2) */ -int ecp_check_prvkey( const ecp_group *grp, const mpi *d ) +int ecp_check_privkey( const ecp_group *grp, const mpi *d ) { /* We want 1 <= d <= N-1 */ if ( mpi_cmp_int( d, 1 ) < 0 || mpi_cmp_mpi( d, &grp->N ) >= 0 )