Skip to content

Commit

Permalink
doc: clean up EVP_PKEY_CTX_set_rsa_pss_keygen_md section
Browse files Browse the repository at this point in the history
  • Loading branch information
danbev committed Jul 7, 2020
1 parent 4eeea06 commit ee783cf
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Expand Up @@ -2049,10 +2049,9 @@ and implementation for the specified `type`, which is our case is `rsa-pss`.
privateFormat, privateType,
cipher, passphrase, wrap);
```
And we can see that we required `generateKeyPairRSAPS` from the internal
And we can see that we required `generateKeyPairRSAPSS` from the internal
`crypto` module which can be found in `src/node_crypto.cc`.


RSAKeyPairGenerationConfig::Configure:
```c++
if (EVP_PKEY_CTX_set_rsa_keygen_bits(ctx.get(), modulus_bits_) <= 0)
Expand Down Expand Up @@ -2088,7 +2087,7 @@ int RSA_pkey_ctx_ctrl(EVP_PKEY_CTX *ctx, int optype, int cmd, int p1, void *p2)
return EVP_PKEY_CTX_ctrl(ctx, -1, optype, cmd, p1, p2);
}
```
Should there be a condition for EVP_PKEY_RSA_PSS?:
Should there be a condition for `EVP_PKEY_RSA_PSS`?:
```console
$ git diff crypto/evp/pmeth_lib.c
diff --git a/crypto/evp/pmeth_lib.c b/crypto/evp/pmeth_lib.c
Expand Down

0 comments on commit ee783cf

Please sign in to comment.