Re: dlsym(RTLD_DEFAULT, "getentropy") return non-NULL on Mac

2015-11-07 Thread Wang Weijun
> On Nov 8, 2015, at 4:29 AM, Dmitry Samersoff > wrote: > > Wang Weijun, > > 1. RTLD_DEFAUL call is expensive and dangerous because it cause symbol > search across all loaded images. So it can pick up something absolutely > irrelevant to your expectations at any time. > > If you decide to pla

Re: dlsym(RTLD_DEFAULT, "getentropy") return non-NULL on Mac

2015-11-07 Thread Dmitry Samersoff
Wang Weijun, 1. RTLD_DEFAUL call is expensive and dangerous because it cause symbol search across all loaded images. So it can pick up something absolutely irrelevant to your expectations at any time. If you decide to play to this game, you have to use dladdr to check the origin of a symbol and t

Re: review request for CCC 8004078 [docs] Create Standard Names for SHA-3 algorithms.

2015-11-07 Thread Wang Weijun
Should the CCC include the description column for the new algorithm names? FIPS 202 also mentioned HMAC on the new algorithms. Shall we also add them? What is an extendable-output function (XOFs, SHAKE128/SHAKE256)? Are we going to support it? Does it need a new API? (Seems it looks like a hash