Scroll to navigation

STRUCT AKCIPHER_REQU(9) Programming Interface STRUCT AKCIPHER_REQU(9)

NAME

struct_akcipher_request - public key request

SYNOPSIS

struct akcipher_request {
  struct crypto_async_request base;
  struct scatterlist * src;
  struct scatterlist * dst;
  unsigned int src_len;
  unsigned int dst_len;
  void * __ctx[];
};  

MEMBERS

base
Common attributes for async crypto requests
src
Source data
dst
Destination data
src_len
Size of the input buffer
dst_len
Size of the output buffer. It needs to be at least as big as the expected result depending on the operation After operation it will be updated with the actual size of the result. In case of error where the dst sgl size was insufficient, it will be updated to the size required for the operation.
__ctx[]
Start of private context data

AUTHORS

Stephan Mueller <smueller@chronox.de>
Author.
Marek Vasut <marek@denx.de>
Author.

COPYRIGHT

January 2017 Kernel Hackers Manual 4.8.