diff options
| author | J08nY | 2018-03-20 15:10:41 +0100 |
|---|---|---|
| committer | J08nY | 2018-03-20 15:10:41 +0100 |
| commit | 6f3809790583a1256b53a419f3fee400e11e155a (patch) | |
| tree | 496b89e9833a27a25af36001293375b7e2a0619a /src/math/koblitz.c | |
| parent | 49406044628b61f12493775e5797ac3ef441e19c (diff) | |
| download | ecgen-6f3809790583a1256b53a419f3fee400e11e155a.tar.gz ecgen-6f3809790583a1256b53a419f3fee400e11e155a.tar.zst ecgen-6f3809790583a1256b53a419f3fee400e11e155a.zip | |
Diffstat (limited to 'src/math/koblitz.c')
| -rw-r--r-- | src/math/koblitz.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math/koblitz.c b/src/math/koblitz.c index b553cf6..ca91160 100644 --- a/src/math/koblitz.c +++ b/src/math/koblitz.c @@ -57,7 +57,7 @@ static int compare_koblitz(const void *a, const void *b) { } const koblitz_t *koblitz_find(unsigned long m, unsigned long a) { - koblitz_t searched = {(unsigned int) m, (unsigned int) a, NULL}; + koblitz_t searched = {(unsigned int)m, (unsigned int)a, NULL}; return (koblitz_t *)bsearch(&searched, koblitz_curves, sizeof(koblitz_curves) / sizeof(koblitz_t), sizeof(koblitz_t), &compare_koblitz); |
