X-Git-Url: https://git.cryptolib.org/?p=avr-crypto-lib.git;a=blobdiff_plain;f=scal%2Fscal-basic.h;fp=scal%2Fscal-basic.h;h=0aa4148ec92ad0de329999041e7d2dac6f778122;hp=890a73de1636c3376e11fc6c312acd29007d28a1;hb=3a9f9d918fb95474996af535c225a7e187d88372;hpb=33d65e8032f77c1cbec1bc99e898affc96966c3c diff --git a/scal/scal-basic.h b/scal/scal-basic.h index 890a73d..0aa4148 100644 --- a/scal/scal-basic.h +++ b/scal/scal-basic.h @@ -26,16 +26,16 @@ #include "keysize_descriptor.h" #include -uint8_t scal_cipher_init(const scdesc_t* cipher_descriptor, - const void* key, uint16_t keysize_b, - const void* iv, uint16_t ivsize_b, scgen_ctx_t* ctx); -void scal_cipher_free(scgen_ctx_t* ctx); -uint8_t scal_cipher_gen_byte(scgen_ctx_t* ctx); -void scal_cipher_gen_block(void* block, scgen_ctx_t* ctx); -void scal_cipher_gen_fillblock(void* block, uint16_t blocksize_B, scgen_ctx_t* ctx); -uint16_t scal_cipher_getBlocksize_b(const scdesc_t* desc); -PGM_VOID_P scal_cipher_getKeysizeDesc(const scdesc_t* desc); -PGM_VOID_P scal_cipher_getIVsizeDesc(const scdesc_t* desc); +uint8_t scal_cipher_init(const scdesc_t *cipher_descriptor, + const void *key, uint16_t keysize_b, + const void *iv, uint16_t ivsize_b, scgen_ctx_t *ctx); +void scal_cipher_free(scgen_ctx_t *ctx); +uint8_t scal_cipher_gen_byte(scgen_ctx_t *ctx); +void scal_cipher_gen_block(void *block, scgen_ctx_t *ctx); +void scal_cipher_gen_fillblock(void *block, uint16_t blocksize_B, scgen_ctx_t *ctx); +uint16_t scal_cipher_getBlocksize_b(const scdesc_t *desc); +PGM_VOID_P scal_cipher_getKeysizeDesc(const scdesc_t *desc); +PGM_VOID_P scal_cipher_getIVsizeDesc(const scdesc_t *desc); #endif /* SCAL_BASIC_H_ */