Searched refs:state_size (Results 1 - 5 of 5) sorted by relevance
/darwin-on-arm/xnu/EXTERNAL_HEADERS/corecrypto/ |
H A D | ccdigest.h | 48 unsigned long state_size; member in struct:ccdigest_info 63 #define ccdigest_di_size(_di_) (ccdigest_ctx_size((_di_)->state_size, (_di_)->block_size)) 81 #define ccdigest_nbits(_di_, _ctx_) (((uint64_t *)(&((ccdigest_ctx_t)(_ctx_)).hdr->state.u8 + (_di_)->state_size))[0]) 82 #define ccdigest_data(_di_, _ctx_) (&((ccdigest_ctx_t)(_ctx_)).hdr->state.u8 + (_di_)->state_size + sizeof(uint64_t)) 83 #define ccdigest_num(_di_, _ctx_) (((unsigned int *)(&((ccdigest_ctx_t)(_ctx_)).hdr->state.u8 + (_di_)->state_size + sizeof(uint64_t) + (_di_)->block_size))[0]) 95 #define ccdigest_copy_state(_di_, _dst_, _src_) ccn_set((_di_)->state_size / CCN_UNIT_SIZE, _dst_, _src_) 97 #define ccdigest_copy_state(_di_, _dst_, _src_) CC_MEMCPY(_dst_, _src_, (_di_)->state_size)
|
H A D | cchmac.h | 27 #define cchmac_di_size(_di_) (cchmac_ctx_size((_di_)->state_size, (_di_)->block_size)) 33 #define cchmac_di_decl(_di_, _name_) cchmac_ctx_decl((_di_)->state_size, (_di_)->block_size, _name_) 34 #define cchmac_di_clear(_di_, _name_) cchmac_ctx_clear((_di_)->state_size, (_di_)->block_size, _name_)
|
/darwin-on-arm/xnu/libkern/crypto/ |
H A D | corecrypto_md5.c | 26 memcpy(md5_ctx->state, ccdigest_state_ccn(di, di_ctx), di->state_size); 37 memcpy(ccdigest_state_ccn(di, di_ctx), md5_ctx->state, di->state_size);
|
H A D | corecrypto_sha1.c | 27 memcpy(sha1_ctx->h.b8, ccdigest_state_ccn(di, di_ctx), di->state_size); 38 memcpy(ccdigest_state_ccn(di, di_ctx), sha1_ctx->h.b8, di->state_size);
|
/darwin-on-arm/xnu/osfmk/i386/ |
H A D | fpu.c | 486 size_t state_size = sizeof(struct x86_fx_thread_state); local 550 bcopy((char *)&state->fpu_fcw, (char *)ifps, state_size); 609 size_t state_size = sizeof(struct x86_fx_thread_state); local 632 state_size); 654 bcopy((char *)ifps, (char *)&state->fpu_fcw, state_size);
|
Completed in 17 milliseconds