• Gilles Peskine's avatar
    Add tests for PKCS#1 v1.5 decoding · 695a3465
    Gilles Peskine authored
    Functional tests for various payload sizes and output buffer sizes.
    
    When the padding is bad or the plaintext is too large for the output
    buffer, verify that function writes some outputs. This doesn't
    validate that the implementation is time-constant, but it at least
    validates that it doesn't just return early without outputting anything.
    695a3465