<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18702">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2 face=Arial>Hi there,</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>I'm working with the crypto lib from PLaneT. It
actually works well, so far, thanks for the wrappers (it's a Scheme interface to
OpenSSL).</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>My question is, how do I turn off padding, i.e.
what do I have to pass (and where) as an additional parameter to
e.g.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV>(define dummy (encrypt cipher:aes-128 devicekey nonce
#"1234567887654321"))<BR></DIV>
<DIV><FONT size=2 face=Arial>to turn off padding (which would be the equivalent
to calling EVP_CIPHER_CTX_set_padding())? I see that there is a wrapper for that
function in the lib, but I guess I don't yet understand enough
about syntaxes and wrappers to figure out how </FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>(define (cipher-encrypt type key iv #:padding (pad?
#t))</FONT></DIV>
<DIV><FONT size=2 face=Arial> ..</FONT></DIV>
<DIV><FONT size=2 face=Arial>) </FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2 face=Arial>translates to a function call to encrypt where
the pad parameter can be passed a value.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2 face=Arial>Thanks!!</FONT></DIV>
<DIV> </DIV></BODY></HTML>