merge-script 35102d4928
Merge bitcoin/bitcoin#30373: fuzz: fix key size in crypter
4383dc90bac1b5def73352fe222f99807d8ca4dd fuzz: fix key size in crypter target (brunoerg)

Pull request description:

  Fixes #30251

  This PR:
  1. Limits `cipher_text_ed` and `random_string` (`SecureString`) size.
  2. Replace `ConsumeRandomLengthByteVector` for keys to `ConsumeFixedLengthByteVector` with `WALLET_CRYPTO_KEY_SIZE`.
  3. Replace `ConsumeRandomLengthByteVector` for `chSalt` to `ConsumeFixedLengthByteVector` with `WALLET_CRYPTO_SALT_SIZE`.

ACKs for top commit:
  marcofleon:
    Tested ACK 4383dc90bac1b5def73352fe222f99807d8ca4dd. I ran this:
  dergoegge:
    utACK 4383dc90bac1b5def73352fe222f99807d8ca4dd

Tree-SHA512: 6f09cca0b4627f49152b685ac03659c01004f2131c6aada7654606ea01f6619b1611b1d17624d2cddce277c1afdddda5f656d99f6ca8f72a22f5c0541762c964
2024-07-15 11:40:11 +01:00
..
2024-07-04 11:33:11 -03:00
2023-11-21 13:15:44 +00:00
2024-05-13 23:01:37 -04:00
2024-07-08 11:12:01 +02:00
2023-11-30 11:27:54 +01:00