1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/security/nss/lib/dev/nssdev.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,40 @@ 1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this 1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.7 + 1.8 +#ifndef NSSDEV_H 1.9 +#define NSSDEV_H 1.10 + 1.11 +/* 1.12 + * nssdev.h 1.13 + * 1.14 + * High-level methods for interaction with cryptoki devices 1.15 + */ 1.16 + 1.17 +#ifndef NSSDEVT_H 1.18 +#include "nssdevt.h" 1.19 +#endif /* NSSDEVT_H */ 1.20 + 1.21 +PR_BEGIN_EXTERN_C 1.22 + 1.23 +/* NSSAlgorithmAndParameters 1.24 + * 1.25 + * NSSAlgorithmAndParameters_CreateSHA1Digest 1.26 + * NSSAlgorithmAndParameters_CreateMD5Digest 1.27 + */ 1.28 + 1.29 +NSS_EXTERN NSSAlgorithmAndParameters * 1.30 +NSSAlgorithmAndParameters_CreateSHA1Digest 1.31 +( 1.32 + NSSArena *arenaOpt 1.33 +); 1.34 + 1.35 +NSS_EXTERN NSSAlgorithmAndParameters * 1.36 +NSSAlgorithmAndParameters_CreateMD5Digest 1.37 +( 1.38 + NSSArena *arenaOpt 1.39 +); 1.40 + 1.41 +PR_END_EXTERN_C 1.42 + 1.43 +#endif /* DEV_H */