// Implements test case NDC-3.
@Test(expected=CiphertextBadLengthException.class)
public void test_decrypt_ciphertext_short()
throws NtruException
{
NtruEncryptTestVector test = tests[0];
NtruEncryptKey k = new NtruEncryptKey(getPrivKeyBlob(test));
byte ct[] = new byte[test.packedE.length-1];
System.arraycopy(test.packedE, 0, ct, 0, ct.length);
k.decrypt(ct);
}