Lines Matching refs:encrypt_block

50     int (*encrypt_block)(const void *, const uint8_t *, uint8_t *),  in ccm_mode_encrypt_contiguous_blocks()
106 encrypt_block(ctx->ccm_keysched, mac_buf, mac_buf); in ccm_mode_encrypt_contiguous_blocks()
109 encrypt_block(ctx->ccm_keysched, (uint8_t *)ctx->ccm_cb, in ccm_mode_encrypt_contiguous_blocks()
184 int (*encrypt_block)(const void *, const uint8_t *, uint8_t *)) in calculate_ccm_mac()
197 encrypt_block(ctx->ccm_keysched, (uint8_t *)ctx->ccm_cb, counterp); in calculate_ccm_mac()
208 int (*encrypt_block)(const void *, const uint8_t *, uint8_t *), in ccm_encrypt_final()
247 encrypt_block(ctx->ccm_keysched, mac_buf, mac_buf); in ccm_encrypt_final()
251 encrypt_block(ctx->ccm_keysched, (uint8_t *)ctx->ccm_cb, lastp); in ccm_encrypt_final()
262 calculate_ccm_mac(ctx, ccm_mac_p, encrypt_block); in ccm_encrypt_final()
335 int (*encrypt_block)(const void *, const uint8_t *, uint8_t *)) in ccm_decrypt_incomplete_block()
344 encrypt_block(ctx->ccm_keysched, (uint8_t *)ctx->ccm_cb, counterp); in ccm_decrypt_incomplete_block()
361 int (*encrypt_block)(const void *, const uint8_t *, uint8_t *), in ccm_mode_decrypt_contiguous_blocks()
431 ccm_decrypt_incomplete_block(ctx, encrypt_block); in ccm_mode_decrypt_contiguous_blocks()
467 encrypt_block(ctx->ccm_keysched, (uint8_t *)ctx->ccm_cb, cbp); in ccm_mode_decrypt_contiguous_blocks()
512 encrypt_block); in ccm_mode_decrypt_contiguous_blocks()
528 int (*encrypt_block)(const void *, const uint8_t *, uint8_t *), in ccm_decrypt_final()
563 encrypt_block(ctx->ccm_keysched, mac_buf, mac_buf); in ccm_decrypt_final()
568 calculate_ccm_mac((ccm_ctx_t *)ctx, ccm_mac_p, encrypt_block); in ccm_decrypt_final()
772 int (*encrypt_block)(const void *, const uint8_t *, uint8_t *), in ccm_init()
799 encrypt_block(ctx->ccm_keysched, mac_buf, mac_buf); in ccm_init()
822 encrypt_block(ctx->ccm_keysched, mac_buf, mac_buf); in ccm_init()
846 encrypt_block(ctx->ccm_keysched, mac_buf, mac_buf); in ccm_init()
856 int (*encrypt_block)(const void *, const uint8_t *, uint8_t *), in ccm_init_ctx()
888 encrypt_block, xor_block) != 0) { in ccm_init_ctx()