Skip to contentSkip to conversation

Why are there multiple defines of scatter_walk?

DISCUSSION Mark Allyn 2 participants 2 messages Jan 11, 2011 – Jan 12, 2011 Crypto API

lore
Share & tools
lore

Mark Allyn

author
#0 lore raw

I notice two defines of struct scatter_walk; one at line 20 of include/crypto/scatterwalk.h and the other at line 74 of include/crypto/algapi.h

They are not the same. Why?

Which one does a driver supposed to include?

Thanks

Mark Allyn
Portland, Oregon
www.allyn.com
971-563-7588

maintainer
#1 lore raw
Quoted 8 lines · Mark Allyn

I notice two defines of struct scatter_walk; one at line 20 of include/crypto/scatterwalk.h and the other at line 74 of include/crypto/algapi.h

They are not the same. Why?

Which one does a driver supposed to include?

In my copy of scatterwalk.h there is no such struct definition.

What version of Linux are you looking at?

Signature · 3 lines
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt