Searched refs:ccdigest_ctx_t (Results 1 - 8 of 8) sorted by relevance

/xnu-2782.1.97/EXTERNAL_HEADERS/corecrypto/
H A Dccdigest_priv.h16 ccdigest_ctx_t ctx, void *digest);
17 void ccdigest_final_64be(const struct ccdigest_info *di, ccdigest_ctx_t,
19 void ccdigest_final_64le(const struct ccdigest_info *di, ccdigest_ctx_t,
H A Dccsha1.h26 void ccsha1_final(const struct ccdigest_info *di, ccdigest_ctx_t,
H A Dccdigest.h32 } ccdigest_ctx_t __attribute__((transparent_union)); typedef in typeref:union:__anon5
46 ccdigest_ctx_t _ctxt;
62 void(*final)(const struct ccdigest_info *di, ccdigest_ctx_t ctx,
84 #define ccdigest_state(_di_, _ctx_) ((struct ccdigest_state *)(&((ccdigest_ctx_t)(_ctx_)).hdr->state.u8 + sizeof(uint64_t)))
89 #define ccdigest_nbits(_di_, _ctx_) (((uint64_t *)(&((ccdigest_ctx_t)(_ctx_)).hdr->state.u8))[0])
91 #define ccdigest_data(_di_, _ctx_) (&((ccdigest_ctx_t)(_ctx_)).hdr->state.u8 + (_di_)->state_size + sizeof(uint64_t))
92 #define ccdigest_num(_di_, _ctx_) (((unsigned int *)(&((ccdigest_ctx_t)(_ctx_)).hdr->state.u8 + (_di_)->state_size + sizeof(uint64_t) + (_di_)->block_size))[0])
109 void ccdigest_init(const struct ccdigest_info *di, ccdigest_ctx_t ctx);
110 void ccdigest_update(const struct ccdigest_info *di, ccdigest_ctx_t ctx,
114 void ccdigest_final(const struct ccdigest_info *di, ccdigest_ctx_t ct
[all...]
H A Dcchmac.h23 ccdigest_ctx_t digest;
36 /* Return a ccdigest_ctx_t which can be accesed with the macros in ccdigest.h */
39 /* Accesors for ostate fields, this is all cchmac_ctx_t adds to the ccdigest_ctx_t. */
46 /* Convenience accessors for ccdigest_ctx_t fields. */
/xnu-2782.1.97/osfmk/corecrypto/ccdigest/src/
H A Dccdigest_init.c13 void ccdigest_init(const struct ccdigest_info *di, ccdigest_ctx_t ctx) {
H A Dccdigest_update.c13 void ccdigest_update(const struct ccdigest_info *di, ccdigest_ctx_t ctx,
/xnu-2782.1.97/libkern/libkern/crypto/
H A Dregister_crypto.h44 typedef void (*ccdigest_init_fn_t)(const struct ccdigest_info *di, ccdigest_ctx_t ctx);
45 typedef void (*ccdigest_update_fn_t)(const struct ccdigest_info *di, ccdigest_ctx_t ctx,
47 typedef void (*ccdigest_final_fn_t)(const struct ccdigest_info *di, ccdigest_ctx_t ctx,
/xnu-2782.1.97/osfmk/corecrypto/ccsha1/src/
H A Dccdigest_final_64be.c14 void ccdigest_final_64be(const struct ccdigest_info *di, ccdigest_ctx_t ctx,

Completed in 33 milliseconds