[PATCH] crypt: Use internal names for the SHA-2 block functions

Florian Weimer fweimer@redhat.com
Fri Oct 28 20:05:00 GMT 2016


On 10/28/2016 03:31 PM, Adhemerval Zanella wrote:

>> -extern void sha256_process_block (const void *buffer, size_t len,
>> -				  struct sha256_ctx *ctx);
>> -sparc_libc_ifunc(sha256_process_block, cpu_supports_sha256(hwcap) ? __sha256_process_block_crop : sha256_process_block_generic);
>> +extern void __sha256_process_block (const void *buffer, size_t len,
>> +				    struct sha256_ctx *ctx);
>> +sparc_libc_ifunc (__sha256_process_block,
>> +		  cpu_supports_sha256(hwcap) ? __sha256_process_block_crop
>> +		    : sha256_process_block_generic);
>
> It should __sha256_process_block_generic here.

Right, thanks.  I have tested as far as possible on Debian's sparc64 
porterbox.  (I'm not sure if there are tests for the extended salts.)

I'm attaching what I've committed.

Florian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: crypt-names.patch
Type: text/x-patch
Size: 8653 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20161028/ff3110dc/attachment.bin>


More information about the Libc-alpha mailing list