Print this page
OS-5558 libmd should leverage SHA extensions

*** 19,28 **** --- 19,29 ---- # CDDL HEADER END # # # Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved. # Copyright 2013 Saso Kiselkov. All rights reserved. + # Copyright (c) 2018, Joyent, Inc. # # # MAPFILE HEADER START #
*** 99,106 **** --- 100,122 ---- SHA384Init; SHA384Update { FLAGS = NODYNSORT }; SHA512Final { FLAGS = NODYNSORT }; SHA512Init; SHA512Update { FLAGS = NODYNSORT }; + }; + + SYMBOL_VERSION ILLUMOSprivate { + global: + $if _ELF64 && _x86 + # + # We use hardware capabilities to define multiple versions of + # the processing certain values. Unfortunately, at this time, + # that requires these to be global symbols, even though we don't + # want them to be. As such, they remain in a private version and + # hopefully some day will be removed. + # + sha1_block_data_order; + SHA256TransformBlocks; + $endif local: *; };