Searched refs:pk11_ctx (Results 1 – 2 of 2) sorted by relevance
45 ctx->pk11_ctx = PK11_CreateDigestContext(SEC_OID_SHA1); in sctp_sha1_init()46 PK11_DigestBegin(ctx->pk11_ctx); in sctp_sha1_init()52 PK11_DigestOp(ctx->pk11_ctx, ptr, siz); in sctp_sha1_update()60 PK11_DigestFinal(ctx->pk11_ctx, digest, &output_len, SHA_DIGEST_LENGTH); in sctp_sha1_final()61 PK11_DestroyContext(ctx->pk11_ctx, PR_TRUE); in sctp_sha1_final()
53 struct PK11Context *pk11_ctx; member