<!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>Thanks for the response, but I'm not sure if that
answers my question... I now understand that #:padding depicts an optional named
parameter, but</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV>
<DIV>(define dummy (encrypt cipher:aes-128 devicekey nonce #"1234567887654321"
#:padding #f))</DIV>
<DIV> </DIV>
<DIV><FONT size=2 face=Arial>is not accepted by Racket, so how would I do
it?</FONT></DIV><FONT size=2 face=Arial></FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Thanks!</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px"
dir=ltr>
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B>
<A title=m.douglas.williams@gmail.com
href="mailto:m.douglas.williams@gmail.com">Doug Williams</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=rac@ruediger-asche.de
href="mailto:rac@ruediger-asche.de">Rüdiger Asche</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Cc:</B> <A title=users@racket-lang.org
href="mailto:users@racket-lang.org">users@racket-lang.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Saturday, April 28, 2012 10:54
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [racket] Another PLaneTs
crypto lib usage question?...</DIV>
<DIV><FONT size=2 face=Arial></FONT><FONT size=2 face=Arial></FONT><BR></DIV>I
have forked the crypto package to perform these actions for my own code and to
fix some other problems with post 1.0.0 versions of OpenSSL. I submitted a bug
report that at least removes the errors when we go to later OpenSSL versions,
but haven't seen any response. I don't have the throughput to take over
maintenance of the package, but would be happy to give my forked version over
to anyone who does.
<DIV>Do we have a process for taking over orphaned projects like this? Or does
anyone know the original developers?</DIV>
<DIV>Doug<SPAN></SPAN><BR><BR>On Saturday, April 28, 2012, Rüdiger Asche
wrote:<BR>
<BLOCKQUOTE
style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote><U></U>
<DIV bgcolor="#ffffff">
<DIV><FONT face=Arial>Hi there,</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT 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 face=Arial></FONT> </DIV>
<DIV><FONT 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 face=Arial></FONT> </DIV>
<DIV>(define dummy (encrypt cipher:aes-128 devicekey nonce
#"1234567887654321"))<BR></DIV>
<DIV><FONT 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 face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>(define (cipher-encrypt type key iv #:padding (pad?
#t))</FONT></DIV>
<DIV><FONT face=Arial> ..</FONT></DIV>
<DIV><FONT face=Arial>) </FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial>translates to a function call to encrypt where
the pad parameter can be passed a value.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial>Thanks!!</FONT></DIV>
<DIV> </DIV></DIV></BLOCKQUOTE></DIV></BLOCKQUOTE></BODY></HTML>