mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 18:48:13 -07:00
fix some style and it now also copy right string length
This commit is contained in:
parent
ba578ee139
commit
f7e4b4e2eb
6 changed files with 58 additions and 44 deletions
|
@ -57,7 +57,7 @@ void nfc3d_drbg_cleanup(nfc3d_drbg_ctx *ctx) {
|
|||
}
|
||||
|
||||
void nfc3d_drbg_generate_bytes(const uint8_t *hmacKey, size_t hmacKeySize, const uint8_t *seed, size_t seedSize, uint8_t *output, size_t outputSize) {
|
||||
uint8_t temp[NFC3D_DRBG_OUTPUT_SIZE];
|
||||
uint8_t temp[NFC3D_DRBG_OUTPUT_SIZE] = {0};
|
||||
|
||||
nfc3d_drbg_ctx rngCtx;
|
||||
nfc3d_drbg_init(&rngCtx, hmacKey, hmacKeySize, seed, seedSize);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue