Branch: refs/heads/stable1-proposed Home: https://github.com/kronosnet/kronosnet Commit: 26971bf7254414edecc433f84ef3262aac8927b7 https://github.com/kronosnet/kronosnet/commit/26971bf7254414edecc433f84ef326... Author: Jan Friesse jfriesse@redhat.com Date: 2018-10-08 (Mon, 08 Oct 2018)
Changed paths: M libknet/crypto_nss.c M libknet/tests/api_knet_handle_crypto.c
Log Message: ----------- Import key with length not dividable by wrap key block size
Wrapping of the key is standard crypto operation which needs data aligned to cipher block size, otherwise it fails.
Possible solution is to use a zero filled buffer with size aligned to required wrap key block size. Private key is copied to the beginning of the buffer and unwrap operation keeps using only required private key size.
Signed-off-by: Jan Friesse jfriesse@redhat.com
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.