Lines Matching refs:session
285 (ctx->session, keyTemplate,
288 PK11_FATALCHECK(pkcs_C_SignInit, (ctx->session, &mech, ctx->object));
298 (void) pkcs_C_SignFinal(ctx->session, garbage, &len);
301 (void) pkcs_C_DestroyObject(ctx->session, ctx->object);
315 (ctx->session, pPart, (CK_ULONG) len));
326 PK11_FATALCHECK(pkcs_C_SignFinal, (ctx->session, newdigest, &psl));
328 (void) pkcs_C_DestroyObject(ctx->session, ctx->object);
352 PK11_FATALCHECK(pkcs_C_DigestInit, (ctx->session, &mech));
355 (ctx->session, kPart, (CK_ULONG) len));
358 (ctx->session, (CK_BYTE_PTR) ctx->key, &kl));
361 PK11_FATALCHECK(pkcs_C_DigestInit, (ctx->session, &mech));
366 (ctx->session, ipad,
387 (ctx->session, pPart, (CK_ULONG) len));
401 PK11_FATALCHECK(pkcs_C_DigestFinal, (ctx->session, newdigest, &psl));
407 PK11_FATALCHECK(pkcs_C_DigestInit, (ctx->session, &mech));
409 (ctx->session, opad,
412 (ctx->session, (CK_BYTE_PTR) newdigest, psl));
413 PK11_FATALCHECK(pkcs_C_DigestFinal, (ctx->session, newdigest, &psl));
455 (ctx->session, keyTemplate,
458 PK11_FATALCHECK(pkcs_C_SignInit, (ctx->session, &mech, ctx->object));
468 (void) pkcs_C_SignFinal(ctx->session, garbage, &len);
471 (void) pkcs_C_DestroyObject(ctx->session, ctx->object);
485 (ctx->session, pPart, (CK_ULONG) len));
496 PK11_FATALCHECK(pkcs_C_SignFinal, (ctx->session, newdigest, &psl));
498 (void) pkcs_C_DestroyObject(ctx->session, ctx->object);
522 PK11_FATALCHECK(pkcs_C_DigestInit, (ctx->session, &mech));
525 (ctx->session, kPart, (CK_ULONG) len));
528 (ctx->session, (CK_BYTE_PTR) ctx->key, &kl));
531 PK11_FATALCHECK(pkcs_C_DigestInit, (ctx->session, &mech));
536 (ctx->session, ipad,
557 (ctx->session, pPart, (CK_ULONG) len));
571 PK11_FATALCHECK(pkcs_C_DigestFinal, (ctx->session, newdigest, &psl));
577 PK11_FATALCHECK(pkcs_C_DigestInit, (ctx->session, &mech));
579 (ctx->session, opad,
582 (ctx->session, (CK_BYTE_PTR) newdigest, psl));
583 PK11_FATALCHECK(pkcs_C_DigestFinal, (ctx->session, newdigest, &psl));
625 (ctx->session, keyTemplate,
628 PK11_FATALCHECK(pkcs_C_SignInit, (ctx->session, &mech, ctx->object));
638 (void) pkcs_C_SignFinal(ctx->session, garbage, &len);
641 (void) pkcs_C_DestroyObject(ctx->session, ctx->object);
655 (ctx->session, pPart, (CK_ULONG) len));
666 PK11_FATALCHECK(pkcs_C_SignFinal, (ctx->session, newdigest, &psl));
668 (void) pkcs_C_DestroyObject(ctx->session, ctx->object);
692 PK11_FATALCHECK(pkcs_C_DigestInit, (ctx->session, &mech));
695 (ctx->session, kPart, (CK_ULONG) len));
698 (ctx->session, (CK_BYTE_PTR) ctx->key, &kl));
701 PK11_FATALCHECK(pkcs_C_DigestInit, (ctx->session, &mech));
706 (ctx->session, ipad,
727 (ctx->session, pPart, (CK_ULONG) len));
741 PK11_FATALCHECK(pkcs_C_DigestFinal, (ctx->session, newdigest, &psl));
747 PK11_FATALCHECK(pkcs_C_DigestInit, (ctx->session, &mech));
749 (ctx->session, opad,
752 (ctx->session, (CK_BYTE_PTR) newdigest, psl));
753 PK11_FATALCHECK(pkcs_C_DigestFinal, (ctx->session, newdigest, &psl));
795 (ctx->session, keyTemplate,
798 PK11_FATALCHECK(pkcs_C_SignInit, (ctx->session, &mech, ctx->object));
808 (void) pkcs_C_SignFinal(ctx->session, garbage, &len);
811 (void) pkcs_C_DestroyObject(ctx->session, ctx->object);
825 (ctx->session, pPart, (CK_ULONG) len));
836 PK11_FATALCHECK(pkcs_C_SignFinal, (ctx->session, newdigest, &psl));
838 (void) pkcs_C_DestroyObject(ctx->session, ctx->object);
862 PK11_FATALCHECK(pkcs_C_DigestInit, (ctx->session, &mech));
865 (ctx->session, kPart, (CK_ULONG) len));
868 (ctx->session, (CK_BYTE_PTR) ctx->key, &kl));
871 PK11_FATALCHECK(pkcs_C_DigestInit, (ctx->session, &mech));
876 (ctx->session, ipad,
897 (ctx->session, pPart, (CK_ULONG) len));
911 PK11_FATALCHECK(pkcs_C_DigestFinal, (ctx->session, newdigest, &psl));
917 PK11_FATALCHECK(pkcs_C_DigestInit, (ctx->session, &mech));
919 (ctx->session, opad,
922 (ctx->session, (CK_BYTE_PTR) newdigest, psl));
923 PK11_FATALCHECK(pkcs_C_DigestFinal, (ctx->session, newdigest, &psl));
965 (ctx->session, keyTemplate,
968 PK11_FATALCHECK(pkcs_C_SignInit, (ctx->session, &mech, ctx->object));
978 (void) pkcs_C_SignFinal(ctx->session, garbage, &len);
981 (void) pkcs_C_DestroyObject(ctx->session, ctx->object);
995 (ctx->session, pPart, (CK_ULONG) len));
1006 PK11_FATALCHECK(pkcs_C_SignFinal, (ctx->session, newdigest, &psl));
1008 (void) pkcs_C_DestroyObject(ctx->session, ctx->object);
1032 PK11_FATALCHECK(pkcs_C_DigestInit, (ctx->session, &mech));
1035 (ctx->session, kPart, (CK_ULONG) len));
1038 (ctx->session, (CK_BYTE_PTR) ctx->key, &kl));
1041 PK11_FATALCHECK(pkcs_C_DigestInit, (ctx->session, &mech));
1046 (ctx->session, ipad,
1067 (ctx->session, pPart, (CK_ULONG) len));
1081 PK11_FATALCHECK(pkcs_C_DigestFinal, (ctx->session, newdigest, &psl));
1087 PK11_FATALCHECK(pkcs_C_DigestInit, (ctx->session, &mech));
1089 (ctx->session, opad,
1092 (ctx->session, (CK_BYTE_PTR) newdigest, psl));
1093 PK11_FATALCHECK(pkcs_C_DigestFinal, (ctx->session, newdigest, &psl));