Lines Matching refs:b_cryptstate
1106 if (curbuf->b_cryptstate != NULL) in readfile()
1110 crypt_free_state(curbuf->b_cryptstate); in readfile()
1111 curbuf->b_cryptstate = NULL; in readfile()
1284 else if (filesize > 0 && (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()
1315 if (cryptkey != NULL && curbuf->b_cryptstate != NULL in readfile()
1319 if (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()
2305 curbuf->b_cryptstate = NULL; in readfile()
2929 curbuf->b_cryptstate = crypt_create_from_header( in check_for_cryptkey()