Lines Matching +full:pre +full:- +full:filled

1 /* SPDX-License-Identifier: GPL-2.0-or-later */
54 * Set if the algorithm has passed automated run-time testing. Note that
55 * if there is no run-time testing for a given algorithm it is considered
78 * Set if the algorithm has a ->setkey() method but can be used without
100 * - The IV buffer and all scatterlist elements must be aligned to the
102 * - If the data were to be divided into chunks of size
106 * - The IV buffer and all scatterlist elements must be aligned to the
108 * - The first scatterlist element must contain all the associated data,
110 * - If the plaintext/ciphertext were to be divided into chunks of size
114 * - crypto_ahash_finup() must not be used unless the algorithm implements
115 * ->finup() natively.
123 * not FIPS-approved but may instead be used to implement parts of
124 * a FIPS-approved algorithm (e.g., dh vs. ffdhe2048(dh)).
151 * faults for C data types. On architectures that support non-cache coherent
155 * maintenance for non-coherent DMA (cache invalidation in particular) does not
193 * struct cipher_alg - single-block symmetric ciphers definition
196 * algorithm. This must be set to one of the pre-defined
202 * algorithm. This must be set to one of the pre-defined values
222 * API will re-align the buffers. The re-alignment means that a
230 * transformation context, the key might need to be re-programmed
237 * All fields are mandatory and must be filled.
251 * struct crypto_alg - definition of a cryptograpic cipher algorithm
254 * used for fine-tuning the description of the transformation
303 * filled with callbacks. This field might be empty. This is the case
316 * @cra_u.cipher: Union member which contains a single-block symmetric cipher
379 case -EINPROGRESS: in crypto_wait_req()
380 case -EBUSY: in crypto_wait_req()
381 wait_for_completion(&wait->completion); in crypto_wait_req()
382 reinit_completion(&wait->completion); in crypto_wait_req()
383 err = wait->err; in crypto_wait_req()
392 init_completion(&wait->completion); in crypto_init_wait()
401 * Transforms: user-instantiated objects which encapsulate algorithms
437 return tfm->__crt_alg->cra_name; in crypto_tfm_alg_name()
442 return tfm->__crt_alg->cra_driver_name; in crypto_tfm_alg_driver_name()
447 return tfm->__crt_alg->cra_blocksize; in crypto_tfm_alg_blocksize()
452 return tfm->__crt_alg->cra_alignmask; in crypto_tfm_alg_alignmask()
457 return tfm->crt_flags; in crypto_tfm_get_flags()
462 tfm->crt_flags |= flags; in crypto_tfm_set_flags()
467 tfm->crt_flags &= ~flags; in crypto_tfm_clear_flags()
473 return __alignof__(tfm->__crt_ctx); in crypto_tfm_ctx_alignment()
478 req->err = -EINPROGRESS; in crypto_reqchain_init()
479 INIT_LIST_HEAD(&req->list); in crypto_reqchain_init()
485 req->err = -EINPROGRESS; in crypto_request_chain()
486 list_add_tail(&req->list, &head->list); in crypto_request_chain()
491 return tfm->__crt_alg->cra_flags & CRYPTO_ALG_ASYNC; in crypto_tfm_is_async()