aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/crypter.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Increment MIT Licence copyright header year on files modified in 2016isle29832016-12-311-1/+1
| | | | | | Edited via: $ contrib/devtools/copyright_header.py update .
* wallet: Change CCrypter to use vectors with secure allocatorWladimir J. van der Laan2016-10-191-7/+7
| | | | | | | Change CCrypter to use vectors with secure allocator instead of buffers on in the object itself which will end up on the stack. This avoids having to call LockedPageManager to lock stack memory pages to prevent the memory from being swapped to disk. This is wasteful.
* crypter: add a BytesToKey clone to replace the use of opensslCory Fields2016-05-131-4/+29
| | | | | BytesToKeySHA512AES should be functionally identical to EVP_BytesToKey, but drops the dependency on openssl.
* crypter: hook up the new aes cbc classesCory Fields2016-05-131-31/+14
|
* crypter: constify encrypt/decryptCory Fields2016-05-131-2/+2
| | | | This makes CCrypter easier to pass aroundf for tests
* crypter: fix the stored initialization vector sizeCory Fields2016-05-131-5/+5
| | | | | | AES IV's are 16bytes, not 32. This was harmless but confusing. Add WALLET_CRYPTO_IV_SIZE to make its usage explicit.
* Bump copyright headers to 2015MarcoFalke2015-12-131-1/+1
|
* Merge pull request #6415Wladimir J. van der Laan2015-08-141-1/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | d042854 SQUASH "Implement watchonly support in fundrawtransaction" (Matt Corallo) 428a898 SQUASH "Add have-pubkey distinction to ISMINE flags" (Matt Corallo) 6bdb474 Implement watchonly support in fundrawtransaction (Matt Corallo) f5813bd Add logic to track pubkeys as watch-only, not just scripts (Matt Corallo) d3354c5 Add have-pubkey distinction to ISMINE flags (Matt Corallo) 5c17059 Update importaddress help to push its use to script-only (Matt Corallo) a1d7df3 Add importpubkey method to import a watch-only pubkey (Matt Corallo) 907a425 Add p2sh option to importaddress to import redeemScripts (Matt Corallo) 983d2d9 Split up importaddress into helper functions (Matt Corallo) cfc3dd3 Also remove pay-2-pubkey from watch when adding a priv key (Matt Corallo)
| * Add logic to track pubkeys as watch-only, not just scriptsMatt Corallo2015-07-201-1/+3
| |
* | Make sure LogPrintf strings are line-terminatedWladimir J. van der Laan2015-08-031-1/+1
|/ | | | | | | Fix the cases where LogPrint[f] was accidentally called without line terminator, which resulted in concatenated log lines. (see e.g. #6492)
* wallet: move crypter to walletCory Fields2015-03-221-0/+292