diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2010-08-21 12:43:48 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2010-08-21 12:43:48 +0200 |
commit | 172a5b864f3ae6890b1cfc297cf9053b33fd8ee1 (patch) | |
tree | 0aec732926261d534a187b10039ff8a99701faaa | |
parent | 5f0a8311feda0c7d4a152bc2f6913a9bd888cd7b (diff) | |
download | cryptodev-linux-172a5b864f3ae6890b1cfc297cf9053b33fd8ee1.tar.gz cryptodev-linux-172a5b864f3ae6890b1cfc297cf9053b33fd8ee1.tar.xz cryptodev-linux-172a5b864f3ae6890b1cfc297cf9053b33fd8ee1.zip |
more text
-rw-r--r-- | examples/pk.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/pk.c b/examples/pk.c index 629ca6a..032ae98 100644 --- a/examples/pk.c +++ b/examples/pk.c @@ -537,7 +537,10 @@ test_ncr_wrap_key3(int cfd) struct ncr_key_generate_st kgen; ncr_key_t pubkey, privkey; uint8_t data[DATA_SIZE]; - /* only the first two should be allowed to be wrapped */ + /* only the first two should be allowed to be wrapped. + * the latter shouldn't because it has security level larger + * then 128 bits (the size of the wrapping key). + */ const int sizes[] = {1024, 3248, 5200}; fprintf(stdout, "Tests on key wrapping (might take long): "); |