Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Function]: Create the encrypte functions DES #3

Open
wants to merge 7 commits into
base: des
Choose a base branch
from

Conversation

lpieri
Copy link
Owner

@lpieri lpieri commented Apr 20, 2020

No description provided.

@lpieri lpieri added the 🚧 WIP Still work-in-progress, please don't review and don't merge label Apr 20, 2020
Louise P added 6 commits April 22, 2020 10:44
 - Create cbc.c & cbc.h
 - Create ecb.c & ecb.h
 - Create file des_key_schedule.c
 - Create functions "permute_block" & "des_key_schedule"
 - Create global tab "g_permute_tab" in des file

Next Change: 
 - Continue des try...
 - Continue the read of doc
 - Create printer for the permutation of bits
 - Update & testing the function permute_block (ok)

Next Change:
 - Slip block in 2 blocks of 32 bits
 - Create function for the cycle
 - Change function block-permute in des-permute
 - Slip the block of 64 bits in two block of 32 bits
 - Permute the second part of block 32 bits in 48 bits

Next Change: 
 - Slip the 48 part of block in tiny blocks of 4 bits
 - Permute the key of 64 bits in 56 bits and 48 bits...
 - Re-write the function des_key_schedule
 - Create structure for the des_key
 - Progress in the blocks cycle

[Next Change]:
 - Continue the des_key_schedule
 - Continue the blocks cycle
 - Duplicate the function des_key_schedule:
          - One return struct t_des_keys
          - Other one return pointer of uint32_t
 - Create while i < 16 for the cycle

[Next Change]:
 - Writing the xor of key and blocks
 - Inverse the left block with the right block
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚧 WIP Still work-in-progress, please don't review and don't merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant