Home
last modified time | relevance | path

Searched refs:SPU_XTS_TWEAK_SIZE (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/crypto/bcm/
H A Dspu.c341 max_payload -= SPU_XTS_TWEAK_SIZE; in spum_ns2_ctx_max_payload()
370 max_payload -= SPU_XTS_TWEAK_SIZE; in spum_nsp_ctx_max_payload()
986 SPU_XTS_TWEAK_SIZE); in spum_cipher_req_finish()
1002 bd->size = cpu_to_be16(data_size + SPU_XTS_TWEAK_SIZE); in spum_cipher_req_finish()
H A Dspu.h174 #define SPU_XTS_TWEAK_SIZE 16 macro
H A Dcipher.c157 SPU_XTS_TWEAK_SIZE); in spu_skcipher_rx_sg_create()
221 sg_set_buf(sg++, rctx->msg_buf.iv_ctr, SPU_XTS_TWEAK_SIZE); in spu_skcipher_tx_sg_create()
484 * In XTS mode, the first SPU_XTS_TWEAK_SIZE bytes may be the in handle_skcipher_resp()
489 (payload_len >= SPU_XTS_TWEAK_SIZE)) in handle_skcipher_resp()
490 payload_len -= SPU_XTS_TWEAK_SIZE; in handle_skcipher_resp()
/kernel/linux/linux-6.6/drivers/crypto/bcm/
H A Dspu.c339 max_payload -= SPU_XTS_TWEAK_SIZE; in spum_ns2_ctx_max_payload()
368 max_payload -= SPU_XTS_TWEAK_SIZE; in spum_nsp_ctx_max_payload()
984 SPU_XTS_TWEAK_SIZE); in spum_cipher_req_finish()
1000 bd->size = cpu_to_be16(data_size + SPU_XTS_TWEAK_SIZE); in spum_cipher_req_finish()
H A Dspu.h175 #define SPU_XTS_TWEAK_SIZE 16 macro
H A Dcipher.c157 SPU_XTS_TWEAK_SIZE); in spu_skcipher_rx_sg_create()
221 sg_set_buf(sg++, rctx->msg_buf.iv_ctr, SPU_XTS_TWEAK_SIZE); in spu_skcipher_tx_sg_create()
482 * In XTS mode, the first SPU_XTS_TWEAK_SIZE bytes may be the in handle_skcipher_resp()
487 (payload_len >= SPU_XTS_TWEAK_SIZE)) in handle_skcipher_resp()
488 payload_len -= SPU_XTS_TWEAK_SIZE; in handle_skcipher_resp()

Completed in 14 milliseconds