Lines Matching +full:b +full:- +full:side
5 provider-kdf - The KDF library E<lt>-E<gt> provider functions
53 (see L<provider-base(7)/Provider Functions>).
56 named B<OSSL_FUNC_{name}_fn>, and a helper function to retrieve the
58 B<OSSL_FUNC_{name}>.
66 macros in L<openssl-core_dispatch.h(7)>, as follows:
91 OSSL_FUNC_kdf_newctx() should create and return a pointer to a provider side
98 OSSL_FUNC_kdf_freectx() is passed a pointer to the provider side KDF context in
104 OSSL_FUNC_kdf_dupctx() should duplicate the provider side KDF context in the
110 side KDF context in the I<kctx> parameter.
114 The I<kctx> parameter contains a pointer to the provider side context.
128 provider side KDF context I<kctx> to I<params>.
133 with the given provider side KDF context I<kctx> and stores them in I<params>.
142 with the provider side context I<kctx> in its current state if it is
144 provider side algorithm I<provctx>.
147 Parameters currently recognised by built-in KDFs are as follows. Not all
152 =item "size" (B<OSSL_KDF_PARAM_SIZE>) <unsigned integer>
160 =item "key" (B<OSSL_KDF_PARAM_KEY>) <octet string>
164 =item "secret" (B<OSSL_KDF_PARAM_SECRET>) <octet string>
168 =item "pass" (B<OSSL_KDF_PARAM_PASSWORD>) <octet string>
172 =item "cipher" (B<OSSL_KDF_PARAM_CIPHER>) <UTF8 string>
174 =item "digest" (B<OSSL_KDF_PARAM_DIGEST>) <UTF8 string>
176 =item "mac" (B<OSSL_KDF_PARAM_MAC>) <UTF8 string>
181 =item "maclen" (B<OSSL_KDF_PARAM_MAC_SIZE>) <octet string>
185 =item "properties" (B<OSSL_KDF_PARAM_PROPERTIES>) <UTF8 string>
191 =item "iter" (B<OSSL_KDF_PARAM_ITER>) <unsigned integer>
195 =item "mode" (B<OSSL_KDF_PARAM_MODE>) <UTF8 string>
199 =item "pkcs5" (B<OSSL_KDF_PARAM_PKCS5>) <integer>
201 Enables or disables the SP800-132 compliance checks.
208 =item - the iteration count is at least 1000.
210 =item - the salt length is at least 128 bits.
212 =item - the derived key length is at least 112 bits.
216 =item "ukm" (B<OSSL_KDF_PARAM_UKM>) <octet string>
222 =item "cekalg" (B<OSSL_KDF_PARAM_CEK_ALG>) <UTF8 string>
226 =item "n" (B<OSSL_KDF_PARAM_SCRYPT_N>) <unsigned integer>
230 =item "r" (B<OSSL_KDF_PARAM_SCRYPT_R>) <unsigned integer>
234 =item "p" (B<OSSL_KDF_PARAM_SCRYPT_P>) <unsigned integer>
238 =item "maxmem_bytes" (B<OSSL_KDF_PARAM_SCRYPT_MAXMEM>) <unsigned integer>
242 =item "prefix" (B<OSSL_KDF_PARAM_PREFIX>) <octet string>
247 =item "label" (B<OSSL_KDF_PARAM_LABEL>) <octet string>
252 =item "data" (B<OSSL_KDF_PARAM_DATA>) <octet string>
257 =item "info" (B<OSSL_KDF_PARAM_INFO>) <octet string>
261 =item "seed" (B<OSSL_KDF_PARAM_SEED>) <octet string>
265 =item "xcghash" (B<OSSL_KDF_PARAM_SSHKDF_XCGHASH>) <octet string>
269 =item "session_id" (B<OSSL_KDF_PARAM_SSHKDF_SESSION_ID>) <octet string>
273 =item "type" (B<OSSL_KDF_PARAM_SSHKDF_TYPE>) <UTF8 string>
288 A single char of value 66 (ASCII char 'B').
312 =item "constant" (B<OSSL_KDF_PARAM_CONSTANT>) <octet string>
316 =item "id" (B<OSSL_KDF_PARAM_PKCS12_ID>) <integer>
319 It is defined as per RFC 7292 section B.3.
326 provider side KDF context, or NULL on failure.
338 The KDF life-cycle is described in L<life_cycle-kdf(7)>. Providers should
344 L<provider(7)>, L<life_cycle-kdf(7)>, L<EVP_KDF(3)>.
352 Copyright 2020-2023 The OpenSSL Project Authors. All Rights Reserved.