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