"wuchangsheng (C)" <wuchangshe...@huawei.com> writes:

> sorry for bothering, when i start to learn nettle's sources, i found
> that there is only nettle_lookup_hash function, even there listed
> other four kinds of algorithms (_nettle_ciphers, _nettle_aeads,
> _nettle_macs, _nettle_armors).
> Although i'm not sure why there are no other implements, 

I think they're missing just because there hasn't been any usecase.
(It seems nettle_lookup_hash was added for the benefit of
tools/nettle-hash.c). It seems documentation for nettle_lookup_hash, in
the manual, is also missing.

Could make sense to add more lookup functions, what usage do you
foresee?

> i implement all other four functions like nettle_lookup_hash based on
> master branch.I have tested it in my VM.If it can help, please check
> my patch attached below.

It seems the patch never made it to the list. Attachements should have
content-type text/plain, text/x-patch, or similar.

> By the way, i found an really old patch in my git repository, i found
> it delete two curve tests (_nettle_secp_192r1 &
> _nettle_secp_224r1).And I found all testsuites can pass even i dont
> patch it.In my repository, i can only go back to version 2.7.1 of
> nettle.I guess, maybe it is a temporary patch during development of
> nettle before version 2.7.1? This patch is also attached below.If any
> idea, i will be very grateful.

I can only guess, perhaps they were deleted on that branch of yours
because they're not considered secure by today's standards?

Regards,
/Niels

-- 
Niels Möller. PGP key CB4962D070D77D7FCB8BA36271D8F1FF368C6677.
Internet email is subject to wholesale government surveillance.
_______________________________________________
nettle-bugs mailing list -- nettle-bugs@lists.lysator.liu.se
To unsubscribe send an email to nettle-bugs-le...@lists.lysator.liu.se

Reply via email to