mirror of
https://github.com/J08nY/std-curves.git
synced 2026-01-10 22:07:53 -05:00
Inconsistent aliases for K-163 #4
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @CRTified on 1/1/2024
Hi, I've noticed some inconsistencies with the aliases assigned.
A simple sanity check revealed that something is wrong:
This counts the number of occurrences of alias-lists with 1, 2 and 3 entries (which means 2 names, 3 names or 4 names for a curve).
Take for example K-163. It is also known as only sect163k1. The sect163k1 however is also known as ansit163k1 and wap-wsg-idm-ecid-wtls3](https://neuromancer.sk/std/wtls/wap-wsg-idm-ecid-wtls3).
However, ansit163k1 has no aliases defined at all!
This should be fixable with the following patch, I'll open a PR, just sitting in a train right now so it might take a moment.
At least with this patch, the sanity check is true:
26 is a multiple of 2, 36 a multiple of 3 and 16 a multiple of 4.