Home | History | Annotate | Download | only in rc4

Lines Matching full:rc4

1 /* crypto/rc4/rc4speed.c */
11 * apply to all code found in this distribution, be it the RC4, RSA,
102 #include <openssl/rc4.h>
204 RC4(&sch,8,buf,buf);
233 printf("Doing RC4 on %ld byte blocks for 10 seconds\n",BUFSIZE);
236 printf("Doing RC4 %ld times on %ld byte blocks\n",cc,BUFSIZE);
240 RC4(&sch,BUFSIZE,buf,buf);
242 printf("%ld RC4's of %ld byte blocks in %.2f second\n",
246 printf("RC4 set_key per sec = %12.2f (%9.3fuS)\n",a,1.0e6/a);
247 printf("RC4 bytes per sec = %12.2f (%9.3fuS)\n",c,8.0e6/c);