Home
last modified time | relevance | path

Searched refs:fromc (Results 1 – 4 of 4) sorted by relevance

/freebsd-14.2/sys/crypto/armv8/
H A Darmv8_crypto_wrap.c114 from = crypto_cursor_segment(fromc, &fromseglen); in armv8_aes_encrypt_cbc()
119 crypto_cursor_copydata(fromc, AES_BLOCK_LEN, block); in armv8_aes_encrypt_cbc()
140 crypto_cursor_advance(fromc, seglen); in armv8_aes_encrypt_cbc()
162 from = crypto_cursor_segment(fromc, &fromseglen); in armv8_aes_decrypt_cbc()
186 crypto_cursor_advance(fromc, oseglen - seglen); in armv8_aes_decrypt_cbc()
265 from = crypto_cursor_segment(fromc, &fromseglen); in armv8_aes_crypt_xts()
284 crypto_cursor_advance(fromc, seglen); in armv8_aes_crypt_xts()
444 crypto_cursor_advance(fromc, seglen); in armv8_aes_encrypt_gcm()
473 crypto_cursor_copy(fromc, &fromcc); in armv8_aes_decrypt_gcm()
506 crypto_cursor_copydata(fromc, seglen, block); in armv8_aes_decrypt_gcm()
[all …]
H A Darmv8_crypto.c307 struct crypto_buffer_cursor fromc, toc; in armv8_crypto_cipher_process() local
330 crypto_cursor_init(&fromc, &crp->crp_buf); in armv8_crypto_cipher_process()
331 crypto_cursor_advance(&fromc, crp->crp_payload_start); in armv8_crypto_cipher_process()
336 crypto_cursor_copy(&fromc, &toc); in armv8_crypto_cipher_process()
357 crp->crp_payload_length, &fromc, &toc, iv); in armv8_crypto_cipher_process()
360 crp->crp_payload_length, &fromc, &toc, iv); in armv8_crypto_cipher_process()
366 &fromc, &toc, iv); in armv8_crypto_cipher_process()
370 &fromc, &toc, iv); in armv8_crypto_cipher_process()
376 crp->crp_payload_length, &fromc, &toc, in armv8_crypto_cipher_process()
384 crp->crp_payload_length, &fromc, &toc, in armv8_crypto_cipher_process()
H A Darmv8_crypto.h65 struct crypto_buffer_cursor *fromc, struct crypto_buffer_cursor *toc,
68 struct crypto_buffer_cursor *fromc, struct crypto_buffer_cursor *toc,
/freebsd-14.2/sys/opencrypto/
H A Dcryptodev.h688 crypto_cursor_copy(const struct crypto_buffer_cursor *fromc, in crypto_cursor_copy() argument
691 memcpy(toc, fromc, sizeof(*toc)); in crypto_cursor_copy()