/optee_os-3.20.0/core/lib/libtomcrypt/src/hashes/ |
A D | sha3.c | 195 static LTC_INLINE int ss_done(hash_state *md, unsigned char *hash, ulong64 pad) in ss_done() 217 int sha3_224_init(hash_state *md) in sha3_224_init() 225 int sha3_256_init(hash_state *md) in sha3_256_init() 233 int sha3_384_init(hash_state *md) in sha3_384_init() 241 int sha3_512_init(hash_state *md) in sha3_512_init() 250 int sha3_shake_init(hash_state *md, int num) in sha3_shake_init() 260 int sha3_process(hash_state *md, const unsigned char *in, unsigned long inlen) in sha3_process() 313 int sha3_done(hash_state *md, unsigned char *out) in sha3_done() 320 int keccak_done(hash_state *md, unsigned char *out) in keccak_done() 327 int sha3_shake_done(hash_state *md, unsigned char *out, unsigned long outlen) in sha3_shake_done() [all …]
|
A D | blake2b.c | 155 static void s_blake2b_set_lastblock(hash_state *md) in s_blake2b_set_lastblock() 163 static void s_blake2b_increment_counter(hash_state *md, ulong64 inc) in s_blake2b_increment_counter() 169 static void s_blake2b_init0(hash_state *md) in s_blake2b_init0() 180 static int s_blake2b_init_param(hash_state *md, const unsigned char *P) in s_blake2b_init_param() 254 int blake2b_160_init(hash_state *md) { return blake2b_init(md, 20, NULL, 0); } in blake2b_160_init() 261 int blake2b_256_init(hash_state *md) { return blake2b_init(md, 32, NULL, 0); } in blake2b_256_init() 268 int blake2b_384_init(hash_state *md) { return blake2b_init(md, 48, NULL, 0); } in blake2b_384_init() 275 int blake2b_512_init(hash_state *md) { return blake2b_init(md, 64, NULL, 0); } in blake2b_512_init() 302 static int ss_blake2b_compress(hash_state *md, const unsigned char *buf) in ss_blake2b_compress() 351 static int s_blake2b_compress(hash_state *md, const unsigned char *buf) in s_blake2b_compress() [all …]
|
A D | blake2s.c | 147 static void s_blake2s_set_lastblock(hash_state *md) in s_blake2s_set_lastblock() 155 static void s_blake2s_increment_counter(hash_state *md, const ulong32 inc) in s_blake2s_increment_counter() 161 static int s_blake2s_init0(hash_state *md) in s_blake2s_init0() 174 static int s_blake2s_init_param(hash_state *md, const unsigned char *P) in s_blake2s_init_param() 247 int blake2s_128_init(hash_state *md) { return blake2s_init(md, 16, NULL, 0); } in blake2s_128_init() 254 int blake2s_160_init(hash_state *md) { return blake2s_init(md, 20, NULL, 0); } in blake2s_160_init() 261 int blake2s_224_init(hash_state *md) { return blake2s_init(md, 28, NULL, 0); } in blake2s_224_init() 268 int blake2s_256_init(hash_state *md) { return blake2s_init(md, 32, NULL, 0); } in blake2s_256_init() 294 static int ss_blake2s_compress(hash_state *md, const unsigned char *buf) in ss_blake2s_compress() 340 static int s_blake2s_compress(hash_state *md, const unsigned char *buf) in s_blake2s_compress() [all …]
|
A D | md2.c | 52 static void s_md2_update_chksum(hash_state *md) in s_md2_update_chksum() 66 static void s_md2_compress(hash_state *md) in s_md2_compress() 93 int md2_init(hash_state *md) in md2_init() 112 int md2_process(hash_state *md, const unsigned char *in, unsigned long inlen) in md2_process() 143 int md2_done(hash_state * md, unsigned char *out) in md2_done()
|
A D | tiger.c | 599 static int ss_tiger_compress(hash_state *md, const unsigned char *buf) in ss_tiger_compress() 630 static int s_tiger_compress(hash_state *md, const unsigned char *buf) in s_tiger_compress() 644 int tiger_init(hash_state *md) in tiger_init() 670 int tiger_done(hash_state * md, unsigned char *out) in tiger_done()
|
A D | sha1.c | 37 static int ss_sha1_compress(hash_state *md, const unsigned char *buf) in ss_sha1_compress() 143 static int s_sha1_compress(hash_state *md, const unsigned char *buf) in s_sha1_compress() 157 int sha1_init(hash_state * md) in sha1_init() 185 int sha1_done(hash_state * md, unsigned char *out) in sha1_done()
|
A D | md4.c | 68 static int ss_md4_compress(hash_state *md, const unsigned char *buf) in ss_md4_compress() 152 static int s_md4_compress(hash_state *md, const unsigned char *buf) in s_md4_compress() 166 int md4_init(hash_state * md) in md4_init() 193 int md4_done(hash_state * md, unsigned char *out) in md4_done()
|
/optee_os-3.20.0/core/lib/libtomcrypt/ |
A D | sha1_accel.c | 66 static int sha1_compress_nblocks(hash_state *md, const unsigned char *buf, in sha1_compress_nblocks() 77 static int sha1_compress(hash_state *md, const unsigned char *buf) in sha1_compress() 96 int sha1_init(hash_state * md) in sha1_init() 115 int sha1_done(hash_state * md, unsigned char *out) in sha1_done()
|
A D | sha256_accel.c | 68 static int sha256_compress_nblocks(hash_state *md, const unsigned char *buf, in sha256_compress_nblocks() 79 static int sha256_compress(hash_state *md, const unsigned char *buf) in sha256_compress() 89 int sha256_init(hash_state * md) in sha256_init() 121 int sha256_done(hash_state * md, unsigned char *out) in sha256_done()
|
A D | sha512_accel.c | 36 static int sha512_compress_nblocks(hash_state *md, const unsigned char *buf, in sha512_compress_nblocks() 48 static int sha512_compress(hash_state *md, const unsigned char *buf) in sha512_compress() 58 int sha512_init(hash_state * md) in sha512_init() 82 int sha512_done(hash_state * md, unsigned char *out) in sha512_done()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/hashes/whirl/ |
A D | whirl.c | 50 static int ss_whirlpool_compress(hash_state *md, const unsigned char *buf) in ss_whirlpool_compress() 106 static int s_whirlpool_compress(hash_state *md, const unsigned char *buf) in s_whirlpool_compress() 121 int whirlpool_init(hash_state * md) in whirlpool_init() 143 int whirlpool_done(hash_state * md, unsigned char *out) in whirlpool_done()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/hashes/chc/ |
A D | chc.c | 79 int chc_init(hash_state *md) in chc_init() 124 static int s_chc_compress(hash_state *md, const unsigned char *buf) in s_chc_compress() 167 int chc_process(hash_state * md, const unsigned char *in, unsigned long inlen) in chc_process() 191 int chc_done(hash_state *md, unsigned char *out) in chc_done()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/hashes/sha2/ |
A D | sha512_224.c | 35 int sha512_224_init(hash_state * md) in sha512_224_init() 58 int sha512_224_done(hash_state * md, unsigned char *out) in sha512_224_done()
|
A D | sha384.c | 35 int sha384_init(hash_state * md) in sha384_init() 58 int sha384_done(hash_state * md, unsigned char *out) in sha384_done()
|
A D | sha512_256.c | 35 int sha512_256_init(hash_state * md) in sha512_256_init() 58 int sha512_256_done(hash_state * md, unsigned char *out) in sha512_256_done()
|
A D | sha224.c | 36 int sha224_init(hash_state * md) in sha224_init() 59 int sha224_done(hash_state * md, unsigned char *out) in sha224_done()
|
A D | sha512.c | 86 static int ss_sha512_compress(hash_state * md, const unsigned char *buf) in ss_sha512_compress() 153 static int s_sha512_compress(hash_state * md, const unsigned char *buf) in s_sha512_compress() 167 int sha512_init(hash_state * md) in sha512_init() 198 int sha512_done(hash_state * md, unsigned char *out) in sha512_done()
|
A D | sha256.c | 61 static int ss_sha256_compress(hash_state * md, const unsigned char *buf) in ss_sha256_compress() 182 static int s_sha256_compress(hash_state * md, const unsigned char *buf) in s_sha256_compress() 196 int sha256_init(hash_state * md) in sha256_init() 228 int sha256_done(hash_state * md, unsigned char *out) in sha256_done()
|
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/ |
A D | hkdf.c | 28 int mbedtls_hkdf( const mbedtls_md_info_t *md, const unsigned char *salt, in mbedtls_hkdf() 49 int mbedtls_hkdf_extract( const mbedtls_md_info_t *md, in mbedtls_hkdf_extract() 79 int mbedtls_hkdf_expand( const mbedtls_md_info_t *md, const unsigned char *prk, in mbedtls_hkdf_expand()
|
A D | ssl_tls13_keys.c | 140 const mbedtls_md_info_t *md; in mbedtls_ssl_tls1_3_hkdf_expand_label() local 254 const mbedtls_md_info_t *md; in mbedtls_ssl_tls1_3_derive_secret() local 298 const mbedtls_md_info_t *md; in mbedtls_ssl_tls1_3_evolve_secret() local
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/stream/salsa20/ |
A D | xsalsa20_test.c | 17 hash_state md; in s_sha256() local
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/hashes/helper/ |
A D | hash_memory.c | 22 hash_state *md; in hash_memory() local
|
A D | hash_filehandle.c | 21 hash_state md; in hash_filehandle() local
|
A D | hash_memory_multi.c | 25 hash_state *md; in hash_memory_multi() local
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/pkcs1/ |
A D | pkcs_1_mgf1.c | 28 hash_state *md; in pkcs_1_mgf1() local
|