Lines Matching refs:pad
272 || !ctx->pad) { in ossl_cipher_generic_block_update()
349 if (ctx->bufsz == blksz && (ctx->enc || inl > 0 || !ctx->pad)) { in ossl_cipher_generic_block_update()
363 if (!ctx->enc && ctx->pad && nextblocks == inl) { in ossl_cipher_generic_block_update()
415 if (ctx->pad) { in ossl_cipher_generic_block_final()
440 if (ctx->bufsz == 0 && !ctx->pad) { in ossl_cipher_generic_block_final()
453 if (ctx->pad && !ossl_cipher_unpadblock(ctx->buf, &ctx->bufsz, blksz)) { in ossl_cipher_generic_block_final()
586 if (p != NULL && !OSSL_PARAM_set_uint(p, ctx->pad)) { in ossl_cipher_generic_get_ctx_params()
633 unsigned int pad; in ossl_cipher_generic_set_ctx_params() local
635 if (!OSSL_PARAM_get_uint(p, &pad)) { in ossl_cipher_generic_set_ctx_params()
639 ctx->pad = pad ? 1 : 0; in ossl_cipher_generic_set_ctx_params()
704 ctx->pad = 1; in ossl_cipher_generic_initkey()