Searched refs:fromc (Results 1 – 4 of 4) sorted by relevance
/freebsd/sys/crypto/armv8/ |
H A D | armv8_crypto_wrap.c | 101 struct crypto_buffer_cursor *fromc, struct crypto_buffer_cursor *toc, in armv8_aes_encrypt_cbc() argument 113 from = crypto_cursor_segment(fromc, &fromseglen); in armv8_aes_encrypt_cbc() 118 crypto_cursor_copydata(fromc, AES_BLOCK_LEN, block); in armv8_aes_encrypt_cbc() 139 crypto_cursor_advance(fromc, seglen); in armv8_aes_encrypt_cbc() 149 struct crypto_buffer_cursor *fromc, struct crypto_buffer_cursor *toc, in armv8_aes_decrypt_cbc() argument 161 from = crypto_cursor_segment(fromc, &fromseglen); in armv8_aes_decrypt_cbc() 166 crypto_cursor_copydata(fromc, AES_BLOCK_LEN, block); in armv8_aes_decrypt_cbc() 185 crypto_cursor_advance(fromc, oseglen - seglen); in armv8_aes_decrypt_cbc() 237 struct crypto_buffer_cursor *fromc, struct crypto_buffer_cursor *toc, in armv8_aes_crypt_xts() argument 264 from = crypto_cursor_segment(fromc, &fromseglen); in armv8_aes_crypt_xts() [all …]
|
H A D | armv8_crypto.c | 306 struct crypto_buffer_cursor fromc, toc; in armv8_crypto_cipher_process() local 329 crypto_cursor_init(&fromc, &crp->crp_buf); in armv8_crypto_cipher_process() 330 crypto_cursor_advance(&fromc, crp->crp_payload_start); in armv8_crypto_cipher_process() 335 crypto_cursor_copy(&fromc, &toc); in armv8_crypto_cipher_process() 356 crp->crp_payload_length, &fromc, &toc, iv); in armv8_crypto_cipher_process() 359 crp->crp_payload_length, &fromc, &toc, iv); in armv8_crypto_cipher_process() 365 &fromc, &toc, iv); in armv8_crypto_cipher_process() 369 &fromc, &toc, iv); in armv8_crypto_cipher_process() 375 crp->crp_payload_length, &fromc, &toc, in armv8_crypto_cipher_process() 383 crp->crp_payload_length, &fromc, &toc, in armv8_crypto_cipher_process()
|
H A D | armv8_crypto.h | 65 struct crypto_buffer_cursor *fromc, struct crypto_buffer_cursor *toc, 68 struct crypto_buffer_cursor *fromc, struct crypto_buffer_cursor *toc,
|
/freebsd/sys/opencrypto/ |
H A D | cryptodev.h | 688 crypto_cursor_copy(const struct crypto_buffer_cursor *fromc, in crypto_cursor_copy() argument 691 memcpy(toc, fromc, sizeof(*toc)); in crypto_cursor_copy()
|