Skip to content

Overview of ECCSI

More...

Detailed Description

ECCSI (Elliptic Curve-Based Certificateless Signatures for Identity-Based Encryption) is specified in RFC 6507 (https://tools.ietf.org/html/rfc6507).

In Identity-Based cryptography, there is a Key Management Service that generates keys based on an identity for a client. The private key (SSK) and public key (PVT) are delivered to the signer and the public key (PVT) only delivered to the verifier on request.

wolfCrypt offers the ability to:

  1. Create KMS keys,
  2. Generate signing key pairs,
  3. Validate signing key pairs,
  4. Sign messages and
  5. Verify messages. KMS:

  6. Initialize ECCSI Key: wc_InitEccsiKey()

  7. Make and save or load ECCSI Key:
  8. Wait for request:
  9. Free ECCSI Key: wc_FreeEccsiKey() Client, signer:

  10. Initialize ECCSI Key: wc_InitEccsiKey()

  11. (When signing pair not cached) Request KPAK and signing pair from KMS
  12. (If not done above) Load KMS Public Key: wc_ImportEccsiPublicKey()
  13. (If not cached) Calculate hash of the ID and PVT: wc_HashEccsiId()
  14. For each message:
  15. Free ECCSI Key: wc_FreeEccsiKey() Client, verifier:

  16. Receive hash ID, message and signature from signer.

  17. Request KPAK (if not cached) and PVT (if not cached) for hash ID from KMS.
  18. Receive KPAK (if not cached) and PVT (if not cached) for hash ID from KMS.
  19. Initialize ECCSI Key: wc_InitEccsiKey()
  20. Load KMS Public Key: wc_ImportEccsiPublicKey()
  21. Decode PVT: wc_DecodeEccsiPvtFromSig()
  22. Calculate hash of the ID and PVT: wc_HashEccsiId()
  23. Set ECCSI key pair: wc_SetEccsiPair()
  24. Verify signature of message: wc_VerifyEccsiHash()
  25. Free ECCSI Key: wc_FreeEccsiKey()

Updated on 2022-10-05 at 08:31:05 +0000