Re: Rijndael sanity check?

2007-07-18 Thread Richard Hodges
On Wednesday 18 July 2007 12:26 pm, Stefan Farfeleder wrote: > On Wed, Jul 18, 2007 at 12:06:35PM -0600, Richard Hodges wrote: > > > ./aes_test > > > > Using key: 2b 7e 15 16 28 ae d2 a6 ab f7 15 88 09 cf 4f 3c > > > > 920F0CE0A9A96BB9D8416962BDBBAA7C > >

Rijndael sanity check?

2007-07-18 Thread Richard Hodges
Okay, I am a little bit puzzled. I have been working with AES/Rijndael for a couple months now, and I have just run into something interesting. I have written two AES 128-bit implementations, one in C and one for a microcontroller. I have carefully studied various references, including FIPS-1

Re: SPDIF capture device?

2004-06-21 Thread Richard Hodges
On Fri, 18 Jun 2004, Ing.Richard Andrysek wrote: > Hi Richard, > > I've read your question about SPDIF capture device on freebsd. I am > currently looking for similar device.Have you found such one? Can you > access subcode etc.? Sorry, I never did find anything immediately useful for SPDIF captu

SPDIF capture device?

2003-09-26 Thread Richard Hodges
Hi, folks! I sent this out to -multimedia on Wednesday, but maybe that wasn't the right place to ask... I am looking for something unusual. I want to capture SPDIF subframes. These are the 32-bit building blocks of an SPDIF stream. I don't really care if the device parses the B, M, and W preamb

Re: Should URL's be pervasive.

2001-09-01 Thread Richard Hodges
onnection to port 25, and it is (at best) nuissance information when I want to do a ping or traceroute. The same with "http:". -Richard --- Richard Hodges | Matriplex, inc. Product Manager | 769 Basque Way [EMAIL PROTECTED] | Carson City, NV 89706 775-886-6477| www.matriplex.com To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Should URL's be pervasive.

2001-09-01 Thread Richard Hodges
On Fri, 31 Aug 2001, David O'Brien wrote: > On Fri, Aug 31, 2001 at 09:58:21AM -0700, Richard Hodges wrote: > > > On the other hand, what exactly is http://www.ufp.org supposed to be useful > > > for when www.ufp.org is the same thing. > > > > Why not p

Re: Should URL's be pervasive.

2001-08-31 Thread Richard Hodges
mutt http://www.ufp.org ? In this case, mutt should do an HTTP request to port 80 at www.ufp.org, grab the home page, and put it in your inbox :-) -Richard ----------- Richard Hodges | Matriplex, inc. Product Manager | 769 Basque Way [EMAIL PROTECTED]

Re: NatSemi DP83820 gigE driver kit for 4.2 and 4.3

2001-07-17 Thread Richard Hodges
On Tue, 17 Jul 2001, Terry Lambert wrote: > Richard Hodges wrote: > > Go ahead and beat me up if you have to :-) But why is there _any_ issue > > with RX buffer alignment? I get some mbufs and set the data pointer to > > any point I want, or I get a cluster, which is al

Re: NatSemi DP83820 gigE driver kit for 4.2 and 4.3

2001-07-16 Thread Richard Hodges
doesn't permit it are the > RealTek 8139/if_rl (surprise) and the VIA Rhine I and Rhine II/if_vr. And the IDT 77211 ATM SAR chip. Fortunately, most of the PDUs I see are perfectly aligned, and no copy is needed. Thanks for the explanation! -Richard -

Re: NatSemi DP83820 gigE driver kit for 4.2 and 4.3

2001-07-16 Thread Richard Hodges
gned, then I'm pretty much screwed - I have to copy... All the best, -Richard ------- Richard Hodges | Matriplex, inc. Product Manager | 769 Basque Way [EMAIL PROTECTED] | Carson City, NV 89706 775-886-6477| www.matriplex.com To Uns

Re: FreeBSD Mall now BSDCentral

2001-07-07 Thread Richard Hodges
On Sat, 7 Jul 2001, Brian Somers wrote: > Richard Hodges <[EMAIL PROTECTED]> wrote: > > And as far as distribution goes, if my vote counts, I would suggest > > that anyone should have the right to sell (or give away) copies for > > whatever price they want. The more

Re: FreeBSD Mall now BSDCentral

2001-07-07 Thread Richard Hodges
f my vote counts, I would suggest that anyone should have the right to sell (or give away) copies for whatever price they want. The more copies, the better! I fail to see why FreeBSD distribution should be "guided" to certain entities based on their political contributions. All th

Re: Question about device driver

2001-07-06 Thread Richard Hodges
to work on? Whatever it is, I will probably be very interested in your progress! All the best, -Richard ------- Richard Hodges | Matriplex, inc. Product Manager | 769 Basque Way [EMAIL PROTECTED] | Carson City, NV 89706 775-886-6477| ww

kern/28748: HARP may reject SVCs from certain ATM switches

