Searched refs:b_cryptstate (Results 1 – 3 of 3) sorted by relevance
494 if (crypt_works_inplace(ip->bw_buffer->b_cryptstate)) in buf_write_bytes()497 crypt_encode_inplace(ip->bw_buffer->b_cryptstate, buf, len, in buf_write_bytes()1935 buf->b_cryptstate = crypt_create_for_writing( in buf_write()1938 if (buf->b_cryptstate == NULL || header == NULL) in buf_write()1992 && (buf->b_cryptstate == NULL in buf_write()1993 || crypt_works_inplace(buf->b_cryptstate)) in buf_write()2004 && buf->b_cryptstate != NULL in buf_write()2005 && !crypt_works_inplace(buf->b_cryptstate)) in buf_write()2255 if (buf->b_cryptstate != NULL) in buf_write()2257 crypt_free_state(buf->b_cryptstate); in buf_write()[all …]
1106 if (curbuf->b_cryptstate != NULL) in readfile()1110 crypt_free_state(curbuf->b_cryptstate); in readfile()1111 curbuf->b_cryptstate = NULL; in readfile()1285 curbuf->b_cryptstate->method_nr == CRYPT_M_SOD)) in readfile()1305 if (curbuf->b_cryptstate != NULL in readfile()1306 && !crypt_works_inplace(curbuf->b_cryptstate)) in readfile()1322 crypt_decode_inplace(curbuf->b_cryptstate, ptr, in readfile()1332 curbuf->b_cryptstate, ptr, size, in readfile()2302 if (curbuf->b_cryptstate != NULL) in readfile()2304 crypt_free_state(curbuf->b_cryptstate); in readfile()[all …]
3145 cryptstate_T *b_cryptstate; // Encryption state while reading or writing member