added why2_set_padding fn
sets padding without messing with flags
This commit is contained in:
parent
d3aa932bdc
commit
0fe3f47752
@ -113,6 +113,8 @@ void why2_set_key_length(int keyLengthNew);
|
|||||||
void why2_set_flags(why2_input_flags newFlags); //.... whatcha think?
|
void why2_set_flags(why2_input_flags newFlags); //.... whatcha think?
|
||||||
void why2_set_encryption_operation(why2_encryption_operation_cb newEncryptionOperation); //are you that dumb?
|
void why2_set_encryption_operation(why2_encryption_operation_cb newEncryptionOperation); //are you that dumb?
|
||||||
void why2_set_memory_identifier(char *new_memory_identifier);
|
void why2_set_memory_identifier(char *new_memory_identifier);
|
||||||
|
void why2_set_padding(unsigned long padding); //SET PADDING RATE WITHOUT REWRITING INPUT FLAGS
|
||||||
|
|
||||||
void why2_reset_memory_identifier(void); //hmmm, what could reset mean.... huh
|
void why2_reset_memory_identifier(void); //hmmm, what could reset mean.... huh
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
@ -145,6 +145,11 @@ void why2_set_memory_identifier(char *new_memory_identifier)
|
|||||||
memory_identifier = new_memory_identifier;
|
memory_identifier = new_memory_identifier;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void why2_set_padding(unsigned long padding)
|
||||||
|
{
|
||||||
|
flagsAllah.padding = padding;
|
||||||
|
}
|
||||||
|
|
||||||
void why2_reset_memory_identifier(void)
|
void why2_reset_memory_identifier(void)
|
||||||
{
|
{
|
||||||
why2_list_remove_back(&identifier_list);
|
why2_list_remove_back(&identifier_list);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user