Home
last modified time | relevance | path

Searched +full:zero +full:- +full:initialised (Results 1 – 25 of 152) sorted by relevance

1234567

/freebsd/contrib/bearssl/inc/
H A Dbearssl_block.h48 * initialised with the encryption key.
63 * - `br_xxx_BLOCK_SIZE`
69 * - `br_xxx_cbcenc_keys`
76 * - `br_xxx_cbcenc_init(br_xxx_cbcenc_keys *ctx, const void *key, size_t len)`
83 * - `br_xxx_cbcenc_run(const br_xxx_cbcenc_keys *ctx, void *iv, void *data, size_t len)`
91 * - `br_xxx_cbcdec_keys`
98 * - `br_xxx_cbcdec_init(br_xxx_cbcenc_keys *ctx, const void *key, size_t len)`
105 * - `br_xxx_cbcdec_run(const br_xxx_cbcdec_keys *ctx, void *iv, void *data, size_t num_blocks)`
113 * - `br_xxx_ctr_keys`
120 * - `br_xxx_ctr_init(br_xxx_ctr_keys *ctx, const void *key, size_t len)`
[all …]
H A Dbearssl_aead.h51 * - A symmetric key. Exact size depends on the AEAD algorithm.
53 * - A nonce (IV). Size depends on the AEAD algorithm; for most
58 * - Data to encrypt and protect.
60 * - Additional authenticated data, which is covered by the MAC but
77 * - `br_xxx_init()`
85 * - `br_xxx_reset()`
90 * - `br_xxx_aad_inject()`
95 * - `br_xxx_flip()`
101 * - `br_xxx_run()`
107 * - `br_xxx_get_tag()`
[all …]
H A Dbearssl_hmac.h52 * - hash output size does not exceed 64 bytes;
53 * - hash internal state size does not exceed 64 bytes;
54 * - internal block length is a power of 2 between 16 and 256 bytes.
60 * The HMAC key context is initialised with a hash function implementation
99 return kc->dig_vtable; in br_hmac_key_get_digest()
107 * is caller-allocated and has no release function since it does not
133 * \param kc HMAC key context (already initialised with the key).
144 * MUST NOT be called on a non-initialised HMAC computation context.
151 * \param ctx the (already initialised) HMAC computation context.
157 return ctx->out_len; in br_hmac_size()
[all …]
/freebsd/contrib/libcxxrt/
H A Dguard.cc2 * Copyright 2010-2012 PathScale, Inc. All rights reserved.
29 * guard.cc: Functions for thread-safe static initialisation.
31 * Static values in C++ can be initialised lazily their first use. This file
37 * Statics that require initialisation are protected by a 64-bit value. Any
38 * platform that can do 32-bit atomic test and set operations can use this
39 * value as a low-overhead lock. Because statics (in most sane code) are
40 * accessed far more times than they are initialised, this lock implementation
42 * initialised.
57 // x86 and ARM are the most common little-endian CPUs, so let's have a
66 * The Itanium C++ ABI defines guard words that are 64-bit (32-bit on AArch32)
[all …]
/freebsd/sys/dev/qat/qat_api/common/compression/
H A Ddc_dp.c1 /* SPDX-License-Identifier: BSD-3-Clause */
2 /* Copyright(c) 2007-2022 Intel Corporation */
67 LAC_CHECK_NULL_PARAM(pOpData->dcInstance); in dcDataPlaneParamCheck()
68 LAC_CHECK_NULL_PARAM(pOpData->pSessionHandle); in dcDataPlaneParamCheck()
71 SAL_CHECK_INSTANCE_TYPE(pOpData->dcInstance, in dcDataPlaneParamCheck()
74 pService = (sal_compression_service_t *)(pOpData->dcInstance); in dcDataPlaneParamCheck()
76 pSessionDesc = DC_SESSION_DESC_FROM_CTX_GET(pOpData->pSessionHandle); in dcDataPlaneParamCheck()
82 if (CPA_FALSE == pSessionDesc->isDcDp) { in dcDataPlaneParamCheck()
87 /* Compressing zero byte is not supported */ in dcDataPlaneParamCheck()
88 if ((CPA_DC_DIR_COMPRESS == pSessionDesc->sessDirection) && in dcDataPlaneParamCheck()
[all …]
H A Ddc_datapath.c1 /* SPDX-License-Identifier: BSD-3-Clause */
2 /* Copyright(c) 2007-2022 Intel Corporation */
80 DC_SESSION_DESC_FROM_CTX_GET(pCookie->pSessionHandle); in dcUpdateXltOverflowChecksumsGen4()
85 if (CPA_DC_CRC32 == pSessionDesc->checksumType) { in dcUpdateXltOverflowChecksumsGen4()
86 pDcResults->checksum = pRespPars->crc.legacy.curr_crc32; in dcUpdateXltOverflowChecksumsGen4()
91 } else if (CPA_DC_ADLER32 == pSessionDesc->checksumType) { in dcUpdateXltOverflowChecksumsGen4()
92 pDcResults->checksum = pRespPars->crc.legacy.curr_adler_32; in dcUpdateXltOverflowChecksumsGen4()
123 LAC_MEM_SHARED_READ_TO_PTR(pCompRespMsg->opaque_data, pReqData); in dcCompression_ProcessCallback()
130 pSessionDesc = DC_SESSION_DESC_FROM_CTX_GET(pCookie->pSessionHandle); in dcCompression_ProcessCallback()
131 pService = (sal_compression_service_t *)(pCookie->dcInstance); in dcCompression_ProcessCallback()
[all …]
/freebsd/crypto/heimdal/lib/roken/
H A Dgetarg.31 .\" Copyright (c) 1999 - 2002 Kungliga Tekniska Högskolan
50 pretty-prints the available options, with a short help text.
66 argument is stored, it must be initialised to the first index (minus
86 .Bd -literal
109 is the character to use as short option, it can be zero. If the option
125 .Bl -hang -width arg_negative_flag
141 It gets filled in with either zero or one, depending on how the option
143 given, the value isn't altered, so it should be initialised to some
163 allows more fine-grained control of the option parsing process.
168 .Bd -literal
[all …]
/freebsd/contrib/unbound/util/
H A Drandom.h2 * util/random.h - thread safe random generator, which is reasonably secure.
53 * can be used to seed random states via a parent-random-state that
62 * @param state: must have been initialised with ub_initstate.
68 * Generate random number between 0 and x-1. No modulo bias.
69 * @param state: must have been initialised with ub_initstate.
70 * @param x: an upper limit. not (negative or zero). must be smaller than 2**31.
71 * @return: random value between 0..x-1. Possibly more than one
/freebsd/sys/dev/qat_c2xxx/
H A Dqat_hw15reg.h1 /* SPDX-License-Identifier: BSD-2-Clause AND BSD-3-Clause */
31 * Copyright(c) 2007-2013 Intel Corporation. All rights reserved.
72 /* -------------------------------------------------------------------------- */
91 /* QAT-AE Service Request Type IDs - 01 to 20 */
92 ARCH_IF_REQ_QAT_FW_INIT, /* QAT-FW Initialization Request */
93 ARCH_IF_REQ_QAT_FW_ADMIN, /* QAT-FW Administration Request */
94 ARCH_IF_REQ_QAT_FW_PKE, /* QAT-FW PKE Request */
95 ARCH_IF_REQ_QAT_FW_LA, /* QAT-FW Lookaside Request */
96 ARCH_IF_REQ_QAT_FW_IPSEC, /* QAT-FW IPSec Request */
97 ARCH_IF_REQ_QAT_FW_SSL, /* QAT-FW SSL Request */
[all …]
/freebsd/crypto/openssl/crypto/engine/
H A Deng_dyn.c2 * Copyright 2001-2022 The OpenSSL Project Authors. All Rights Reserved.
19 * loader should implement the hook-up functions with the following
89 * The function pointer to the engine-binding shared library function
96 /* If non-NULL, stipulates the 'id' of the ENGINE to be loaded */
99 * If non-zero, a successfully loaded ENGINE should be added to the
121 static int dynamic_ex_data_idx = -1;
130 * whether a "first-use" occurs before the ENGINE is freed, we have a memory
143 DSO_free(ctx->dynamic_dso); in dynamic_data_ctx_free_func()
144 OPENSSL_free(ctx->DYNAMIC_LIBNAME); in dynamic_data_ctx_free_func()
145 OPENSSL_free(ctx->engine_id); in dynamic_data_ctx_free_func()
[all …]
/freebsd/sys/dev/usb/
H A Dusb_process.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
82 /*------------------------------------------------------------------------*
86 *------------------------------------------------------------------------*/
100 sched_prio(td, up->up_prio); in usb_process()
103 USB_MTX_LOCK(up->up_mtx); in usb_process()
105 up->up_curtd = td; in usb_process()
108 if (up->up_gone) in usb_process()
131 * Non-working solution: Before we queue the programming in usb_process()
150 * removed from the queue, and re-inserted after the last in usb_process()
[all …]
/freebsd/secure/lib/libcrypto/man/man3/
H A DENGINE_add.318 .\" Set up some character translations and predefined strings. \*(-- will
24 .tr \(*W-
27 . ds -- \(*W-
29 . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
30 . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
37 . ds -- \|\(em\|
71 .\" Fear. Run. Save yourself. No user-serviceable parts.
81 . ds #H ((1u-(\\\\n(.fu%2u))*.13m)
97 . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
98 . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
[all …]
H A DEVP_PKEY_new.318 .\" Set up some character translations and predefined strings. \*(-- will
24 .tr \(*W-
27 . ds -- \(*W-
29 . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
30 . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
37 . ds -- \|\(em\|
71 .\" Fear. Run. Save yourself. No user-serviceable parts.
81 . ds #H ((1u-(\\\\n(.fu%2u))*.13m)
97 . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
98 . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
[all …]
/freebsd/crypto/openssl/doc/man3/
H A DENGINE_add.pod43 - ENGINE cryptographic module support
175 reference-counted mechanism to allow them to be dynamically loaded in and
181 RSA_METHOD - for providing alternative RSA implementations
183 - similarly for other OpenSSL APIs
184 EVP_CIPHER - potentially multiple cipher algorithms (indexed by 'nid')
185 EVP_DIGEST - potentially multiple hash algorithms (indexed by 'nid')
186 key-loading - loading public and/or private EVP_PKEY keys
191 treated as handles - i.e. not only as pointers, but also as references to
196 ENGINE objects have two levels of reference-counting to match the way in
198 inherently a B<structural> reference - a structural reference is required
[all …]
H A DEVP_PKEY_new.pod18 - public/private key allocation and raw key handling functions
91 count is zero, frees it up. If I<key> is NULL, nothing is done.
106 default property query are used instead. If I<e> is non-NULL then the new
120 public key data. The B<EVP_PKEY> structure will be initialised without any
126 data. The B<EVP_PKEY> structure will be initialised without any private key
157 encryption-only cipher. For example AEAD and XTS ciphers should not be used.
213 Copyright 2002-2023 The OpenSSL Project Authors. All Rights Reserved.
/freebsd/share/man/man3/
H A DQ_INI.346 .Nd fixed-point math miscellaneous functions/variables
104 .Fa q Ns -specific
105 count of total, control-encoded fractional, maximum fractional, effective
123 binary radix point relative to bit zero.
142 C-string representation of
148 renders the C-string representation of
164 as -1 renders the number's fractional component with maximum precision.
167 is greater than zero but insufficient to hold the complete C-string, the '\\0'
168 C-string terminator will be written to
170 thereby returning a zero length C-string.
[all …]
/freebsd/sys/contrib/openzfs/module/icp/asm-x86_64/aes/
H A Daestab.h2 * ---------------------------------------------------------------------------
3 * Copyright (c) 1998-2007, Brian Gladman, Worcester, UK. All rights reserved.
24 * ---------------------------------------------------------------------------
34 * in the table structure must be set to zero in order to ensure that the
35 * tables are initialised. In practice the three code sequences in aeskey.c
42 * are defined, initialised and used in embedded environments that
54 * 256 32-bit word OR 4 x 256 32-bit word tables:
/freebsd/contrib/llvm-project/compiler-rt/lib/gwp_asan/platform_specific/
H A Dguarded_pool_allocator_tls.h1 //===-- guarded_pool_allocator_tls.h ----------------------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
19 // variables in GWP-ASan.
23 // Initialised to a magic constant so that an uninitialised GWP-ASan won't
28 // Thread-local decrementing counter that indicates that a given allocation
29 // should be sampled when it reaches zero.
32 static const uint32_t NextSampleCounterMask = (1U << 31) - 1;
/freebsd/contrib/llvm-project/compiler-rt/lib/gwp_asan/
H A Dguarded_pool_allocator.h1 //===-- guarded_pool_allocator.h --------
[all...]
/freebsd/crypto/openssl/crypto/cmac/
H A Dcmac.c2 * Copyright 2010-2022 The OpenSSL Project Authors. All Rights Reserved.
33 /* Number of bytes in last block: -1 means context not initialised */
45 for (i = 0; i < bl - 1; i++, c = cnext) in make_kn()
49 k1[i] = (c << 1) ^ ((0 - carry) & (bl == 16 ? 0x87 : 0x1b)); in make_kn()
60 ctx->cctx = EVP_CIPHER_CTX_new(); in CMAC_CTX_new()
61 if (ctx->cctx == NULL) { in CMAC_CTX_new()
65 ctx->nlast_block = -1; in CMAC_CTX_new()
71 EVP_CIPHER_CTX_reset(ctx->cctx); in CMAC_CTX_cleanup()
72 OPENSSL_cleanse(ctx->tbl, EVP_MAX_BLOCK_LENGTH); in CMAC_CTX_cleanup()
73 OPENSSL_cleanse(ctx->k1, EVP_MAX_BLOCK_LENGTH); in CMAC_CTX_cleanup()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/regulator/
H A Dregulator.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Liam Girdwood <lgirdwood@gmail.com>
11 - Mark Brown <broonie@kernel.org>
14 regulator-nam
[all...]
/freebsd/crypto/openssl/crypto/
H A Dasn1_dsa.c2 * Copyright 2019-2021 The OpenSSL Project Authors. All Rights Reserved.
11 * A simple ASN.1 DER encoder/decoder for DSA-Sig-Value and ECDSA-Sig-Value.
13 * DSA-Sig-Value ::= SEQUENCE {
18 * ECDSA-Sig-Value ::= SEQUENCE {
78 * If n is zero then the content is a single zero byte (length = 1). in ossl_encode_der_integer()
79 * If the number of bits of n is a multiple of 8 then an extra zero padding in ossl_encode_der_integer()
100 * Outputs the DER encoding of a DSA-Sig-Value or ECDSA-Sig-Value to pkt. pkt
101 * may be initialised with a NULL buffer which enables pkt to be used to
204 /* If there a zero padding byte the next byte must have the msb set */ in ossl_decode_der_integer()
219 * Decodes a single DSA-Sig-Value or ECDSA-Sig-Value from *ppin, which must be
[all …]
/freebsd/share/man/man9/
H A Dosd.9110 run-time with any kernel data structure which has been suitably modified for use
113 The one-off modification required involves embedding a
136 and provide a high-level grouping for slots to be registered under.
148 The function may sleep and therefore cannot be called from a non-sleepable
152 argument specifies which high-level type grouping from
176 The function may sleep and therefore cannot be called from a non-sleepable
180 argument specifies which high-level type grouping from
197 argument specifies which high-level type grouping from
223 that is internal-use memory previously allocated via
233 argument specifies which high-level type grouping from
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DPointer.cpp1 //===--- Pointer.cpp - Types for the constexpr VM ---------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
25 : Pointer(Pointee, Pointee->getDescriptor()->getMetadataSize(), in Pointer()
26 Pointee->getDescriptor()->getMetadataSize()) {} in Pointer()
36 PointeeStorage.BS.Pointee->addPointer(this); in Pointer()
46 Pointee->addPointer(this); in Pointer()
54 PointeeStorage.BS.Pointee->replacePointer(&P, this); in Pointer()
62 Pointee->removePointer(this); in ~Pointer()
63 Pointee->cleanup(); in ~Pointer()
[all …]
/freebsd/crypto/heimdal/doc/doxyout/krb5/man/man3/
H A Dkrb5_introduction.31 .TH "krb5_introduction" 3 "11 Jan 2012" "Version 1.5.2" "HeimdalKerberos5library" \" -*- nroff -*-
5 krb5_introduction \- Introduction to the Kerberos 5 API
32 …se the handle, but not the remove the cache. \fBkrb5_cc_destroy()\fP will zero out the cache, remo…
36-bit signed numbers, the first 24 bits define what subsystem the error originates from, and last 8…
38-codes back. However, Heimdal have an extention to pass back customised errors messages. Instead o…
42 …imdal includes keytab support for Kerberos 5 keytabs, Kerberos 4 srvtab, AFS-KeyFile's, and for st…
44 Keytabs are used for servers and long-running services.
55-codes that are returned from kerberos functions in this program are passed to krb5_err, that will…
59 … only needed once per thread in the program. If the function returns a non-zero value it indicates…
91 for (a = ai; a != NULL; a = a->ai_next) {
[all …]

1234567