remove trailing whitespace
This commit is contained in:
@@ -55,12 +55,12 @@
|
||||
*
|
||||
* Speed for RSA in seconds
|
||||
* no key blinding
|
||||
* 1000 iteration,
|
||||
* 1000 iteration,
|
||||
* same rsa keys (1024 and 2048)
|
||||
* operation performed each eteration sign, verify, encrypt, decrypt on a random bit pattern
|
||||
*
|
||||
* name 1024 2048 4098
|
||||
* =================================
|
||||
* =================================
|
||||
* gmp: 0.73 6.60 44.80
|
||||
* tfm: 2.45 -- --
|
||||
* ltm: 3.79 20.74 105.41 (default in hcrypto)
|
||||
@@ -442,11 +442,11 @@ RSA_verify(int type, const unsigned char *from, unsigned int flen,
|
||||
free_DigestInfo(&di);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
ret = der_heim_oid_cmp(&digest_alg->algorithm,
|
||||
&di.digestAlgorithm.algorithm);
|
||||
free_DigestInfo(&di);
|
||||
|
||||
|
||||
if (ret != 0)
|
||||
return 0;
|
||||
return 1;
|
||||
@@ -577,7 +577,7 @@ d2i_RSAPrivateKey(RSA *rsa, const unsigned char **pp, size_t len)
|
||||
RSA_free(k);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
return k;
|
||||
}
|
||||
|
||||
@@ -701,6 +701,6 @@ d2i_RSAPublicKey(RSA *rsa, const unsigned char **pp, size_t len)
|
||||
RSA_free(k);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
return k;
|
||||
}
|
||||
|
Reference in New Issue
Block a user