Lines Matching defs:pkey
185 CK_ATTRIBUTE_PTR ptempl, CK_ULONG nattr, CK_OBJECT_HANDLE_PTR pkey);
1205 EVP_PKEY *pkey = NULL;
1222 pkey = PEM_read_PrivateKey(fd, NULL, NULL, NULL);
1224 pkey = PEM_read_PUBKEY(fd, NULL, NULL, NULL);
1227 if (pkey == NULL) {
1230 rsa = EVP_PKEY_get1_RSA(pkey);
1252 return (pkey);
1258 if (pkey != NULL) {
1259 EVP_PKEY_free(pkey);
1274 EVP_PKEY *pkey = NULL;
1381 if ((pkey = EVP_PKEY_new()) == NULL) {
1384 if (EVP_PKEY_set1_RSA(pkey, rsa) == 0) {
1417 return (pkey);
1425 if (pkey != NULL) {
1426 EVP_PKEY_free(pkey);
1439 EVP_PKEY *pkey;
1457 pkey = common_get_key_from_token(e, sp, &uri_struct,
1461 pkey = common_get_key_from_file(sp, keyid, is_private);
1464 pkey = NULL;
1469 return (pkey);
3000 CK_ATTRIBUTE_PTR ptempl, CK_ULONG nattr, CK_OBJECT_HANDLE_PTR pkey)
3012 rv = pFuncList->C_FindObjects(s, pkey, 1, &objcnt);