Project

General

Profile

Actions

Bug #1589

closed

KeyChain::sign is slow with tpm=osx-keychain

Added by Junxiao Shi almost 10 years ago. Updated about 5 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Security
Target version:
-
Start date:
05/10/2014
Due date:
% Done:

0%

Estimated time:

Description

Environment: OSX 10.9 on Mac Mini

Steps to reproduce:

  1. in ~/.ndn/client.conf, set tpm=osx-keychain
  2. install a self-signed default certificate
  3. prepare one Data packet with 4096 octet payload
  4. call keyChain.sign(data) in a loop of 1000 times, and observe time spent in the loop

Expected: signing 1000 packets takes less than 5 seconds

Actual: signing 1000 packets takes more than 15 seconds


Files

sign-bench.cpp (1.36 KB) sign-bench.cpp KeyChain::sign benchmark tool Junxiao Shi, 05/10/2014 11:29 PM

Related issues 2 (2 open0 closed)

Related to ndn-cxx - Feature #2488: Asynchronous API for data signingNew

Actions
Blocks NFD - Bug #2174: Multiple register prefix gives NFD error "request timed out (code: 10060)"New11/13/2014

Actions
Actions

Also available in: Atom PDF