Lines Matching defs:mode

37 CC_INLINE size_t ccecb_block_size(const struct ccmode_ecb *mode)  in ccecb_block_size()
42 CC_INLINE int ccecb_init(const struct ccmode_ecb *mode, ccecb_ctx *ctx, size_t key_len, const void … in ccecb_init()
47 CC_INLINE int ccecb_update(const struct ccmode_ecb *mode, const ccecb_ctx *ctx, size_t nblocks, con… in ccecb_update()
53 ccecb_one_shot(const struct ccmode_ecb *mode, size_t key_len, const void *key, size_t nblocks, cons… in ccecb_one_shot()
85 CC_INLINE size_t cccbc_context_size(const struct ccmode_cbc *mode) in cccbc_context_size()
90 CC_INLINE size_t cccbc_block_size(const struct ccmode_cbc *mode) in cccbc_block_size()
95 CC_INLINE int cccbc_init(const struct ccmode_cbc *mode, cccbc_ctx *ctx, size_t key_len, const void … in cccbc_init()
113 CC_INLINE int cccbc_set_iv(const struct ccmode_cbc *mode, cccbc_iv *iv_ctx, const void *iv) in cccbc_set_iv()
119 CC_INLINE int cccbc_update(const struct ccmode_cbc *mode, cccbc_ctx *ctx, cccbc_iv *iv, size_t nblo… in cccbc_update()
139 CC_INLINE size_t cccfb_context_size(const struct ccmode_cfb *mode) in cccfb_context_size()
144 CC_INLINE size_t cccfb_block_size(const struct ccmode_cfb *mode) in cccfb_block_size()
149 CC_INLINE int cccfb_init(const struct ccmode_cfb *mode, cccfb_ctx *ctx, size_t key_len, const void … in cccfb_init()
154 CC_INLINE int cccfb_update(const struct ccmode_cfb *mode, cccfb_ctx *ctx, size_t nbytes, const void… in cccfb_update()
159 CC_INLINE int cccfb_one_shot(const struct ccmode_cfb *mode, in cccfb_one_shot()
184 CC_INLINE size_t cccfb8_context_size(const struct ccmode_cfb8 *mode) in cccfb8_context_size()
189 CC_INLINE size_t cccfb8_block_size(const struct ccmode_cfb8 *mode) in cccfb8_block_size()
194 CC_INLINE int cccfb8_init(const struct ccmode_cfb8 *mode, cccfb8_ctx *ctx, size_t key_len, const vo… in cccfb8_init()
199 CC_INLINE int cccfb8_update(const struct ccmode_cfb8 *mode, cccfb8_ctx *ctx, size_t nbytes, const v… in cccfb8_update()
204 CC_INLINE int cccfb8_one_shot(const struct ccmode_cfb8 *mode, in cccfb8_one_shot()
233 CC_INLINE size_t ccctr_context_size(const struct ccmode_ctr *mode) in ccctr_context_size()
238 CC_INLINE size_t ccctr_block_size(const struct ccmode_ctr *mode) in ccctr_block_size()
243 CC_INLINE int ccctr_init(const struct ccmode_ctr *mode, ccctr_ctx *ctx, size_t key_len, const void … in ccctr_init()
248 CC_INLINE int ccctr_update(const struct ccmode_ctr *mode, ccctr_ctx *ctx, size_t nbytes, const void… in ccctr_update()
253 CC_INLINE int ccctr_one_shot(const struct ccmode_ctr *mode, in ccctr_one_shot()
278 CC_INLINE size_t ccofb_context_size(const struct ccmode_ofb *mode) in ccofb_context_size()
283 CC_INLINE size_t ccofb_block_size(const struct ccmode_ofb *mode) in ccofb_block_size()
288 CC_INLINE int ccofb_init(const struct ccmode_ofb *mode, ccofb_ctx *ctx, size_t key_len, const void … in ccofb_init()
293 CC_INLINE int ccofb_update(const struct ccmode_ofb *mode, ccofb_ctx *ctx, size_t nbytes, const void… in ccofb_update()
298 CC_INLINE int ccofb_one_shot(const struct ccmode_ofb *mode, in ccofb_one_shot()
341 CC_INLINE size_t ccxts_context_size(const struct ccmode_xts *mode) in ccxts_context_size()
346 CC_INLINE size_t ccxts_block_size(const struct ccmode_xts *mode) in ccxts_block_size()
366 ccxts_init(const struct ccmode_xts *mode, ccxts_ctx *ctx, size_t key_nbytes, const void *cc_sized_b… in ccxts_init()
382 CC_INLINE int ccxts_set_tweak(const struct ccmode_xts *mode, ccxts_ctx *ctx, ccxts_tweak *tweak, co… in ccxts_set_tweak()
401 ccxts_update(const struct ccmode_xts *mode, ccxts_ctx *ctx, ccxts_tweak *tweak, size_t nblocks, con… in ccxts_update()
450 CC_INLINE size_t ccgcm_context_size(const struct ccmode_gcm *mode) in ccgcm_context_size()
455 CC_INLINE size_t ccgcm_block_size(const struct ccmode_gcm *mode) in ccgcm_block_size()
494 CC_INLINE int ccgcm_init(const struct ccmode_gcm *mode, ccgcm_ctx *ctx, size_t key_nbytes, const vo… in ccgcm_init()
566 CC_INLINE int ccgcm_set_iv(const struct ccmode_gcm *mode, ccgcm_ctx *ctx, size_t iv_nbytes, const v… in ccgcm_set_iv()
627 CC_INLINE int ccgcm_aad(const struct ccmode_gcm *mode, ccgcm_ctx *ctx, size_t nbytes, const void *c… in ccgcm_aad()
637 CC_INLINE int ccgcm_gmac (const struct ccmode_gcm *mode, ccgcm_ctx *ctx, size_t nbytes, const void … in ccgcm_gmac()
659 CC_INLINE int ccgcm_update(const struct ccmode_gcm *mode, ccgcm_ctx *ctx, size_t nbytes, const void… in ccgcm_update()
686 CC_INLINE int ccgcm_finalize(const struct ccmode_gcm *mode, ccgcm_ctx *ctx, size_t tag_nbytes, void… in ccgcm_finalize()
702 CC_INLINE int ccgcm_reset(const struct ccmode_gcm *mode, ccgcm_ctx *ctx) in ccgcm_reset()
807 CC_INLINE size_t ccccm_context_size(const struct ccmode_ccm *mode) in ccccm_context_size()
812 CC_INLINE size_t ccccm_block_size(const struct ccmode_ccm *mode) in ccccm_block_size()
822 CC_INLINE int ccccm_init(const struct ccmode_ccm *mode, ccccm_ctx *ctx, size_t key_len, const void … in ccccm_init()
836 CC_INLINE int ccccm_set_iv(const struct ccmode_ccm *mode, in ccccm_set_iv()
854 CC_INLINE int ccccm_cbcmac(const struct ccmode_ccm *mode, ccccm_ctx *ctx, ccccm_nonce *nonce_ctx, s… in ccccm_cbcmac()
865 CC_INLINE int ccccm_aad(const struct ccmode_ccm *mode, ccccm_ctx *ctx, ccccm_nonce *nonce_ctx, size… in ccccm_aad()
877 CC_INLINE int ccccm_update(const struct ccmode_ccm *mode, ccccm_ctx *ctx, ccccm_nonce *nonce_ctx, s… in ccccm_update()
907 CC_INLINE int ccccm_finalize(const struct ccmode_ccm *mode, ccccm_ctx *ctx, ccccm_nonce *nonce_ctx,… in ccccm_finalize()
932 CC_INLINE int ccccm_reset(const struct ccmode_ccm *mode, ccccm_ctx *ctx, ccccm_nonce *nonce_ctx) in ccccm_reset()
951 CC_INLINE int ccccm_one_shot(const struct ccmode_ccm *mode, in ccccm_one_shot()
1047 CC_INLINE size_t ccomac_context_size(const struct ccmode_omac *mode) in ccomac_context_size()
1052 CC_INLINE size_t ccomac_block_size(const struct ccmode_omac *mode) in ccomac_block_size()
1057 CC_INLINE int ccomac_init(const struct ccmode_omac *mode, ccomac_ctx *ctx, size_t tweak_len, size_t… in ccomac_init()
1063 ccomac_update(const struct ccmode_omac *mode, ccomac_ctx *ctx, size_t nblocks, const void *tweak, c… in ccomac_update()
1068 CC_INLINE int ccomac_one_shot(const struct ccmode_omac *mode, in ccomac_one_shot()