1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/security/nss/lib/ckfw/builtins/nssckbi.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,60 @@ 1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this 1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.7 + 1.8 +#ifndef NSSCKBI_H 1.9 +#define NSSCKBI_H 1.10 + 1.11 +/* 1.12 + * NSS BUILTINS Version numbers. 1.13 + * 1.14 + * These are the version numbers for the builtins module packaged with 1.15 + * this release on NSS. To determine the version numbers of the builtin 1.16 + * module you are using, use the appropriate PKCS #11 calls. 1.17 + * 1.18 + * These version numbers detail changes to the PKCS #11 interface. They map 1.19 + * to the PKCS #11 spec versions. 1.20 + */ 1.21 +#define NSS_BUILTINS_CRYPTOKI_VERSION_MAJOR 2 1.22 +#define NSS_BUILTINS_CRYPTOKI_VERSION_MINOR 20 1.23 + 1.24 +/* These version numbers detail the changes 1.25 + * to the list of trusted certificates. 1.26 + * 1.27 + * The NSS_BUILTINS_LIBRARY_VERSION_MINOR macro needs to be bumped 1.28 + * for each NSS minor release AND whenever we change the list of 1.29 + * trusted certificates. 10 minor versions are allocated for each 1.30 + * NSS 3.x branch as follows, allowing us to change the list of 1.31 + * trusted certificates up to 9 times on each branch. 1.32 + * - NSS 3.5 branch: 3-9 1.33 + * - NSS 3.6 branch: 10-19 1.34 + * - NSS 3.7 branch: 20-29 1.35 + * - NSS 3.8 branch: 30-39 1.36 + * - NSS 3.9 branch: 40-49 1.37 + * - NSS 3.10 branch: 50-59 1.38 + * - NSS 3.11 branch: 60-69 1.39 + * ... 1.40 + * - NSS 3.12 branch: 70-89 1.41 + * - NSS 3.13 branch: 90-99 1.42 + * - NSS 3.14 branch: 100-109 1.43 + * ... 1.44 + * - NSS 3.29 branch: 250-255 1.45 + * 1.46 + * NSS_BUILTINS_LIBRARY_VERSION_MINOR is a CK_BYTE. It's not clear 1.47 + * whether we may use its full range (0-255) or only 0-99 because 1.48 + * of the comment in the CK_VERSION type definition. 1.49 + */ 1.50 +#define NSS_BUILTINS_LIBRARY_VERSION_MAJOR 1 1.51 +#define NSS_BUILTINS_LIBRARY_VERSION_MINOR 98 1.52 +#define NSS_BUILTINS_LIBRARY_VERSION "1.98" 1.53 + 1.54 +/* These version numbers detail the semantic changes to the ckfw engine. */ 1.55 +#define NSS_BUILTINS_HARDWARE_VERSION_MAJOR 1 1.56 +#define NSS_BUILTINS_HARDWARE_VERSION_MINOR 0 1.57 + 1.58 +/* These version numbers detail the semantic changes to ckbi itself 1.59 + * (new PKCS #11 objects), etc. */ 1.60 +#define NSS_BUILTINS_FIRMWARE_VERSION_MAJOR 1 1.61 +#define NSS_BUILTINS_FIRMWARE_VERSION_MINOR 0 1.62 + 1.63 +#endif /* NSSCKBI_H */