pike.git / src / post_modules / Nettle / mac.cmod

version» Context lines:

pike.git/src/post_modules/Nettle/mac.cmod:47:    unsigned block_size;       /* Suggested key size; other sizes are sometimes possible. */    unsigned key_size;       unsigned iv_size;       /* NB: Use nettle_hash_update_func here to get both a length field,    * and a const uint8_t source.    */ -  nettle_hash_update_func *set_key; -  nettle_hash_update_func *set_iv; +  pike_nettle_hash_update_func set_key; +  pike_nettle_hash_update_func set_iv;    -  nettle_hash_update_func *update; -  nettle_hash_digest_func *digest; +  pike_nettle_hash_update_func update; +  pike_nettle_hash_digest_func digest;   };      #define _PIKE_MAC(name, NAME) { \    #name, \    sizeof(struct name##_ctx), \    NAME##_DIGEST_SIZE, \    NAME##_BLOCK_SIZE, \    NAME##_KEY_SIZE, \    NAME##_IV_SIZE, \    pike_##name##_set_key, \