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