diff options
author | Vitaly Chikunov <vt@altlinux.org> | 2019-04-11 18:51:13 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-04-18 22:15:01 +0800 |
commit | 17cf89128477033b3f952d1c79367a726edf045c (patch) | |
tree | 1a58fd5813652fc5661003cefaed7fecc396b7d0 /crypto/asymmetric_keys/pkcs7_trust.c | |
parent | cad716822cdee5164c2f09759e4f6215137fe26a (diff) | |
download | linux-crypto-17cf89128477033b3f952d1c79367a726edf045c.tar.gz linux-crypto-17cf89128477033b3f952d1c79367a726edf045c.zip |
crypto: akcipher - default implementations for request callbacks
Because with the introduction of EC-RDSA and change in workings of RSA
in regard to sign/verify, akcipher could have not all callbacks defined,
check the presence of callbacks in crypto_register_akcipher() and
provide default implementation if the callback is not implemented.
This is suggested by Herbert Xu instead of checking the presence of the
callback on every request.
Signed-off-by: Vitaly Chikunov <vt@altlinux.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/asymmetric_keys/pkcs7_trust.c')
0 files changed, 0 insertions, 0 deletions