Linux Device Mapper development
 help / color / mirror / Atom feed
* [Question] Confusion of the meaning for encrypto API's return value
@ 2019-12-16  7:18 Xu Zaibo
  2019-12-16 17:32 ` Eric Biggers
  0 siblings, 1 reply; 2+ messages in thread
From: Xu Zaibo @ 2019-12-16  7:18 UTC (permalink / raw)
  To: linux-crypto, dm-devel; +Cc: forest.zhouchang, zhangwei375

Hi,

I get a confusion.

According to my understanding, That 'crypto_skcipher_encrypt(request)' 
returns '-EBUSY '

means the caller should call this API again with the request. However, 
as my knowledge in

'dm-crypt', this means the caller need not call this request again, 
because 'dm-crypt' thinks

that the driver of 'crypto_skcipher_encrypt' will send the request again 
as it is not busy.

    So, my question is: what's the meaning of 
'crypto_skcipher_encrypt(request)' returning '-EBUSY '?


Cheers,

Zaibo


.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-12-16 17:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-16  7:18 [Question] Confusion of the meaning for encrypto API's return value Xu Zaibo
2019-12-16 17:32 ` Eric Biggers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox