Home
last modified time | relevance | path

Searched defs:md (Results 1 – 25 of 39) sorted by relevance

12

/optee_os-3.20.0/core/lib/libtomcrypt/src/hashes/
A Dsha3.c195 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 Dblake2b.c155 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 Dblake2s.c147 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 Dmd2.c52 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 Dtiger.c599 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 Dsha1.c37 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 Dmd4.c68 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 Dsha1_accel.c66 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 Dsha256_accel.c68 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 Dsha512_accel.c36 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 Dwhirl.c50 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 Dchc.c79 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 Dsha512_224.c35 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 Dsha384.c35 int sha384_init(hash_state * md) in sha384_init()
58 int sha384_done(hash_state * md, unsigned char *out) in sha384_done()
A Dsha512_256.c35 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 Dsha224.c36 int sha224_init(hash_state * md) in sha224_init()
59 int sha224_done(hash_state * md, unsigned char *out) in sha224_done()
A Dsha512.c86 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 Dsha256.c61 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 Dhkdf.c28 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 Dssl_tls13_keys.c140 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 Dxsalsa20_test.c17 hash_state md; in s_sha256() local
/optee_os-3.20.0/core/lib/libtomcrypt/src/hashes/helper/
A Dhash_memory.c22 hash_state *md; in hash_memory() local
A Dhash_filehandle.c21 hash_state md; in hash_filehandle() local
A Dhash_memory_multi.c25 hash_state *md; in hash_memory_multi() local
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/pkcs1/
A Dpkcs_1_mgf1.c28 hash_state *md; in pkcs_1_mgf1() local

Completed in 21 milliseconds

12