[1287] in Kerberos_V5_Development

home help back first fref pref prev next nref lref last post

Re: So where are the bottlenecks? (Audit for post Beta-6)

daemon@ATHENA.MIT.EDU (Mark Eichin)
Wed Jun 5 16:14:24 1996

To: epeisach@MIT.EDU
Cc: krbdev@MIT.EDU, krb5-bugs@MIT.EDU
From: Mark Eichin <eichin@MIT.EDU>
Date: 05 Jun 1996 16:12:49 -0400
In-Reply-To: epeisach@MIT.EDU's message of Tue, 4 Jun 1996 20:57:31 -0400


> %time		function
> 10.2		mit_des_cbc_encrypt

If we ever get around to fixing the interface, we can probably fix
that by using Phil Karn's DES code (it uses seperate key schedules for
encrypt and decrypt, though they are each about the size of what we're
using now; we can compensate by doubling the size of the key schedule
and storing both.)

> a) asn1_encode_generaltime - we are using sprintf here which may not be
> the most efficient method of getting the date into a string....

Just remember, *don't* use strftime -- it's totally broken on solaris.
(Using autoconf to test for it won't help much - the breakage only
shows up *during* DST...) But yes, most things using *printf can be
rewritten for speed.


home help back first fref pref prev next nref lref last post