Lines Matching +full:pre +full:- +full:filled
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
53 * Set if the algorithm has passed automated run-time testing. Note that
54 * if there is no run-time testing for a given algorithm it is considered
77 * Set if the algorithm has a ->setkey() method but can be used without
99 * - The IV buffer and all scatterlist elements must be aligned to the
101 * - If the data were to be divided into chunks of size
105 * - The IV buffer and all scatterlist elements must be aligned to the
107 * - The first scatterlist element must contain all the associated data,
109 * - If the plaintext/ciphertext were to be divided into chunks of size
113 * - crypto_ahash_finup() must not be used unless the algorithm implements
114 * ->finup() natively.
122 * not FIPS-approved but may instead be used to implement parts of
123 * a FIPS-approved algorithm (e.g., dh vs. ffdhe2048(dh)).
146 * faults for C data types. On architectures that support non-cache coherent
150 * maintenance for non-coherent DMA (cache invalidation in particular) does not
187 * struct cipher_alg - single-block symmetric ciphers definition
190 * algorithm. This must be set to one of the pre-defined
196 * algorithm. This must be set to one of the pre-defined values
216 * API will re-align the buffers. The re-alignment means that a
224 * transformation context, the key might need to be re-programmed
231 * All fields are mandatory and must be filled.
243 * struct compress_alg - compression/decompression algorithm
264 * struct crypto_alg - definition of a cryptograpic cipher algorithm
267 * used for fine-tuning the description of the transformation
316 * filled with callbacks. This field might be empty. This is the case
329 * @cra_u.cipher: Union member which contains a single-block symmetric cipher
395 case -EINPROGRESS: in crypto_wait_req()
396 case -EBUSY: in crypto_wait_req()
397 wait_for_completion(&wait->completion); in crypto_wait_req()
398 reinit_completion(&wait->completion); in crypto_wait_req()
399 err = wait->err; in crypto_wait_req()
408 init_completion(&wait->completion); in crypto_init_wait()
417 * Transforms: user-instantiated objects which encapsulate algorithms
457 return tfm->__crt_alg->cra_name; in crypto_tfm_alg_name()
462 return tfm->__crt_alg->cra_driver_name; in crypto_tfm_alg_driver_name()
467 return tfm->__crt_alg->cra_blocksize; in crypto_tfm_alg_blocksize()
472 return tfm->__crt_alg->cra_alignmask; in crypto_tfm_alg_alignmask()
477 return tfm->crt_flags; in crypto_tfm_get_flags()
482 tfm->crt_flags |= flags; in crypto_tfm_set_flags()
487 tfm->crt_flags &= ~flags; in crypto_tfm_clear_flags()
493 return __alignof__(tfm->__crt_ctx); in crypto_tfm_ctx_alignment()
513 return &tfm->base; in crypto_comp_tfm()