Home
last modified time | relevance | path

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

/openbmc/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 …]
/openbmc/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 …]
/openbmc/linux/crypto/
H A Djitterentropy-kcapi.c2 * Non-physical true random number generator based on timing jitter --
5 * Copyright Stephan Mueller <smueller@chronox.de>, 2015 - 2023
13 * 2. Redistributions in binary form must reproduce the above copyright
24 * the restrictions contained in a BSD-style copyright.)
42 #include <linux/fips.h>
51 #define JENT_CONDITIONING_HASH "sha3-256-generic"
68 * Obtain a high-resolution time stamp value. The time stamp is used to measure
73 * implement a high-resolution time stamp, the RNG code's runtime test
99 SHASH_DESC_ON_STACK(desc, hash_state_desc->tfm); in jent_hash_time()
104 desc->tfm = hash_state_desc->tfm; in jent_hash_time()
[all …]
H A Djitterentropy.c2 * Non-physical true random number generator based on timing jitter --
5 * Copyright Stephan Mueller <smueller@chronox.de>, 2015 - 2023
21 * 2. Redistributions in binary form must reproduce the above copyright
32 * the restrictions contained in a BSD-style copyright.)
54 … be compiled with optimizations. See documentation. Use the compiler switch -O0 for compiling jitt…
65 /* SHA3-256 is used as conditioner */
91 /* Intermittent health test failure threshold of 2^-30 */
92 /* From an SP800-90B perspective, this RCT cutoff value is equal to 31. */
94 #define JENT_RCT_CUTOFF (31 - 1) /* Taken from SP800-90B sec 4.4.1 */
95 #define JENT_APT_CUTOFF 325 /* Taken from SP800-90B sec 4.4.2 */
[all …]
H A Ddrbg.c3 * Based on NIST Recommended DRBG from NIST SP800-90A with the following
5 * * CTR DRBG with DF with AES-128, AES-192, AES-256 cores
6 * * Hash DRBG with DF with SHA-1, SHA-256, SHA-384, SHA-512 cores
7 * * HMAC DRBG with DF with SHA-1, SHA-256, SHA-384, SHA-512 cores
18 * 2. Redistributions in binary form must reproduce the above copyright
29 * the restrictions contained in a BSD-style copyright.)
46 * The SP 800-90A DRBG allows the user to specify a personalization string
52 * ---------------------------------
63 * -------------------------------------------------------
68 * char personalization[11] = "some-string";
[all …]
/openbmc/linux/arch/s390/crypto/
H A Dprng.c1 // SPDX-License-Identifier: GPL-2.0
13 #include <linux/fips.h>
38 #define PRNG_MODE_SHA512 2
42 MODULE_PARM_DESC(prng_mode, "PRNG mode: 0 - auto, 1 - TDES, 2 - SHA512");
68 * of course, in a state of sin. -- John von Neumann
74 #define PRNG_SELFTEST_FAILED 2
120 * the random bytes given back is assumed to have at least 50% - meaning
121 * a 64 bytes buffer has at least 64 * 8 / 2 = 256 bits of entropy.
128 * here we use the lower 4 bytes and exor the values into 2k of bufferspace.
131 * get_random_bytes(), so this function consumes 2k of urandom for each
[all …]
/openbmc/qemu/docs/system/
H A Dvnc-security.rst4 ------------
19 .. parsed-literal::
21 |qemu_system| [...OPTIONS...] -vnc unix:/home/joebloggs/.qemu-myvm-vnc
36 brute-forced by a client making repeat connections. For this reason, a
39 authentication is not supported when operating in FIPS 140-2 compliance
45 .. parsed-literal::
47 |qemu_system| [...OPTIONS...] -vnc :1,password=on -monitor stdio
60 because TLS on its own is susceptible to man-in-the-middle attacks.
65 .. parsed-literal::
68 -object tls-creds-x509,id=tls0,dir=/etc/pki/qemu,endpoint=server,verify-peer=off \
[all …]
/openbmc/openbmc/poky/bitbake/lib/bb/tests/fetch-testdata/apple/cups/
H A Dreleases10 <meta charset="utf-8">
11 <link rel="dns-prefetch" href="https://github.githubassets.com">
12 <link rel="dns-prefetch" href="https://avatars0.githubusercontent.com">
13 <link rel="dns-prefetch" href="https://avatars1.githubusercontent.com">
14 <link rel="dns-prefetch" href="https://avatars2.githubusercontent.com">
15 <link rel="dns-prefetch" href="https://avatars3.githubusercontent.com">
16 <link rel="dns-prefetch" href="https://github-cloud.s3.amazonaws.com">
17 <link rel="dns-prefetch" href="https://user-images.githubusercontent.com/">
21-7mtunHqp/Bw0ND9akjJME8XCh0WPm3HAXOSeX7skL0qGAhpdfzkQvYcujYcwNPTpWKeKMFUGZGtvnEkcczFgwQ==" rel="st…
22-CmoegizWCUR1jC94Y2eukVQIFxJ9GxYerz9q7dBwImLlx8ODwYkXAMIhCfTnA45Ep6++rcO/ZtKVLvFBM8dapA==" rel="st…
[all …]
/openbmc/linux/
H A Dopengrok1.0.log1 2024-12-28 20:07:11.902-0600 FINER t583 IndexDatabase.createAnnotationCache: failed to create annotation: repository {dir='/opengrok/src/openbmc/linux',type=git,historyCache=on,renamed=false,merge=true,annotationCache=off} does not allow to create annotation cache for '/opengrok/src/openbmc/linux/drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c'
2 2024-12-28 20:07:11.913-0600 FINEST t583 Statistics.logIt: Added: '/openbmc/linux/drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c' (CAnalyzer) (took 116 ms)
3 2024-12-28 20:07:11.899-0600 FINER t593 IndexDatabase.createAnnotationCache: failed to create annotation: repository {dir='/opengrok/src/openbmc/linux',type=git,historyCache=on,renamed=false,merge=true,annotationCache=off} does not allow to create annotation cache for '/opengrok/src/openbmc/linux/tools/testing/selftests/powerpc/tm/tm-signa
[all...]