diff options
Diffstat (limited to 'src/internal.h')
-rw-r--r-- | src/internal.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/internal.h b/src/internal.h index 4bae2aa..ac8062b 100644 --- a/src/internal.h +++ b/src/internal.h @@ -85,9 +85,9 @@ struct yaca_context_s { void (*context_destroy)(const yaca_context_h ctx); int (*get_output_length)(const yaca_context_h ctx, size_t input_len, size_t *output_len); int (*set_property)(yaca_context_h ctx, yaca_property_e property, - const void *value, size_t value_len); + const void *value, size_t value_len); int (*get_property)(const yaca_context_h ctx, yaca_property_e property, - void **value, size_t *value_len); + void **value, size_t *value_len); }; struct yaca_backup_context_s { @@ -172,30 +172,30 @@ void destroy_encrypt_context(const yaca_context_h ctx); int get_encrypt_output_length(const yaca_context_h ctx, size_t input_len, size_t *output_len); int set_encrypt_property(yaca_context_h ctx, yaca_property_e property, - const void *value, size_t value_len); + const void *value, size_t value_len); int get_encrypt_property(const yaca_context_h ctx, yaca_property_e property, - void **value, size_t *value_len); + void **value, size_t *value_len); int encrypt_get_algorithm(yaca_encrypt_algorithm_e algo, - yaca_block_cipher_mode_e bcm, - size_t key_bit_len, - const EVP_CIPHER **cipher); + yaca_block_cipher_mode_e bcm, + size_t key_bit_len, + const EVP_CIPHER **cipher); int encrypt_initialize(yaca_context_h *ctx, - const EVP_CIPHER *cipher, - const yaca_key_h sym_key, - const yaca_key_h iv, - enum encrypt_op_type_e op_type); + const EVP_CIPHER *cipher, + const yaca_key_h sym_key, + const yaca_key_h iv, + enum encrypt_op_type_e op_type); int encrypt_update(yaca_context_h ctx, - const unsigned char *input, size_t input_len, - unsigned char *output, size_t *output_len, - enum encrypt_op_type_e op_type); + const unsigned char *input, size_t input_len, + unsigned char *output, size_t *output_len, + enum encrypt_op_type_e op_type); int encrypt_finalize(yaca_context_h ctx, - unsigned char *output, size_t *output_len, - enum encrypt_op_type_e op_type); + unsigned char *output, size_t *output_len, + enum encrypt_op_type_e op_type); struct yaca_key_simple_s *key_get_simple(const yaca_key_h key); struct yaca_key_evp_s *key_get_evp(const yaca_key_h key); |