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