X-Git-Url: https://git.cryptolib.org/?p=avr-crypto-lib.git;a=blobdiff_plain;f=bcal%2Fbcal-basic.h;fp=bcal%2Fbcal-basic.h;h=3f8260ae7b0f0df2af04fcdc6d56355d9a90f0b2;hp=e45b9b8d624c0bf12ca77f2604759b5a8649ce73;hb=3a9f9d918fb95474996af535c225a7e187d88372;hpb=33d65e8032f77c1cbec1bc99e898affc96966c3c diff --git a/bcal/bcal-basic.h b/bcal/bcal-basic.h index e45b9b8..3f8260a 100644 --- a/bcal/bcal-basic.h +++ b/bcal/bcal-basic.h @@ -26,11 +26,11 @@ #include "keysize_descriptor.h" #include -uint8_t bcal_cipher_init(const bcdesc_t* cipher_descriptor, - const void* key, uint16_t keysize_b, bcgen_ctx_t* ctx); -void bcal_cipher_free(bcgen_ctx_t* ctx); -void bcal_cipher_enc(void* block, const bcgen_ctx_t* ctx); -void bcal_cipher_dec(void* block, const bcgen_ctx_t* ctx); -uint16_t bcal_cipher_getBlocksize_b(const bcdesc_t* desc); -PGM_VOID_P bcal_cipher_getKeysizeDesc(const bcdesc_t* desc); +uint8_t bcal_cipher_init(const bcdesc_t *cipher_descriptor, + const void *key, uint16_t keysize_b, bcgen_ctx_t *ctx); +void bcal_cipher_free(bcgen_ctx_t *ctx); +void bcal_cipher_enc(void *block, const bcgen_ctx_t *ctx); +void bcal_cipher_dec(void *block, const bcgen_ctx_t *ctx); +uint16_t bcal_cipher_getBlocksize_b(const bcdesc_t *desc); +PGM_VOID_P bcal_cipher_getKeysizeDesc(const bcdesc_t *desc); #endif /* BCAL_BASIC_H_ */