Lines Matching refs:flags

58 	int (*complete)(struct aead_request *req, u32 flags);
201 unsigned int len, u32 flags) in gcm_hash_update() argument
206 ahash_request_set_callback(ahreq, flags, compl, req); in gcm_hash_update()
214 crypto_completion_t compl, u32 flags) in gcm_hash_remain() argument
216 return gcm_hash_update(req, compl, &gcm_zeroes->sg, remain, flags); in gcm_hash_remain()
219 static int gcm_hash_len(struct aead_request *req, u32 flags) in gcm_hash_len() argument
230 ahash_request_set_callback(ahreq, flags, gcm_hash_len_done, req); in gcm_hash_len()
237 static int gcm_hash_len_continue(struct aead_request *req, u32 flags) in gcm_hash_len_continue() argument
242 return gctx->complete(req, flags); in gcm_hash_len_continue()
260 static int gcm_hash_crypt_remain_continue(struct aead_request *req, u32 flags) in gcm_hash_crypt_remain_continue() argument
262 return gcm_hash_len(req, flags) ?: in gcm_hash_crypt_remain_continue()
263 gcm_hash_len_continue(req, flags); in gcm_hash_crypt_remain_continue()
281 static int gcm_hash_crypt_continue(struct aead_request *req, u32 flags) in gcm_hash_crypt_continue() argument
290 gcm_hash_crypt_remain_done, flags) ?: in gcm_hash_crypt_continue()
291 gcm_hash_crypt_remain_continue(req, flags); in gcm_hash_crypt_continue()
293 return gcm_hash_crypt_remain_continue(req, flags); in gcm_hash_crypt_continue()
311 static int gcm_hash_assoc_remain_continue(struct aead_request *req, u32 flags) in gcm_hash_assoc_remain_continue() argument
318 gctx->src, gctx->cryptlen, flags) ?: in gcm_hash_assoc_remain_continue()
319 gcm_hash_crypt_continue(req, flags); in gcm_hash_assoc_remain_continue()
321 return gcm_hash_crypt_remain_continue(req, flags); in gcm_hash_assoc_remain_continue()
339 static int gcm_hash_assoc_continue(struct aead_request *req, u32 flags) in gcm_hash_assoc_continue() argument
346 gcm_hash_assoc_remain_done, flags) ?: in gcm_hash_assoc_continue()
347 gcm_hash_assoc_remain_continue(req, flags); in gcm_hash_assoc_continue()
349 return gcm_hash_assoc_remain_continue(req, flags); in gcm_hash_assoc_continue()
367 static int gcm_hash_init_continue(struct aead_request *req, u32 flags) in gcm_hash_init_continue() argument
371 req->src, req->assoclen, flags) ?: in gcm_hash_init_continue()
372 gcm_hash_assoc_continue(req, flags); in gcm_hash_init_continue()
374 return gcm_hash_assoc_remain_continue(req, flags); in gcm_hash_init_continue()
392 static int gcm_hash(struct aead_request *req, u32 flags) in gcm_hash() argument
400 ahash_request_set_callback(ahreq, flags, gcm_hash_init_done, req); in gcm_hash()
402 gcm_hash_init_continue(req, flags); in gcm_hash()
405 static int gcm_enc_copy_hash(struct aead_request *req, u32 flags) in gcm_enc_copy_hash() argument
418 static int gcm_encrypt_continue(struct aead_request *req, u32 flags) in gcm_encrypt_continue() argument
427 return gcm_hash(req, flags); in gcm_encrypt_continue()
449 u32 flags = aead_request_flags(req); in crypto_gcm_encrypt() local
453 skcipher_request_set_callback(skreq, flags, gcm_encrypt_done, req); in crypto_gcm_encrypt()
456 gcm_encrypt_continue(req, flags); in crypto_gcm_encrypt()
484 static int gcm_dec_hash_continue(struct aead_request *req, u32 flags) in gcm_dec_hash_continue() argument
491 skcipher_request_set_callback(skreq, flags, gcm_decrypt_done, req); in gcm_dec_hash_continue()
502 u32 flags = aead_request_flags(req); in crypto_gcm_decrypt() local
512 return gcm_hash(req, flags); in crypto_gcm_decrypt()
745 aead_request_set_callback(subreq, req->base.flags, req->base.complete, in crypto_rfc4106_crypt()
941 aead_request_set_callback(subreq, req->base.flags, in crypto_rfc4543_crypt()