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

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

mercurial