1 #
   2 # CDDL HEADER START
   3 #
   4 # The contents of this file are subject to the terms of the
   5 # Common Development and Distribution License (the "License").
   6 # You may not use this file except in compliance with the License.
   7 #
   8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9 # or http://www.opensolaris.org/os/licensing.
  10 # See the License for the specific language governing permissions
  11 # and limitations under the License.
  12 #
  13 # When distributing Covered Code, include this CDDL HEADER in each
  14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15 # If applicable, add the following below this CDDL HEADER, with the
  16 # fields enclosed by brackets "[]" replaced with your own identifying
  17 # information: Portions Copyright [yyyy] [name of copyright owner]
  18 #
  19 # CDDL HEADER END
  20 #
  21 #
  22 # Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
  23 # Copyright 2013 Saso Kiselkov. All rights reserved.
  24 #
  25 
  26 #
  27 # MAPFILE HEADER START
  28 #
  29 # WARNING:  STOP NOW.  DO NOT MODIFY THIS FILE.
  30 # Object versioning must comply with the rules detailed in
  31 #
  32 #       usr/src/lib/README.mapfiles
  33 #
  34 # You should not be making modifications here until you've read the most current
  35 # copy of that file. If you need help, contact a gatekeeper for guidance.
  36 #
  37 # MAPFILE HEADER END
  38 #
  39 
  40 $mapfile_version 2
  41 
  42 # Note:
  43 #
  44 #       SHA256Update, SHA384Update, and SHA512Update are all
  45 #       weak aliases for SHA2Update.
  46 #
  47 #       SHA256Final, SHA384Final, and SHA512Final are all
  48 #       weak aliases for SHA2Final
  49 #
  50 # We use NODYNSORT to keep the weak aliases out of the .SUNW_dymsymsort
  51 # ELF section. As a result, ld will put the two main symbols in.
  52 #
  53 
  54 
  55 SYMBOL_VERSION SUNW_1.1 {
  56     global:
  57         MD4Final;
  58         MD4Init;
  59         MD4Update;
  60         md5_calc;
  61         MD5Final        { FLAGS = NODIRECT };   # Addr interpose from testsuite
  62         MD5Init         { FLAGS = NODIRECT };   # Addr interpose from testsuite
  63         MD5Update       { FLAGS = NODIRECT };   # Addr interpose from testsuite
  64         SHA1Final;
  65         SHA1Init;
  66         SHA1Update;
  67         SHA256Final     { FLAGS = NODYNSORT };
  68         SHA256Init;
  69         SHA256Update    { FLAGS = NODYNSORT };
  70         SHA2Final;
  71         SHA2Init;
  72         SHA2Update;
  73         SHA384Final     { FLAGS = NODYNSORT };
  74         SHA384Init;
  75         SHA384Update    { FLAGS = NODYNSORT };
  76         SHA512Final     { FLAGS = NODYNSORT };
  77         SHA512Init;
  78         SHA512Update    { FLAGS = NODYNSORT };
  79         Skein1024_Final;
  80         Skein1024_Final_Pad;
  81         Skein1024_Init;
  82         Skein1024_InitExt;
  83         Skein1024_Output;
  84         Skein1024_Update;
  85         Skein_256_Final;
  86         Skein_256_Final_Pad;
  87         Skein_256_Init;
  88         Skein_256_InitExt;
  89         Skein_256_Output;
  90         Skein_256_Update;
  91         Skein_512_Final;
  92         Skein_512_Final_Pad;
  93         Skein_512_Init;
  94         Skein_512_InitExt;
  95         Skein_512_Output;
  96         Skein_512_Update;
  97         EdonRFinal;
  98         EdonRHash;
  99         EdonRInit;
 100         EdonRUpdate;
 101     local:
 102         *;
 103 };