Nice job! The ``inv-sbox`` problem is that ``sbox`` is not compiled yet.
You can use a hack to get it to compile:
<<
CONSTANT: sbox H{ ... }
>>
The << makes a compilation-unit at parse time.
Doug
On Thu, Jun 6, 2013 at 6:22 AM, Gabriel Kerneis <gabr...@kerneis.info>wrote:
> On Thu, Jun 06, 2013 at 11:46:12AM +0100, Gabriel Kerneis wrote:
> > An AES block is 16 bytes, so the current implementation encrypts at
> > ~124kB/s, and decrypts at ~84kB/s.
>
> I just pushed bindings to OpenSSL and ran the same benchmark: ~9.5 MB/s.
>
> commit enc dec (block/s)
> ---------------------------------------------------------------
> * add openssl benchmark 604,984 608,585
> * type explicitly elementary operations 7,752 5,246
>
> There is still room for improvement, I guess…
> --
> Gabriel
>
>
> ------------------------------------------------------------------------------
> How ServiceNow helps IT people transform IT departments:
> 1. A cloud service to automate IT design, transition and operations
> 2. Dashboards that offer high-level views of enterprise services
> 3. A single system of record for all IT processes
> http://p.sf.net/sfu/servicenow-d2d-j
> _______________________________________________
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk