Home
last modified time | relevance | path

Searched refs:sha1 (Results 1 – 13 of 13) sorted by relevance

/optee_os/core/lib/libtomcrypt/
H A Dsha1_accel.c69 void *state = md->sha1.state; in sha1_compress_nblocks()
71 COMPILE_TIME_ASSERT(sizeof(md->sha1.state[0]) == sizeof(uint32_t)); in sha1_compress_nblocks()
89 HASH_PROCESS_NBLOCKS(sha1_process, sha1_compress_nblocks, sha1, 64)
99 md->sha1.state[0] = 0x67452301UL; in sha1_init()
100 md->sha1.state[1] = 0xefcdab89UL; in sha1_init()
101 md->sha1.state[2] = 0x98badcfeUL; in sha1_init()
102 md->sha1.state[3] = 0x10325476UL; in sha1_init()
103 md->sha1.state[4] = 0xc3d2e1f0UL; in sha1_init()
104 md->sha1.curlen = 0; in sha1_init()
105 md->sha1.length = 0; in sha1_init()
[all …]
H A Dsub.mk102 srcs-$(_CFG_CORE_LTC_SHA1_DESC) += src/hashes/sha1.c
/optee_os/core/lib/libtomcrypt/src/hashes/
H A Dsha1.c53 a = md->sha1.state[0]; in ss_sha1_compress()
54 b = md->sha1.state[1]; in ss_sha1_compress()
55 c = md->sha1.state[2]; in ss_sha1_compress()
56 d = md->sha1.state[3]; in ss_sha1_compress()
57 e = md->sha1.state[4]; in ss_sha1_compress()
133 md->sha1.state[0] = md->sha1.state[0] + a; in ss_sha1_compress()
134 md->sha1.state[1] = md->sha1.state[1] + b; in ss_sha1_compress()
135 md->sha1.state[2] = md->sha1.state[2] + c; in ss_sha1_compress()
136 md->sha1.state[3] = md->sha1.state[3] + d; in ss_sha1_compress()
137 md->sha1.state[4] = md->sha1.state[4] + e; in ss_sha1_compress()
[all …]
/optee_os/lib/libmbedtls/mbedtls/library/
H A Dpsa_crypto_hash.c42 mbedtls_sha1_free(&operation->ctx.sha1); in mbedtls_psa_hash_abort()
117 mbedtls_sha1_init(&operation->ctx.sha1); in mbedtls_psa_hash_setup()
118 ret = mbedtls_sha1_starts(&operation->ctx.sha1); in mbedtls_psa_hash_setup()
203 mbedtls_sha1_clone(&target_operation->ctx.sha1, in mbedtls_psa_hash_clone()
204 &source_operation->ctx.sha1); in mbedtls_psa_hash_clone()
283 ret = mbedtls_sha1_update(&operation->ctx.sha1, in mbedtls_psa_hash_update()
378 ret = mbedtls_sha1_finish(&operation->ctx.sha1, hash); in mbedtls_psa_hash_finish()
H A Dmd.c464 ALLOC(sha1); in mbedtls_md_setup()
/optee_os/core/arch/arm/crypto/
H A Dsha1_armv8a_ce_a64.S38 sha1\op dg0q, \dg1, t0.4s
40 sha1\op dg0q, dg1s, t0.4s
47 sha1\op dg0q, dg2s, t1.4s
H A Dsha1_armv8a_ce_a32.S39 sha1\op\().32 dg0, dg1a\ev, ta\ev
41 sha1\op\().32 dg0, \dg1, ta\ev
/optee_os/core/
H A Dcore.mk16 git-sha1-len := 16
18 git-sha1-len := 8
20 …T_SHA1 := 0x$(shell git rev-parse --short=$(git-sha1-len) HEAD 2>/dev/null || echo 0 | cut -c -$(g…
/optee_os/lib/libmbedtls/mbedtls/include/psa/
H A Dcrypto_builtin_primitives.h63 mbedtls_sha1_context sha1; member
/optee_os/lib/libmbedtls/
H A Dsub.mk64 SRCS_CRYPTO += sha1.c
102 SRCS_CRYPTO += sha1.c
/optee_os/core/lib/libtomcrypt/src/headers/
H A Dtomcrypt_hash.h162 struct sha1_state sha1; member
/optee_os/core/include/crypto/
H A Dcrypto_impl.h46 CRYPTO_ALLOC_CTX_NOT_IMPLEMENTED(sha1, hash)
/optee_os/lib/libmbedtls/mbedtls/
H A DChangeLog257 - Hashes: hkdf.h, md5.h, ripemd160.h, sha1.h, sha3.h, sha256.h, sha512.h;