tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

nssdev.h (799B)


      1 /* This Source Code Form is subject to the terms of the Mozilla Public
      2 * License, v. 2.0. If a copy of the MPL was not distributed with this
      3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
      4 
      5 #ifndef NSSDEV_H
      6 #define NSSDEV_H
      7 
      8 /*
      9 * nssdev.h
     10 *
     11 * High-level methods for interaction with cryptoki devices
     12 */
     13 
     14 #ifndef NSSDEVT_H
     15 #include "nssdevt.h"
     16 #endif /* NSSDEVT_H */
     17 #include "pkcs11t.h"
     18 
     19 PR_BEGIN_EXTERN_C
     20 
     21 /* NSSAlgorithmAndParameters
     22 *
     23 * NSSAlgorithmAndParameters_CreateDigest
     24 * NSSAlgorithm_DigestBuf
     25 */
     26 
     27 NSS_EXTERN NSSAlgorithmAndParameters *
     28 NSSAlgorithmAndParameters_CreateDigest(
     29    NSSArena *arenaOpt, CK_MECHANISM_TYPE type);
     30 
     31 NSS_EXTERN PRStatus
     32 NSSAlgorithm_DigestBuf(CK_MECHANISM_TYPE type, NSSItem *input, NSSItem *output);
     33 
     34 PR_END_EXTERN_C
     35 
     36 #endif /* DEV_H */