le_iks_rsa_common.h
Go to the documentation of this file.
31 //--------------------------------------------------------------------------------------------------35 //--------------------------------------------------------------------------------------------------38 //--------------------------------------------------------------------------------------------------42 //--------------------------------------------------------------------------------------------------46 //--------------------------------------------------------------------------------------------------50 //--------------------------------------------------------------------------------------------------57 //--------------------------------------------------------------------------------------------------61 //--------------------------------------------------------------------------------------------------68 //--------------------------------------------------------------------------------------------------72 //--------------------------------------------------------------------------------------------------79 //--------------------------------------------------------------------------------------------------84 * The maximum plaintext size (pLen bytes) depends on the key size (kLen bytes) and the hash digest88 * An optional label associated with the message can be added. The label is restricted to less than91 * The ciphertext size is always kLen bytes (key size) and the ciphertextPtr buffer should be large103 //--------------------------------------------------------------------------------------------------123 //--------------------------------------------------------------------------------------------------128 * The maximum plaintext size (pLen bytes) depends on the key size (kLen bytes) and the hash digest149 //--------------------------------------------------------------------------------------------------169 //--------------------------------------------------------------------------------------------------171 * Generates a signature on the hash digest of a message with RSASSA-PSS (RSA Signature Scheme with174 * Signatures are generally only created on a hash of a message rather than directly on the message175 * itself this function follows this paradigm. However, the same hash function used to create the180 * The salt size should generally be small between 8 and 16 bytes. Strictly, it must be less than184 * The signature size is always the size of the key. The signature buffer should be large enough to196 //--------------------------------------------------------------------------------------------------214 //--------------------------------------------------------------------------------------------------216 * Verifies a signature of the hash digest of a message with RSASSA-PSS (RSA Signature Scheme with219 * Signatures are generally only created on a hash of a message rather than directly on the message220 * itself this function follows this paradigm. However, the same hash function used to create the225 * The salt size should generally be small between 8 and 16 bytes. Strictly, it must be less than