Home
last modified time | relevance | path

Searched full:384 (Results 1 – 25 of 67) sorted by relevance

123

/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
35 * The structure is used both for SHA-384 and for SHA-512
45 0: Use SHA-512, or 1: Use SHA-384. */
82 * \brief This function starts a SHA-384 or SHA-512 checksum
87 * either \c 0 for SHA-512, or \c 1 for SHA-384.
121 * \param output The SHA-384 or SHA-512 checksum result.
123 * for SHA-512, \c 48 bytes for SHA-384.
147 * \brief This function calculates the SHA-512 or SHA-384
159 * \param output The SHA-384 or SHA-512 checksum result.
[all …]
H A Dsha3.h41 MBEDTLS_SHA3_384, /*!< SHA3-384 */
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 Decp.h108 …MBEDTLS_ECP_DP_SECP384R1, /*!< Domain parameters for the 384-bit curve defined by FIPS 186-4 …
111 MBEDTLS_ECP_DP_BP384R1, /*!< Domain parameters for 384-bit Brainpool curve. */
288 * 384 214 209 198 177 146
305 * of code size if n < 384 and 8n otherwise.
333 #define MBEDTLS_ECP_MAX_BITS 384
335 #define MBEDTLS_ECP_MAX_BITS 384
506 * - about 9400 basic operations for P-384
518 * P-384 682 416 320 272 248
H A Dhmac_drbg.h59 #define MBEDTLS_HMAC_DRBG_MAX_SEED_INPUT 384 /**< Maximum size of (re)seed buffer */
136 * - 256 bits if \p md_info is SHA-256, SHA-384 or SHA-512.
H A Dmd.h54 MBEDTLS_MD_SHA384=0x0a, /**< The SHA-384 message digest. */
58 MBEDTLS_MD_SHA3_384=0x12, /**< The SHA3-384 message digest. */
/optee_os/core/lib/libtomcrypt/src/hashes/
H A Dsha3_test.c166 unsigned char buf[200], hash[384 / 8]; in sha3_384_test()
171 const unsigned char sha3_384_0xa3_200_times[384 / 8] = { in sha3_384_test()
182 /* SHA3-384 as a single buffer. [FIPS 202] */ in sha3_384_test()
186 …tor(hash, sizeof(hash), sha3_384_0xa3_200_times, sizeof(sha3_384_0xa3_200_times), "SHA3-384", 0)) { in sha3_384_test()
190 /* SHA3-384 in two steps. [FIPS 202] */ in sha3_384_test()
195 …tor(hash, sizeof(hash), sha3_384_0xa3_200_times, sizeof(sha3_384_0xa3_200_times), "SHA3-384", 1)) { in sha3_384_test()
199 /* SHA3-384 byte-by-byte: 200 steps. [FIPS 202] */ in sha3_384_test()
206 …tor(hash, sizeof(hash), sha3_384_0xa3_200_times, sizeof(sha3_384_0xa3_200_times), "SHA3-384", 2)) { in sha3_384_test()
563 "KECCAK-384", 0) != 0) { in keccak_384_test()
577 "KECCAK-384", 1) != 0) { in keccak_384_test()
[all …]
H A Dsha3.c42 "sha3-384", /* name of hash */
237 md->sha3.capacity_words = 2 * 384 / (8 * sizeof(ulong64)); in sha3_384_init()
/optee_os/core/arch/arm/plat-d02/
H A Dconf.mk24 # 20MB-384kB of secure RAM
H A Dplatform_config.h59 * TEE RAM: 384 KiB (TZSRAM_SIZE) | TZSRAM
/optee_os/lib/libmbedtls/mbedtls/library/
H A Doid.c411 "RSA with SHA-384"),
748 OID_DESCRIPTOR(MBEDTLS_OID_DIGEST_ALG_SHA384, "id-sha384", "SHA-384"),
778 OID_DESCRIPTOR(MBEDTLS_OID_DIGEST_ALG_SHA3_384, "id-sha3-384", "SHA-3-384"),
832 OID_DESCRIPTOR(MBEDTLS_OID_HMAC_SHA384, "hmacSHA384", "HMAC-SHA-384"),
856 OID_DESCRIPTOR(MBEDTLS_OID_HMAC_SHA3_384, "hmacSHA3-384", "HMAC-SHA3-384"),
H A Dssl_cookie.c40 * If DTLS is in use, then at least one of SHA-256 or SHA-384 is
41 * available. Try SHA-256 first as 384 wastes resources
52 #error "DTLS hello verify needs SHA-256 or SHA-384"
H A Dpsa_util.c210 *bits = 384; in mbedtls_ecc_group_to_psa()
225 *bits = 384; in mbedtls_ecc_group_to_psa()
281 case 384: in mbedtls_ecc_group_from_psa()
298 case 384: in mbedtls_ecc_group_from_psa()
H A Decp_invasive.h79 * This operation expects a 384 bit MPI and the result of the reduction
170 * that of the modulus (384 bits).
188 * Must have exact limb size that stores a 384-bit MPI
H A Dpsa_crypto_ecp.c48 case 384: in check_ecc_parameters()
60 case 384: in check_ecc_parameters()
/optee_os/core/lib/libtomcrypt/src/pk/ecc/
H A Decc_find_curve.c89 "1.3.132.0.34", { "SECP384R1", "NISTP384", "ECC-384", "P-384", NULL }
/optee_os/core/arch/arm/plat-versal/
H A Dconf.mk67 # SHA3-384 crypto engine
/optee_os/core/lib/libtomcrypt/
H A Dsha3_accel.c47 "sha3-384", /* name of hash */
97 md->sha3.capacity_words = 2 * 384 / (8 * sizeof(ulong64)); in sha3_384_init()
H A Dhmac.c163 return ltc_hmac_alloc_ctx(ctx, find_hash("sha3-384")); in crypto_hmac_sha3_384_alloc_ctx()
H A Decc.c45 * to key sizes of 112, 128, 160, 192, 224, 256, 384, and 521 bits in ecc_get_curve_info()
75 size_bits = 384; in ecc_get_curve_info()
H A Dhash.c224 return ltc_hash_alloc_ctx(ctx, find_hash("sha3-384")); in crypto_sha3_384_alloc_ctx()
/optee_os/core/arch/arm/crypto/
H A Dsha3_armv8a_ce_a64.S74 /* SHA3-384, SHA3-256, SHA3-224 or SHA3-128 */
84 /* bit 4 set? -> SHA3-384, SHA3-224 or SHA3-128 */
95 /* bit 5 set? -> SHA-384 */
/optee_os/core/lib/libtomcrypt/src/pk/dh/
H A Ddh_generate_key.c22 if (groupsize <= 384) { in s_dh_groupsize_to_keysize()
H A Ddh.c69 384,
/optee_os/core/drivers/crypto/hisilicon/
H A Dhpre_dh.c149 else if (key_bytes <= 384) in round_key_size_to_hw_size()
150 size = 384; in round_key_size_to_hw_size()
/optee_os/core/drivers/
H A Dls_i2c.c42 { 384, 0x98 }, { 416, 0x95 }, { 448, 0x99 }, { 480, 0x96 },
70 { 320, 0x98 }, { 352, 0x95 }, { 384, 0x99 }, { 416, 0x96 },

123