first commit
This commit is contained in:
21
crypto1_bs_crack.h
Normal file
21
crypto1_bs_crack.h
Normal file
@ -0,0 +1,21 @@
|
||||
#ifndef _CRYPTO1_BS_CRACK_H
|
||||
#define _CRYPTO1_BS_CRACK_H
|
||||
#include <stdint.h>
|
||||
#include "crypto1_bs.h"
|
||||
#include "craptev1.h"
|
||||
uint64_t crack_states_bitsliced(uint32_t **task);
|
||||
size_t keys_found;
|
||||
size_t total_states_tested;
|
||||
size_t total_states;
|
||||
|
||||
// linked from crapto1.c file
|
||||
extern uint8_t lfsr_rollback_byte(uint64_t* s, uint32_t in, int fb);
|
||||
|
||||
#define EXACT_COUNT
|
||||
|
||||
// arrays of bitsliced states with identical values in all slices
|
||||
bitslice_t bitsliced_encrypted_nonces[NONCE_TESTS][STATE_SIZE];
|
||||
bitslice_t bitsliced_encrypted_parity_bits[NONCE_TESTS][STATE_SIZE];
|
||||
bitslice_t bitsliced_rollback_byte[ROLLBACK_SIZE];
|
||||
|
||||
#endif // _CRYPTO1_BS_CRACK_H
|
Reference in New Issue
Block a user