security/nss/lib/ckfw/builtins/nssckbi.h

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     1 /* This Source Code Form is subject to the terms of the Mozilla Public
     2  * License, v. 2.0. If a copy of the MPL was not distributed with this
     3  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     5 #ifndef NSSCKBI_H
     6 #define NSSCKBI_H
     8 /*
     9  * NSS BUILTINS Version numbers.
    10  *
    11  * These are the version numbers for the builtins module packaged with
    12  * this release on NSS. To determine the version numbers of the builtin
    13  * module you are using, use the appropriate PKCS #11 calls.
    14  *
    15  * These version numbers detail changes to the PKCS #11 interface. They map
    16  * to the PKCS #11 spec versions.
    17  */
    18 #define NSS_BUILTINS_CRYPTOKI_VERSION_MAJOR 2
    19 #define NSS_BUILTINS_CRYPTOKI_VERSION_MINOR 20
    21 /* These version numbers detail the changes 
    22  * to the list of trusted certificates.
    23  *
    24  * The NSS_BUILTINS_LIBRARY_VERSION_MINOR macro needs to be bumped
    25  * for each NSS minor release AND whenever we change the list of
    26  * trusted certificates.  10 minor versions are allocated for each
    27  * NSS 3.x branch as follows, allowing us to change the list of
    28  * trusted certificates up to 9 times on each branch.
    29  *   - NSS 3.5 branch:  3-9
    30  *   - NSS 3.6 branch:  10-19
    31  *   - NSS 3.7 branch:  20-29
    32  *   - NSS 3.8 branch:  30-39
    33  *   - NSS 3.9 branch:  40-49
    34  *   - NSS 3.10 branch: 50-59
    35  *   - NSS 3.11 branch: 60-69
    36  *     ...
    37  *   - NSS 3.12 branch: 70-89
    38  *   - NSS 3.13 branch: 90-99
    39  *   - NSS 3.14 branch: 100-109
    40  *     ...
    41  *   - NSS 3.29 branch: 250-255
    42  *
    43  * NSS_BUILTINS_LIBRARY_VERSION_MINOR is a CK_BYTE.  It's not clear
    44  * whether we may use its full range (0-255) or only 0-99 because
    45  * of the comment in the CK_VERSION type definition.
    46  */
    47 #define NSS_BUILTINS_LIBRARY_VERSION_MAJOR 1
    48 #define NSS_BUILTINS_LIBRARY_VERSION_MINOR 98
    49 #define NSS_BUILTINS_LIBRARY_VERSION "1.98"
    51 /* These version numbers detail the semantic changes to the ckfw engine. */
    52 #define NSS_BUILTINS_HARDWARE_VERSION_MAJOR 1
    53 #define NSS_BUILTINS_HARDWARE_VERSION_MINOR 0
    55 /* These version numbers detail the semantic changes to ckbi itself 
    56  * (new PKCS #11 objects), etc. */
    57 #define NSS_BUILTINS_FIRMWARE_VERSION_MAJOR 1
    58 #define NSS_BUILTINS_FIRMWARE_VERSION_MINOR 0
    60 #endif /* NSSCKBI_H */

mercurial