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