Searched defs:mechanism (Results 1 - 2 of 2) sorted by relevance

/solaris-userland-s11u3/components/coolkey/test/
H A Dtest.c140 CK_MECHANISM mechanism = {CKM_RSA_PKCS, NULL, 0}; local
518 chk_rv = C_SignInit(hSession, &mechanism, *currPrivKey);
524 printf("[%04lu/%02lx] Signature: ", (unsigned long) *currPrivKey, (unsigned long) mechanism.mechanism);
540 chk_rv = C_EncryptInit(hSession, &mechanism, *currPrivKey);
546 printf("[%04lu/%02lx] Encrypted(Test): ", (unsigned long) *currPrivKey, (unsigned long) mechanism.mechanism);
562 chk_rv = C_DecryptInit(hSession, &mechanism, *currPrivKey);
568 printf("[%04lu/%02lx] Decrypted(It works!): ", (unsigned long) *currPrivKey, (unsigned long) mechanism.mechanism);
[all...]
/solaris-userland-s11u3/components/openssl/common/engines/pkcs11/
H A De_pk11_pub.c607 * PK11 CKM_RSA_X_509 mechanism pads 0's at the beginning.
692 * PK11 CKM_RSA_X_509 mechanism pads 0's at the beginning.
844 * C_Decrypt pk11 APIs. Note that CKM_RSA_X_509 mechanism is used here.
1994 * since with the keys by reference mechanism, private components are
2591 CK_MECHANISM mechanism = {CKM_DH_PKCS_KEY_PAIR_GEN, NULL_PTR, 0}; local
2671 &mechanism,
2824 CK_MECHANISM mechanism = {CKM_DH_PKCS_DERIVE, NULL_PTR, 0}; local
2856 mechanism.ulParameterLen = BN_num_bytes(pub_key);
2857 mechanism.pParameter = OPENSSL_malloc(mechanism
[all...]

Completed in 29 milliseconds