Searched refs:cc_in (Results 1 – 4 of 4) sorted by relevance
/freebsd/sys/crypto/openssl/ |
H A D | ossl_chacha20.c | 62 struct crypto_buffer_cursor cc_in, cc_out; in ossl_chacha20() local 80 crypto_cursor_init(&cc_in, &crp->crp_buf); in ossl_chacha20() 81 crypto_cursor_advance(&cc_in, crp->crp_payload_start); in ossl_chacha20() 82 inseg = crypto_cursor_segment(&cc_in, &inlen); in ossl_chacha20() 87 cc_out = cc_in; in ossl_chacha20() 91 crypto_cursor_copydata(&cc_in, CHACHA_BLK_SIZE, block); in ossl_chacha20() 133 inseg = crypto_cursor_segment(&cc_in, &inlen); in ossl_chacha20() 135 crypto_cursor_advance(&cc_in, todo); in ossl_chacha20() 144 crypto_cursor_copydata(&cc_in, resid, block); in ossl_chacha20() 164 struct crypto_buffer_cursor cc_in, cc_out; in ossl_chacha20_poly1305_encrypt() local [all …]
|
H A D | ossl_aes.c | 79 struct crypto_buffer_cursor cc_in, cc_out; in ossl_aes_cbc() local 117 crypto_cursor_init(&cc_in, &crp->crp_buf); in ossl_aes_cbc() 118 crypto_cursor_advance(&cc_in, crp->crp_payload_start); in ossl_aes_cbc() 119 inseg = crypto_cursor_segment(&cc_in, &inlen); in ossl_aes_cbc() 124 cc_out = cc_in; in ossl_aes_cbc() 130 crypto_cursor_copydata(&cc_in, blocklen, block); in ossl_aes_cbc() 157 inseg = crypto_cursor_segment(&cc_in, &inlen); in ossl_aes_cbc() 159 crypto_cursor_advance(&cc_in, seglen); in ossl_aes_cbc() 177 struct crypto_buffer_cursor cc_in, cc_out; in ossl_aes_gcm() local 211 crypto_cursor_init(&cc_in, &crp->crp_buf); in ossl_aes_gcm() [all …]
|
/freebsd/sys/opencrypto/ |
H A D | cryptosoft.c | 107 struct crypto_buffer_cursor cc_in, cc_out; in swcr_encdec() local 144 crypto_cursor_init(&cc_in, &crp->crp_buf); in swcr_encdec() 145 crypto_cursor_advance(&cc_in, crp->crp_payload_start); in swcr_encdec() 150 cc_out = cc_in; in swcr_encdec() 163 inblk = crypto_cursor_segment(&cc_in, &inlen); in swcr_encdec() 173 crypto_cursor_copydata(&cc_in, blksz, blk); in swcr_encdec() 190 inblk = crypto_cursor_segment(&cc_in, &inlen); in swcr_encdec() 192 crypto_cursor_advance(&cc_in, todo); in swcr_encdec() 214 inblk = crypto_cursor_segment(&cc_in, &inlen); in swcr_encdec() 217 crypto_cursor_copydata(&cc_in, resid, blk); in swcr_encdec() [all …]
|
/freebsd/sys/dev/axgbe/ |
H A D | xgbe-phy-v2.c | 1372 xgbe_phy_sfp_verify_eeprom(uint8_t cc_in, uint8_t *buf, unsigned int len) in xgbe_phy_sfp_verify_eeprom() argument 1379 return ((cc == cc_in) ? true : false); in xgbe_phy_sfp_verify_eeprom()
|