• Dmitry Kasatkin's avatar
    crypto: digital signature verification support · 051dbb91
    Dmitry Kasatkin authored
    This patch implements RSA digital signature verification using GnuPG library.
    
    The format of the signature and the public key is defined by their respective
    headers. The signature header contains version information, algorithm,
    and keyid, which was used to generate the signature.
    The key header contains version and algorythim type.
    The payload of the signature and the key are multi-precision integers.
    
    The signing and key management utilities evm-utils provide functionality
    to generate signatures and load keys into the kernel keyring.
    When the key is added to the kernel keyring, the keyid defines the name
    of the key.
    Signed-off-by: default avatarDmitry Kasatkin <dmitry.kasatkin@intel.com>
    Acked-by: default avatarMimi Zohar <zohar@us.ibm.com>
    051dbb91
digsig.c 5.81 KB