2001-07-05 Thread Richard Hodges
I just discovered an interesting bug in HARP that prevents SVCs from working on a Xylan switch, and maybe others. The PR is kern/28748, and it includes a detailed description of the problem and a simple patch. Any takers? Thanks, -Richard To Unsubscribe: send mail to [EMAIL PROTECTED] with "

Re: Quick question: AIO / SMP / process-based threading

2001-06-30 Thread Richard Hodges
year, but I would like to think that I had some subtle logic error in my code, rather than dismiss AIO as unusuable. If you have specific knowlege of a problem in AIO, do you have any suggestions on fixing it? Thanks, -Richard ------- Richard Hodges | Ma

Re: question: aio / nbio / kqueue

2001-06-25 Thread Richard Hodges
ou should also make sure you bzero the aiocb structure before use as > some of the fields could cause strange behavior if left with random > data. Did that. But it never hurts to double-check :-) Thanks, -Richard ----------- Richard Hodges | Matrip

Re: question: aio / nbio / kqueue

2001-06-25 Thread Richard Hodges
> On Fri, 22 Jun 2001, Richard Hodges wrote: > > I tried AIO some months ago (4.1R or 4.2R), but had some trouble > > with AIO, mainly that it seemed to lose track of half my files. > > Not any particular files, it seemed that at any moment it would > > just pick te

Re: question: aio / nbio / kqueue

2001-06-22 Thread Richard Hodges
is TCP, isn't it? I thought so. I am sending UDP, and the timing needs to be *perfect*. Well, within a couple milliseconds, anyway. Thanks for the info, -Richard --- Richard Hodges | Matriplex, inc. Product Manager | 769 Basque Way [EMAIL

Re: question: aio / nbio / kqueue

2001-06-22 Thread Richard Hodges
the details? Thanks, -Richard ------- Richard Hodges | Matriplex, inc. Product Manager | 769 Basque Way [EMAIL PROTECTED] | Carson City, NV 89706 775-886-6477| www.matriplex.com To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Stuck in kernel - mask problem?

2001-05-28 Thread Richard Hodges
errupt, no? Would it be worthwhile to connect a scope to the PCI interrupt lines to see if anything is wedged? Thanks, -Richard --- Richard Hodges | Matriplex, inc. Product Manager | 769 Basque Way [EMAIL PROTECTED] | Carson City, NV 89706 77

Knob for ATA maximum UDMA?

