[gnutls-devel] libtasn1 | Use amended version of gnulib's hash_pjw_bare() (!27)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Mon Jul 22 13:02:56 CEST 2019




Nikos Mavrogiannopoulos started a new discussion on lib/parser_aux.c: https://gitlab.com/gnutls/libtasn1/merge_requests/27#note_194311627

>  
>  char _asn1_identifierMissing[ASN1_MAX_NAME_SIZE + 1];	/* identifier name not found */
>  
> +/* Return a hash of the N bytes of X using the method described by
> +   Bruno Haible in https://www.haible.de/bruno/hashfunc.html.
> +   Note that while many hash functions reduce their result via modulo
> +   to a 0..table_size-1 range, this function does not do that.
> +
> +   This implementation has been changed from size_t -> unsigned int. */
> +
> +#ifdef __clang__
> +__attribute__((no_sanitize("integer")))
> +#endif
> +_GL_ATTRIBUTE_PURE

is that something that gnulib provides unconditionally?

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/libtasn1/merge_requests/27#note_194311627
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20190722/132f9cae/attachment.html>


More information about the Gnutls-devel mailing list