Searched refs:sha256 (Results 1 – 13 of 13) sorted by relevance
/optee_os-3.20.0/core/lib/libtomcrypt/ |
A D | sha256_accel.c | 71 void *state = md->sha256.state; in sha256_compress_nblocks() 93 md->sha256.curlen = 0; in sha256_init() 94 md->sha256.length = 0; in sha256_init() 128 if (md->sha256.curlen >= sizeof(md->sha256.buf)) { in sha256_done() 134 md->sha256.length += md->sha256.curlen * 8; in sha256_done() 137 md->sha256.buf[md->sha256.curlen++] = (unsigned char)0x80; in sha256_done() 143 if (md->sha256.curlen > 56) { in sha256_done() 145 md->sha256.buf[md->sha256.curlen++] = (unsigned char)0; in sha256_done() 148 md->sha256.curlen = 0; in sha256_done() 153 md->sha256.buf[md->sha256.curlen++] = (unsigned char)0; in sha256_done() [all …]
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/hashes/sha2/ |
A D | sha224.c | 40 md->sha256.curlen = 0; in sha224_init() 41 md->sha256.length = 0; in sha224_init() 42 md->sha256.state[0] = 0xc1059ed8UL; in sha224_init() 43 md->sha256.state[1] = 0x367cd507UL; in sha224_init() 44 md->sha256.state[2] = 0x3070dd17UL; in sha224_init() 45 md->sha256.state[3] = 0xf70e5939UL; in sha224_init() 46 md->sha256.state[4] = 0xffc00b31UL; in sha224_init() 47 md->sha256.state[5] = 0x68581511UL; in sha224_init() 48 md->sha256.state[6] = 0x64f98fa7UL; in sha224_init() 49 md->sha256.state[7] = 0xbefa4fa4UL; in sha224_init()
|
A D | sha256.c | 74 S[i] = md->sha256.state[i]; in ss_sha256_compress() 176 md->sha256.state[i] = md->sha256.state[i] + S[i]; in ss_sha256_compress() 200 md->sha256.curlen = 0; in sha256_init() 201 md->sha256.length = 0; in sha256_init() 235 if (md->sha256.curlen >= sizeof(md->sha256.buf)) { in sha256_done() 241 md->sha256.length += md->sha256.curlen * 8; in sha256_done() 244 md->sha256.buf[md->sha256.curlen++] = (unsigned char)0x80; in sha256_done() 252 md->sha256.buf[md->sha256.curlen++] = (unsigned char)0; in sha256_done() 255 md->sha256.curlen = 0; in sha256_done() 260 md->sha256.buf[md->sha256.curlen++] = (unsigned char)0; in sha256_done() [all …]
|
A D | sub.mk | 4 srcs-$(_CFG_CORE_LTC_SHA256_DESC) += sha256.c
|
/optee_os-3.20.0/lib/libmbedtls/ |
A D | sub.mk | 61 SRCS_CRYPTO += sha256.c 95 SRCS_CRYPTO += sha256.c
|
/optee_os-3.20.0/core/tee/ |
A D | tee_fs_key_manager.c | 170 static TEE_Result sha256(uint8_t *out, size_t out_size, const uint8_t *in, in sha256() function 214 res = sha256(sha, sizeof(sha), fek, TEE_FS_KM_FEK_SIZE); in essiv()
|
/optee_os-3.20.0/core/include/ |
A D | tpm2.h | 80 uint8_t sha256[TPM2_SHA256_DIGEST_SIZE]; member
|
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/ |
A D | ssl_tls.c | 1926 mbedtls_sha256_context sha256; in ssl_calc_verify_tls_sha256() 1928 mbedtls_sha256_init( &sha256 ); in ssl_calc_verify_tls_sha256() 1932 mbedtls_sha256_clone( &sha256, &ssl->handshake->fin_sha256 ); in ssl_calc_verify_tls_sha256() 1933 mbedtls_sha256_finish_ret( &sha256, hash ); in ssl_calc_verify_tls_sha256() 1940 mbedtls_sha256_free( &sha256 ); in ssl_calc_verify_tls_sha256() 3289 mbedtls_sha256_context sha256; in ssl_calc_finished_tls_sha256() local 3321 mbedtls_sha256_init( &sha256 ); in ssl_calc_finished_tls_sha256() 3325 mbedtls_sha256_clone( &sha256, &ssl->handshake->fin_sha256 ); in ssl_calc_finished_tls_sha256() 3335 sha256.state, sizeof( sha256.state ) ); in ssl_calc_finished_tls_sha256() 3338 mbedtls_sha256_finish_ret( &sha256, padbuf ); in ssl_calc_finished_tls_sha256() [all …]
|
A D | md.c | 451 ALLOC( sha256 ); in mbedtls_md_setup()
|
/optee_os-3.20.0/scripts/ |
A D | gen_tee_bin.py | 201 data += hashlib.sha256(page).digest()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/headers/ |
A D | tomcrypt_hash.h | 159 struct sha256_state sha256; member
|
/optee_os-3.20.0/core/include/crypto/ |
A D | crypto_impl.h | 58 CRYPTO_ALLOC_CTX_NOT_IMPLEMENTED(sha256, hash)
|
/optee_os-3.20.0/lib/libmbedtls/mbedtls/include/mbedtls/ |
A D | compat-1.3.h | 2245 #define sha256 mbedtls_sha256 macro
|
Completed in 34 milliseconds