Standard PEM write
0:char*:"-----START TEST-----\n":char*:"-----END TEST-----\n":hex:"000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F":char*:"-----START TEST-----\nAAECAwQFBgcICQoLDA0ODwABAgMEBQYHCAkKCwwNDg8=\n-----END TEST-----\n"

PEM write (zero data)
0:char*:"-----START TEST-----\n":char*:"-----END TEST-----\n":hex:"":char*:"-----START TEST-----\n-----END TEST-----\n"

PEM write (one byte)
0:char*:"-----START TEST-----\n":char*:"-----END TEST-----\n":hex:"00":char*:"-----START TEST-----\nAA==\n-----END TEST-----\n"

PEM write (more than line size)
0:char*:"-----START TEST-----\n":char*:"-----END TEST-----\n":hex:"000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F":char*:"-----START TEST-----\nAAECAwQFBgcICQoLDA0ODwABAgMEBQYHCAkKCwwNDg8AAQIDBAUGBwgJCgsMDQ4P\nAAECAwQFBgcICQoLDA0ODwABAgMEBQYHCAkKCwwNDg8=\n-----END TEST-----\n"

PEM write (exactly two lines)
0:char*:"-----START TEST-----\n":char*:"-----END TEST-----\n":hex:"000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F":char*:"-----START TEST-----\nAAECAwQFBgcICQoLDA0ODwABAgMEBQYHCAkKCwwNDg8AAQIDBAUGBwgJCgsMDQ4P\nAAECAwQFBgcICQoLDA0ODwABAgMEBQYHCAkKCwwNDg8AAQIDBAUGBwgJCgsMDQ4P\n-----END TEST-----\n"

PEM write (exactly two lines + 1)
0:char*:"-----START TEST-----\n":char*:"-----END TEST-----\n":hex:"000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F00":char*:"-----START TEST-----\nAAECAwQFBgcICQoLDA0ODwABAgMEBQYHCAkKCwwNDg8AAQIDBAUGBwgJCgsMDQ4P\nAAECAwQFBgcICQoLDA0ODwABAgMEBQYHCAkKCwwNDg8AAQIDBAUGBwgJCgsMDQ4P\nAA==\n-----END TEST-----\n"

PEM read (DES-EDE3-CBC + invalid iv)
1:char*:"^":char*:"$":char*:"^\nProc-Type\: 4,ENCRYPTED\nDEK-Info\: DES-EDE3-CBC,00$":char*:"pwd":exp:0

PEM read (DES-CBC + invalid iv)
1:char*:"^":char*:"$":char*:"^\nProc-Type\: 4,ENCRYPTED\nDEK-Info\: DES-CBC,00$":char*:"pwd":exp:0

PEM read (unknown encryption algorithm)
1:char*:"^":char*:"$":char*:"^\nProc-Type\: 4,ENCRYPTED\nDEK-Info\: AES-,00$":char*:"pwd":exp:1

PEM read (malformed PEM DES-CBC)
depends_on:0:1
1:char*:"-----BEGIN EC PRIVATE KEY-----":char*:"-----END EC PRIVATE KEY-----":char*:"-----BEGIN EC PRIVATE KEY-----\nProc-Type\: 4,ENCRYPTED\nDEK-Info\: DES-CBC,AA94892A169FA426\n\nMAAA\n-----END EC PRIVATE KEY-----":char*:"pwd":exp:2

PEM read (malformed PEM DES-EDE3-CBC)
depends_on:0:1
1:char*:"-----BEGIN EC PRIVATE KEY-----":char*:"-----END EC PRIVATE KEY-----":char*:"-----BEGIN EC PRIVATE KEY-----\nProc-Type\: 4,ENCRYPTED\nDEK-Info\: DES-EDE3-CBC,AA94892A169FA426\n\nMAAA\n-----END EC PRIVATE KEY-----":char*:"pwd":exp:2

PEM read (malformed PEM AES-128-CBC)
depends_on:2:1
1:char*:"-----BEGIN EC PRIVATE KEY-----":char*:"-----END EC PRIVATE KEY-----":char*:"-----BEGIN EC PRIVATE KEY-----\nProc-Type\: 4,ENCRYPTED\nDEK-Info\: AES-128-CBC,AA94892A169FA426AA94892A169FA426\n\nMAAA\n-----END EC PRIVATE KEY-----":char*:"pwd":exp:3

