Lines Matching refs:method
471 cryptmethod_T *method = &cryptmethods[state->method_nr]; in crypt_encode_alloc() local
473 if (method->encode_buffer_fn != NULL) in crypt_encode_alloc()
475 return method->encode_buffer_fn(state, from, len, newptr, last); in crypt_encode_alloc()
483 method->encode_fn(state, from, len, *newptr, last); in crypt_encode_alloc()
500 cryptmethod_T *method = &cryptmethods[state->method_nr]; in crypt_decode_alloc() local
502 if (method->decode_buffer_fn != NULL) in crypt_decode_alloc()
504 return method->decode_buffer_fn(state, ptr, len, newptr, last); in crypt_decode_alloc()
513 method->decode_fn(state, ptr, len, *newptr, last); in crypt_decode_alloc()
597 crypt_check_method(int method) in crypt_check_method() argument
599 if (method < CRYPT_M_BF2) in crypt_check_method()
610 int method = crypt_get_method_nr(curbuf); in crypt_check_swapfile_curbuf() local
611 if (method == CRYPT_M_SOD) in crypt_check_swapfile_curbuf()