Home
last modified time | relevance | path

Searched +full:fips +full:- +full:140 +full:- +full:2 (Results 1 – 4 of 4) sorted by relevance

/linux/include/crypto/
H A Dxts.h1 /* SPDX-License-Identifier: GPL-2.0 */
7 #include <linux/fips.h>
18 if (keylen % 2) in xts_verify_key()
19 return -EINVAL; in xts_verify_key()
22 * In FIPS mode only a combined key length of either 256 or in xts_verify_key()
23 * 512 bits is allowed, c.f. FIPS 140-3 IG C.I. in xts_verify_key()
26 return -EINVAL; in xts_verify_key()
30 * in FIPS mode or the FORBID_WEAK_KEYS flag is set. in xts_verify_key()
34 !crypto_memneq(key, key + (keylen / 2), keylen / 2)) in xts_verify_key()
35 return -EINVAL; in xts_verify_key()
H A Ddrbg.h2 * DRBG based on NIST SP800-90A
12 * 2. Redistributions in binary form must reproduce the above copyright
23 * the restrictions contained in a BSD-style copyright.)
52 #include <linux/fips.h>
60 * SP800-90A requires the concatenation of different data. To avoid copying
76 string->buf = buf; in drbg_string_fill()
77 string->len = len; in drbg_string_fill()
78 INIT_LIST_HEAD(&string->list); in drbg_string_fill()
121 /* Number of RNG requests since last reseed -- 10.1.1.1 1c) */
140 unsigned char *prev; /* FIPS 140-2 continuous test value */
[all …]
/linux/Documentation/devicetree/bindings/rng/
H A Dsilex-insight,ba431-rng.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/rng/silex-insight,ba431-rng.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 The BA431 hardware random number generator is an IP that is FIPS-140-2/3
14 - Olivier Sobrie <olivier.sobrie@silexinsight.com>
18 const: silex-insight,ba431-rng
24 - compatible
25 - reg
30 - |
[all …]
/linux/crypto/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0
27 bool "FIPS 200 compliance"
31 This option enables the fips boot option which is
32 required if you want the system to operate in a FIPS 200
37 string "FIPS Module Name"
41 This option sets the FIPS Module name reported by the Crypto API via
45 bool "Use Custom FIPS Module Version"
50 string "FIPS Module Version"
54 This option provides the ability to override the FIPS Module Version.
156 cbc(aes), and the support for the crypto self-tests.
[all …]