Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

The kernel (a.k.a the EMV library or Agnos) is split up into two main set of primitives:

...

Module

Service

Comments

HSM

gpiCLIPCheckPANInCertificate

If CLIPPING supported

CAD

gpiExchangeAPDU

Mandatory

HSM

gpiGetChecksum

Mandatory

HSM

gpiGetEMVCertificate

Mandatory

HSM

gpiGetEMVCRL

Mandatory

HSM

gpiGetRSAComputation

Mandatory

HSM

gpiGetRandomNumber

Mandatory

Platform

gpiGetDataObjectRAM

Mandatory

Platform

gpiGetFreeRAM

Mandatory

Platform

gpiGetPrivateScratchPAD

Mandatory

Platform

gpiGetRAMForTags

Mandatory

Platform

gpiGetRAMForUnknownTags

Mandatory

Platform

gpiGetTotalRAM

Mandatory

SPED

gpiPINVerifyCiphered

Contact only if supported

Platform

gpiLog

Only if logging supported

Platform

gpiLogf

Only if logging supported

Platform

gpiLogData

Only if logging supported

Platform

gpiMemCmp

Mandatory

Platform

gpiMemCpy

Mandatory

Platform

gpiMemSet

Mandatory

SPED

gpiPINEnter

If supported

SPED

gpiPINPadStatus

If supported

SPED

gpiPINVerifyPlaintext

Contact only if supported

HSM

gpiSECUREDShaInit

If SRED or CLIPPING supported

HSM

gpiSECUREDPANMatched

If SRED or CLIPPING supported

HSM

gpiSECUREDPrefixPANMatched

If SRED or CLIPPING supported

HSM

gpiSECUREDShaFinal

If SRED or CLIPPING supported

HSM

gpiSECUREDShaUpdateOnCertificateData

If SRED or CLIPPING supported

HSM

gpiSECUREDShaUpdateOnData

If SRED or CLIPPING supported

HSM

gpiSECUREDShaUpdateOnTLV

If SRED or CLIPPING supported

HSM

gpiShaFinal

Mandatory

HSM

gpiShaInit

Mandatory

HSM

gpiShaUpdate

Mandatory

HSM

gpiSREDGetPKLength

If SRED supported

HSM

gpiSREDIsPKPresent

If SRED supported

HSM

gpiSREDIsPKPANValid

If SRED supported

HSM

gpiSREDRsaComputation

If SRED supported

HSM

gpiSREDSetCDOLOffset

If SRED supported

Platform

gpiStrCpy

Mandatory

...