2001-05-24 Thread Richard Hodges
performance difference between UDMA100 and UDMA66, or even with UDMA33 if there is only one drive per cable. Comments and suggestions are appreciated :-) -Richard --- Richard Hodges | Matriplex, inc. Product Manager | 769 Basque Way [EMAIL

send/sendto/sendmsg and ECONNREFUSED

2001-05-16 Thread Richard Hodges
appropriate to add a line for ECONNREFUSED in the man pages for send/sendto/sendmsg. It may be obvious, but is it _painfully_ obvious that the ICMP reply will trigger ECONNREFUSED on the next packet? All the best, -Richard ------- Richard Hodges |

RE: Quota reporting is inaccurate.

2001-04-13 Thread Richard Hodges
ship changes going on? Another thought is that this user may have had files still open. Even if you "remove" a file, it really does not go away until the last open handle is closed. All the best, -Richard --- Richard Hodges | Matriplex, inc.

Re: Intel driver doc's Take 2.

2001-03-24 Thread Richard Hodges
On Sat, 24 Mar 2001 [EMAIL PROTECTED] wrote: > On Sat, 24 Mar 2001, Richard Hodges wrote: > > > For many (most?) people that may be practical. But what about > > those of us with a 1RU system using fxp on the motherboard and > > NEED the single PCI slot for somethi

Re: Intel driver doc's Take 2.

2001-03-24 Thread Richard Hodges
d; For many (most?) people that may be practical. But what about those of us with a 1RU system using fxp on the motherboard and NEED the single PCI slot for something else? I suspect that there are more of us than you might think. All the best, -Richard -

Re: kern/23620: Fore PCA200E driver

2001-03-23 Thread Richard Hodges
I hate to follow up on my own post, but I have not heard a word of comment, positive or negative... -Richard On Fri, 2 Mar 2001, Richard Hodges wrote: > Hi, all! > > A couple months ago, I submitted PR kern/23620 describing a problem > with the Fore PCA200E driver for HARP. I

Re: Intel PRO/100+ PCI problem

2001-03-11 Thread Richard Hodges
On 11 Mar 2001, Dag-Erling Smorgrav wrote: > Richard Hodges <[EMAIL PROTECTED]> writes: > > On Thu, 8 Mar 2001, Rafael Tonin wrote: > > > Anyone knows how to get this card to work? > > Go into your BIOS config and turn off the option > > for "PLUG &a

Re: Kernel area libmish stuff

2001-03-09 Thread Richard Hodges
places it uses FP instructions (for memory copying). > In anycase, I think there'd be a problem here. The last time I tried using FP in a device driver, it caused kernel panics (I hate it when that happens...) -Richard ----------- Richard Hodges | M

Re: Intel PRO/100+ PCI problem

2001-03-08 Thread Richard Hodges
y > > Anyone knows how to get this card to work? Go into your BIOS config and turn off the option for "PLUG & PLAY OS". It should be with the PCI menu. -Richard ------- Richard Hodges | Matriplex, inc. Product Manager | 769 Bas

kern/23620: Fore PCA200E driver

2001-03-02 Thread Richard Hodges
--- Richard Hodges | Matriplex, inc. Product Manager | 769 Basque Way [EMAIL PROTECTED] | Carson City, NV 89706 775-886-6477| www.matriplex.com To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the b

Re: stupid device driver question

2001-03-02 Thread Richard Hodges
quot;, 1)) timeout--; if(NOTREADY) return(EIO); /* or whatever... */ uiomove(...) Then in your interrupt service routine: wakeup(softc); Hope this helps! -Richard --- Richard Hodges | Matriplex, inc. Product Manager | 769 Basque Way [E

Re: Cannot create raw socket connections

2001-02-16 Thread Richard Hodges
work programming is kept :-) When you get ready for kernel level network programming, get "TCP/IP Illustrated, Volume 2". There is no substitute. -Richard ----------- Richard Hodges | Matriplex, inc. | 769 Basque Way [EMAIL PROTECTE

Re: Cannot create raw socket connections

2001-02-16 Thread Richard Hodges
, and pass all incoming packets to your socket, except UDP, TCP, and ICMP echo/timestamp/mask. -Richard ------- Richard Hodges | Matriplex, inc. | 769 Basque Way [EMAIL PROTECTED] | Carson City, NV 89706 775-886-6477| www.matripl

Re: Updating mmap(2) [nik@freebsd.org: Re: pipe]

2001-02-10 Thread Richard Hodges
t to put code samples in the man pages themselves. -Richard --- Richard Hodges | Matriplex, inc. | 769 Basque Way [EMAIL PROTECTED] | Carson City, NV 89706 775-886-6477| www.matriplex.com To Unsubscribe: send mail to [EMAIL PR

Re: Updating mmap(2) [nik@freebsd.org: Re: pipe]

2001-02-10 Thread Richard Hodges
is a useful method of sharing memory between processes. > In addition, mmap isn't listed in the SEE ALSO for malloc(3), nor is it > listed in memory(3). mmap() is listed in malloc(3), but only in an > error message. Sounds good to me. -Richard ---

NEWBUS: multiple calls needed?

2001-01-26 Thread Richard Hodges
hem, but I would be very interested in other opinions. Thanks, -Richard ----------- Richard Hodges | Matriplex, inc. | 769 Basque Way [EMAIL PROTECTED] | Carson City, NV 89706 775-886-6477| www.matriplex.com To Unsubscribe: send mail to

Re: Per-process kernel stack size

2000-12-01 Thread Richard Hodges
w would trigger a fault? I would *much* rather have the machine grind to a halt with a relevant message than see mysterious data corruption. Of course, neither of these would be worthwhile once I stop writing code with bugs ;-) All the best, -Richard ---------

Re: Any actual shipping ATM cards supported by FreeBSD 4.x andhigher?

2000-11-23 Thread Richard Hodges
These cards are right now priced from $140 (UTP) to $450 (MMF). If you have no luck at all finding what you want, let me know and I'll get you hooked up with something :-) All the best, -Richard --- Richard Hodges | Matriplex, inc.

Re: Byte order?

2000-11-20 Thread Richard Hodges
E_ORDER == LITTLE_ENDIAN > printf("Little endian\n"); > #else > printf("Unknown\n"); > #endif > } Just to be different, why not use something like: if(htonl(1) == 1) bigendian else littleendian Of course, that spoils the fun of figuring out

Re: page fault question

2000-11-19 Thread Richard Hodges
remote gdb instead of ddb. Thanks. I also had to dig out a couple bugs involving word alignment when doing DMA transfers, and learned NOT to mess with the data inside mbufs with external data ;-) I guess I've left enough offerings at the altar of stupidity, so maybe Loki will leave me

page fault question

2000-11-14 Thread Richard Hodges
flames gratefully accepted :-) Thanks, -Richard ------- Richard Hodges | Matriplex, inc. | 769 Basque Way [EMAIL PROTECTED] | Carson City, NV 89706 775-886-6477| www.matriplex.com To Unsubscribe: send mail to [EMAIL PROTECTED] wi

Re: high speed timestamp counter

2000-11-02 Thread Richard Hodges
= timeval2 - timeval1; } Is this what you had in mind? All the best, -Richard ------- Richard Hodges | Matriplex, inc. | 769 Basque Way [EMAIL PROTECTED] | Carson City, NV 89706 775-886-6477| www.matriplex.com To Unsubscribe:

A decent way to get CPU idle time?

2000-10-05 Thread Richard Hodges
time spent in the kernel. Any ideas? Thanks. -Richard --- Richard Hodges | Matriplex, inc. [EMAIL PROTECTED] | 769 Basque Way 775-886-6477| Carson City, NV 89706 To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freeb