6cf4d9
/* This Source Code Form is subject to the terms of the Mozilla Public
6cf4d9
 * License, v. 2.0. If a copy of the MPL was not distributed with this
6cf4d9
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6cf4d9
6cf4d9
#ifndef NSSCKBI_H
6cf4d9
#define NSSCKBI_H
6cf4d9
6cf4d9
/*
6cf4d9
 * NSS BUILTINS Version numbers.
6cf4d9
 *
6cf4d9
 * These are the version numbers for the builtins module packaged with
6cf4d9
 * this release on NSS. To determine the version numbers of the builtin
6cf4d9
 * module you are using, use the appropriate PKCS #11 calls.
6cf4d9
 *
6cf4d9
 * These version numbers detail changes to the PKCS #11 interface. They map
6cf4d9
 * to the PKCS #11 spec versions.
6cf4d9
 */
6cf4d9
#define NSS_BUILTINS_CRYPTOKI_VERSION_MAJOR 2
6cf4d9
#define NSS_BUILTINS_CRYPTOKI_VERSION_MINOR 20
6cf4d9
6cf4d9
/* These version numbers detail the changes
6cf4d9
 * to the list of trusted certificates.
6cf4d9
 *
6cf4d9
 * The NSS_BUILTINS_LIBRARY_VERSION_MINOR macro needs to be bumped
6cf4d9
 * whenever we change the list of trusted certificates.
6cf4d9
 *
6cf4d9
 * Please use the following rules when increasing the version number:
6cf4d9
 *
6cf4d9
 * - starting with version 2.14, NSS_BUILTINS_LIBRARY_VERSION_MINOR
6cf4d9
 *   must always be an EVEN number (e.g. 16, 18, 20 etc.)
6cf4d9
 *
6cf4d9
 * - whenever possible, if older branches require a modification to the
6cf4d9
 *   list, these changes should be made on the main line of development (trunk),
6cf4d9
 *   and the older branches should update to the most recent list.
6cf4d9
 *
6cf4d9
 * - ODD minor version numbers are reserved to indicate a snapshot that has
6cf4d9
 *   deviated from the main line of development, e.g. if it was necessary
6cf4d9
 *   to modify the list on a stable branch.
6cf4d9
 *   Once the version has been changed to an odd number (e.g. 2.13) on a branch,
6cf4d9
 *   it should remain unchanged on that branch, even if further changes are
6cf4d9
 *   made on that branch.
6cf4d9
 *
6cf4d9
 * NSS_BUILTINS_LIBRARY_VERSION_MINOR is a CK_BYTE.  It's not clear
6cf4d9
 * whether we may use its full range (0-255) or only 0-99 because
6cf4d9
 * of the comment in the CK_VERSION type definition.
6cf4d9
 * It's recommend to switch back to 0 after having reached version 98/99.
6cf4d9
 */
6cf4d9
#define NSS_BUILTINS_LIBRARY_VERSION_MAJOR 2
b8a5d2
#define NSS_BUILTINS_LIBRARY_VERSION_MINOR 54
b8a5d2
#define NSS_BUILTINS_LIBRARY_VERSION "2.54"
6cf4d9
6cf4d9
/* These version numbers detail the semantic changes to the ckfw engine. */
6cf4d9
#define NSS_BUILTINS_HARDWARE_VERSION_MAJOR 1
6cf4d9
#define NSS_BUILTINS_HARDWARE_VERSION_MINOR 0
6cf4d9
6cf4d9
/* These version numbers detail the semantic changes to ckbi itself
6cf4d9
 * (new PKCS #11 objects), etc. */
6cf4d9
#define NSS_BUILTINS_FIRMWARE_VERSION_MAJOR 1
6cf4d9
#define NSS_BUILTINS_FIRMWARE_VERSION_MINOR 0
6cf4d9
6cf4d9
#endif /* NSSCKBI_H */