Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Janis Erdmanis committed Nov 4, 2024
1 parent 4648c74 commit 0f6b4e2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ While no cryptographic system can guarantee absolute security, CryptoGroups impl

- Group element arithmetics is possible only with the same types of groups and throws `MethodError` when that is violated. For instance, `@ECGroup{P_192}() * @ECGroup{P_256}()` throws an error;
- Group elements are validated during construction, throwing `ArgumentError` for invalid inputs;
- Modular prime group elements are checked to belong in prime group via $g^q = 1$ or with an efficient `jaocbi(g, p) = 1` for quadratic residue groups;
- Modular prime group elements are checked to belong in prime group via $g^q = 1$ or with an efficient `jacobi(g, p) = 1` for quadratic residue groups;
- Elliptic curve points are checked for curve equation satisfaction and cofactor validation;
- The package implements checks to prevent issues with special cases in point addition formulas;
- Exponentiation with $k~ {\rm mod} ~q = 0$ shows warning or throws an error in a strict mode.
Expand Down
1 change: 0 additions & 1 deletion src/groups.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ using .Utils: int2octet!, octet2int, jacobi
import .Fields: value, modulus, octet, bitlength
using .Curves: ECPoint, gx, gy, field
using Primes: isprime
using CryptoUtils

"""
abstract type Group end
Expand Down

4 comments on commit 0f6b4e2

@JanisErdmanis
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request updated: JuliaRegistries/General/118688

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.6.1 -m "<description of version>" 0f6b4e223225634ec1506e6999f8922c079f62c7
git push origin v0.6.1

@JanisErdmanis
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request updated: JuliaRegistries/General/118688

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.6.1 -m "<description of version>" 0f6b4e223225634ec1506e6999f8922c079f62c7
git push origin v0.6.1

Please sign in to comment.