diff options
| author | djm <> | 2010-10-01 22:59:01 +0000 |
|---|---|---|
| committer | djm <> | 2010-10-01 22:59:01 +0000 |
| commit | 8922d4bc4a8b8893d72a48deb2cdf58215f98505 (patch) | |
| tree | 939b752540947d33507b3acc48d76a8bfb7c3dc3 /src/lib/libcrypto/ec/ec_lcl.h | |
| parent | 76262f7bf9262f965142b1b2b2105cb279c5c696 (diff) | |
| download | openbsd-8922d4bc4a8b8893d72a48deb2cdf58215f98505.tar.gz openbsd-8922d4bc4a8b8893d72a48deb2cdf58215f98505.tar.bz2 openbsd-8922d4bc4a8b8893d72a48deb2cdf58215f98505.zip | |
resolve conflicts, fix local changes
Diffstat (limited to 'src/lib/libcrypto/ec/ec_lcl.h')
| -rw-r--r-- | src/lib/libcrypto/ec/ec_lcl.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/lib/libcrypto/ec/ec_lcl.h b/src/lib/libcrypto/ec/ec_lcl.h index fdd7aa2755..3e2c34b0bc 100644 --- a/src/lib/libcrypto/ec/ec_lcl.h +++ b/src/lib/libcrypto/ec/ec_lcl.h | |||
| @@ -205,11 +205,14 @@ struct ec_group_st { | |||
| 205 | * irreducible polynomial defining the field. | 205 | * irreducible polynomial defining the field. |
| 206 | */ | 206 | */ |
| 207 | 207 | ||
| 208 | unsigned int poly[5]; /* Field specification for curves over GF(2^m). | 208 | int poly[6]; /* Field specification for curves over GF(2^m). |
| 209 | * The irreducible f(t) is then of the form: | 209 | * The irreducible f(t) is then of the form: |
| 210 | * t^poly[0] + t^poly[1] + ... + t^poly[k] | 210 | * t^poly[0] + t^poly[1] + ... + t^poly[k] |
| 211 | * where m = poly[0] > poly[1] > ... > poly[k] = 0. | 211 | * where m = poly[0] > poly[1] > ... > poly[k] = 0. |
| 212 | */ | 212 | * The array is terminated with poly[k+1]=-1. |
| 213 | * All elliptic curve irreducibles have at most 5 | ||
| 214 | * non-zero terms. | ||
| 215 | */ | ||
| 213 | 216 | ||
| 214 | BIGNUM a, b; /* Curve coefficients. | 217 | BIGNUM a, b; /* Curve coefficients. |
| 215 | * (Here the assumption is that BIGNUMs can be used | 218 | * (Here the assumption is that BIGNUMs can be used |
