Skip to content

Commit

Permalink
reformat and check stack buffer sizes pkwrite.c and pk.h (pkcs Mbed-T…
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey Makarov committed Jun 7, 2021
1 parent 420bc37 commit d397fa0
Show file tree
Hide file tree
Showing 2 changed files with 168 additions and 116 deletions.
2 changes: 1 addition & 1 deletion include/mbedtls/pk.h
Original file line number Diff line number Diff line change
Expand Up @@ -805,7 +805,7 @@ int mbedtls_pk_write_key_pkcs8_der( const mbedtls_pk_context *key, unsigned char
* it will contain actual size of PEM data.
* \param enc_alg Cipher algorithm
* \param md_alg Hash algorithm used
* \param iterations Iteration count (for key derivation)
* \param iterations Iteration count (for key derivation; 2048 for example)
* \param pwd Password for encryption.
* The empty password is not supported.
* \param pwd_len Size of the password in bytes.
Expand Down
Loading

0 comments on commit d397fa0

Please sign in to comment.