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

version» Context lines:

pike.git/src/post_modules/Nettle/mac.cmod:54:    /* NB: Use nettle_hash_update_func here to get both a length field,    * and a const uint8_t source.    */    pike_nettle_hash_update_func set_key;    pike_nettle_hash_update_func set_iv;       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, \ -  pike_##name##_set_iv, \ -  name##_update, \ -  name##_digest, \ + #define _PIKE_MAC(name, NAME) { \ +  #name, \ +  sizeof(struct name##_ctx), \ +  NAME##_DIGEST_SIZE, \ +  NAME##_BLOCK_SIZE, \ +  NAME##_KEY_SIZE, \ +  NAME##_IV_SIZE, \ +  (pike_nettle_hash_update_func)pike_##name##_set_key, \ +  (pike_nettle_hash_update_func)pike_##name##_set_iv, \ +  (pike_nettle_hash_update_func)name##_update, \ +  (pike_nettle_hash_digest_func)name##_digest, \   }      /*! @class MAC    *!    *! Represents information about a MAC algorithm, such as    *! name, key size, digest size, and internal block size.    */   PIKECLASS MAC   {    /*! @decl inherit __builtin.Nettle.MAC