Back to index

lightning-sunbird  0.9+nobinonly
Functions
nssdev.h File Reference
#include "nssdevt.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

PR_BEGIN_EXTERN_C NSS_EXTERN
NSSAlgorithmAndParameters * 
NSSAlgorithmAndParameters_CreateSHA1Digest (NSSArena *arenaOpt)
NSS_EXTERN
NSSAlgorithmAndParameters * 
NSSAlgorithmAndParameters_CreateMD5Digest (NSSArena *arenaOpt)

Function Documentation

NSS_EXTERN NSSAlgorithmAndParameters* NSSAlgorithmAndParameters_CreateMD5Digest ( NSSArena *  arenaOpt)

Definition at line 1133 of file devutil.c.

{
    NSSAlgorithmAndParameters *rvAP = NULL;
    rvAP = nss_ZNEW(arenaOpt, NSSAlgorithmAndParameters);
    if (rvAP) {
       rvAP->mechanism.mechanism = CKM_MD5;
       rvAP->mechanism.pParameter = NULL;
       rvAP->mechanism.ulParameterLen = 0;
    }
    return rvAP;
}

Here is the caller graph for this function:

PR_BEGIN_EXTERN_C NSS_EXTERN NSSAlgorithmAndParameters* NSSAlgorithmAndParameters_CreateSHA1Digest ( NSSArena *  arenaOpt)

Definition at line 1118 of file devutil.c.

{
    NSSAlgorithmAndParameters *rvAP = NULL;
    rvAP = nss_ZNEW(arenaOpt, NSSAlgorithmAndParameters);
    if (rvAP) {
       rvAP->mechanism.mechanism = CKM_SHA_1;
       rvAP->mechanism.pParameter = NULL;
       rvAP->mechanism.ulParameterLen = 0;
    }
    return rvAP;
}

Here is the caller graph for this function: