Home
last modified time | relevance | path

Searched full:512 (Results 1 – 25 of 104) sorted by relevance

12345

/optee_os/lib/libmbedtls/mbedtls/include/mbedtls/
H A Dsha512.h3 * \brief This file contains SHA-384 and SHA-512 definitions and functions.
5 * The Secure Hash Algorithms 384 and 512 (SHA-384 and SHA-512) cryptographic
21 /** SHA-512 input data was malformed. */
33 * \brief The SHA-512 context structure.
35 * The structure is used both for SHA-384 and for SHA-512
45 0: Use SHA-512, or 1: Use SHA-384. */
55 * \brief This function initializes a SHA-512 context.
57 * \param ctx The SHA-512 context to initialize. This must
63 * \brief This function clears a SHA-512 context.
65 * \param ctx The SHA-512 context to clear. This may be \c NULL,
[all …]
H A Dsha3.h34 * It identifies the family (SHA3-256, SHA3-512, etc.)
42 MBEDTLS_SHA3_512, /*!< SHA3-512 */
121 * SHA-3 384 and SHA-3 512 \c olen must equal to 28, 32, 48 and 64,
147 * SHA-3 384 and SHA-3 512 \c olen must equal to 28, 32, 48 and 64,
161 * by this module: SHA3-224, SHA3-256, SHA3-384, SHA3-512.
H A Doid.h267 …d-sha3-512 OBJECT IDENTIFIER ::= { joint-iso-itu-t(2) country(16) us(840) organization(1) gov(101)…
280 …HA3_224 MBEDTLS_OID_NIST_ALG "\x02\x0d" /**< id-hmacWithSHA3-512 OBJECT IDENTIFIER :…
282 …HA3_256 MBEDTLS_OID_NIST_ALG "\x02\x0e" /**< id-hmacWithSHA3-512 OBJECT IDENTIFIER :…
284 …HA3_384 MBEDTLS_OID_NIST_ALG "\x02\x0f" /**< id-hmacWithSHA3-512 OBJECT IDENTIFIER :…
286 …A3-512 OBJECT IDENTIFIER ::= { joint-iso-itu-t(2) country(16) us(840) organization(1) gov(101) cso…
/optee_os/core/lib/libtomcrypt/src/math/fp/
H A Dltc_ecc_fp_mulmod.c110 …{ 1, 0, 0 }, { 2, 1, 512 }, { 2, 2, 512 }, { 3, 3, 512 }, { 2, 4, 512 }, { 3, 5, 512 }, { 3, 6, 51…
111 …{ 2, 8, 512 }, { 3, 9, 512 }, { 3, 10, 512 }, { 4, 11, 512 }, { 3, 12, 512 }, { 4, 13, 512 }, { 4,…
112 …{ 2, 16, 512 }, { 3, 17, 512 }, { 3, 18, 512 }, { 4, 19, 512 }, { 3, 20, 512 }, { 4, 21, 512 }, { …
113 …{ 3, 24, 512 }, { 4, 25, 512 }, { 4, 26, 512 }, { 5, 27, 512 }, { 4, 28, 512 }, { 5, 29, 512 }, { …
114 …{ 2, 32, 512 }, { 3, 33, 512 }, { 3, 34, 512 }, { 4, 35, 512 }, { 3, 36, 512 }, { 4, 37, 512 }, { …
115 …{ 3, 40, 512 }, { 4, 41, 512 }, { 4, 42, 512 }, { 5, 43, 512 }, { 4, 44, 512 }, { 5, 45, 512 }, { …
116 …{ 3, 48, 512 }, { 4, 49, 512 }, { 4, 50, 512 }, { 5, 51, 512 }, { 4, 52, 512 }, { 5, 53, 512 }, { …
117 …{ 4, 56, 512 }, { 5, 57, 512 }, { 5, 58, 512 }, { 6, 59, 512 }, { 5, 60, 512 }, { 6, 61, 512 }, { …
118 …{ 2, 64, 512 }, { 3, 65, 512 }, { 3, 66, 512 }, { 4, 67, 512 }, { 3, 68, 512 }, { 4, 69, 512 }, { …
119 …{ 3, 72, 512 }, { 4, 73, 512 }, { 4, 74, 512 }, { 5, 75, 512 }, { 4, 76, 512 }, { 5, 77, 512 }, { …
[all …]
/optee_os/core/lib/libtomcrypt/src/hashes/
H A Dsha3_test.c219 unsigned char buf[200], hash[512 / 8]; in sha3_512_test()
224 const unsigned char sha3_512_0xa3_200_times[512 / 8] = { in sha3_512_test()
237 /* SHA3-512 as a single buffer. [FIPS 202] */ in sha3_512_test()
241 …tor(hash, sizeof(hash), sha3_512_0xa3_200_times, sizeof(sha3_512_0xa3_200_times), "SHA3-512", 0)) { in sha3_512_test()
245 /* SHA3-512 in two steps. [FIPS 202] */ in sha3_512_test()
250 …tor(hash, sizeof(hash), sha3_512_0xa3_200_times, sizeof(sha3_512_0xa3_200_times), "SHA3-512", 1)) { in sha3_512_test()
254 /* SHA3-512 byte-by-byte: 200 steps. [FIPS 202] */ in sha3_512_test()
261 …tor(hash, sizeof(hash), sha3_512_0xa3_200_times, sizeof(sha3_512_0xa3_200_times), "SHA3-512", 2)) { in sha3_512_test()
274 unsigned char buf[200], hash[512]; in sha3_shake_test()
309 …for (i = 0; i < 16; i++) sha3_shake_done(&c, hash, 32); /* get 512 bytes, keep in hash the last 32… in sha3_shake_test()
[all …]
/optee_os/core/arch/arm/plat-stm32mp1/
H A Dconf.mk1 # 1GB and 512MB DDR targets do not locate secure DDR at the same place.
15 flavorlist-cryp-512M = $(flavor_dts_file-157C_DK2) \
19 flavorlist-no_cryp-512M = $(flavor_dts_file-157A_DK1) \
30 flavorlist-no_cryp = $(flavorlist-no_cryp-512M) \
33 flavorlist-512M = $(flavorlist-cryp-512M) \
34 $(flavorlist-no_cryp-512M)
196 ifneq ($(filter $(CFG_EMBED_DTB_SOURCE_FILE),$(flavorlist-512M)),)
/optee_os/core/arch/arm/plat-uniphier/
H A Dplatform_config.h39 * BL31 runtime: 512 KiB | |
45 * BL2: 512 KiB | |
/optee_os/core/lib/libtomcrypt/src/math/
H A Drand_prime.c29 /* allow sizes between 2 and 512 bytes for a prime size */ in rand_prime()
30 if (len < 2 || len > 512) { in rand_prime()
/optee_os/core/drivers/crypto/hisilicon/
H A Dhpre_dh.h13 #define HPRE_DH_MAX_KEY_BYTES 512
H A Dsec_pbkdf2.h9 #define SEC_MAX_DK_LEN 512
H A Dhpre_rsa.h19 #define OAEP_MAX_DB_LEN 512
H A Dhpre_dh.c151 else if (key_bytes <= 512) in round_key_size_to_hw_size()
152 size = 512; in round_key_size_to_hw_size()
/optee_os/core/arch/riscv/include/mm/
H A Dcore_mmu_arch.h91 * Level 3, shift = 39, 512 GiB pages
123 * Sv48: 512 GiB, 1 GiB, 2 MiB, 4 KiB
129 * Sv57: 256 TiB, 512 GiB, 1 GiB, 2 MiB, 4 KiB
/optee_os/lib/libmbedtls/mbedtls/library/
H A Doid.c418 "RSA with SHA-512"),
754 OID_DESCRIPTOR(MBEDTLS_OID_DIGEST_ALG_SHA512, "id-sha512", "SHA-512"),
784 OID_DESCRIPTOR(MBEDTLS_OID_DIGEST_ALG_SHA3_512, "id-sha3-512", "SHA-3-512"),
838 OID_DESCRIPTOR(MBEDTLS_OID_HMAC_SHA512, "hmacSHA512", "HMAC-SHA-512"),
862 OID_DESCRIPTOR(MBEDTLS_OID_HMAC_SHA3_512, "hmacSHA3-512", "HMAC-SHA3-512"),
H A Dsha512.c2 * FIPS-180-2 compliant SHA-384/512 implementation
8 * The SHA-512 Secure Hash Standard was published by NIST in 2002.
150 * SHA-512 support. So we fall back to the C code only.
242 * SHA-512 context setup
352 /* Accelerated SHA-512 implementation originally written by Simon Tatham for PuTTY,
758 * SHA-512 process buffer
812 * SHA-512 final digest
885 * output = SHA-512( input buffer )
978 * SHA-512 test vectors
1038 mbedtls_printf(" SHA-%d test #%d: ", 512 - is384 * 128, i + 1); in mbedtls_sha512_common_self_test()
H A Decp_invasive.h121 * Must have exact limb size that stores a 512-bit MPI
131 * limb size that sores a 512-bit MPI.
236 * Must have exact limb size that stores a 512-bit MPI
H A Dpsa_crypto_random_impl.h35 /* Looks like a 64-bit system, so prefer SHA-512. */
/optee_os/core/lib/libtomcrypt/src/misc/crypt/
H A Dcrypt.c159 " SHA-512\n"
165 " SHA-512/256\n"
171 " SHA-512/224\n"
/optee_os/core/lib/libtomcrypt/src/pk/ecc/
H A Decc_export_openssl.c21 unsigned char bin_a[256], bin_b[256], bin_k[256], bin_g[512], bin_xy[512]; in ecc_export_openssl()
/optee_os/core/lib/libtomcrypt/
H A Dsha3_accel.c62 "sha3-512", /* name of hash */
105 md->sha3.capacity_words = 2 * 512 / (8 * sizeof(ulong64)); in sha3_512_init()
/optee_os/core/arch/arm/dts/
H A Dstm32mp15xx-dhcom-pdk2.dtsi239 mclk-fs = <512>;
257 mclk-fs = <512>;
/optee_os/core/lib/libtomcrypt/src/pk/dh/
H A Ddh_generate_key.c25 if (groupsize <= 512) { in s_dh_groupsize_to_keysize()
H A Ddh.c92 512,
/optee_os/core/drivers/bnxt/
H A Dbnxt_images.c15 #define BNXT_BSPD_CFG_LEN 512
/optee_os/core/lib/libtomcrypt/src/hashes/whirl/
H A Dwhirl.c237 /* 512-bits, leading set */ in whirlpool_test()
250 /* 512-bits, leading set of second byte */ in whirlpool_test()
263 /* 512-bits, leading set of last byte */ in whirlpool_test()

12345