Home
last modified time | relevance | path

Searched refs:XMEMSET (Results 1 – 25 of 25) sorted by relevance

/optee_os/core/lib/libtomcrypt/src/misc/padding/
A Dpadding_pad.c120 XMEMSET(&data[length], diff, diff); in padding_pad()
131 XMEMSET(&data[length], 0, diff-1); in padding_pad()
135 XMEMSET(&data[length + 1], 0, diff); in padding_pad()
140 XMEMSET(&data[length], 0, diff); in padding_pad()
/optee_os/core/lib/libtomcrypt/src/hashes/
A Dsha3.c227 XMEMSET(&md->sha3, 0, sizeof(md->sha3)); in sha3_224_init()
235 XMEMSET(&md->sha3, 0, sizeof(md->sha3)); in sha3_256_init()
243 XMEMSET(&md->sha3, 0, sizeof(md->sha3)); in sha3_384_init()
251 XMEMSET(&md->sha3, 0, sizeof(md->sha3)); in sha3_512_init()
261 XMEMSET(&md->sha3, 0, sizeof(md->sha3)); in sha3_shake_init()
A Dsha3_test.c41 XMEMSET(buf, c1, sizeof(buf)); in sha3_224_test()
97 XMEMSET(buf, c1, sizeof(buf)); in sha3_256_test()
187 XMEMSET(buf, c1, sizeof(buf)); in sha3_384_test()
242 XMEMSET(buf, c1, sizeof(buf)); in sha3_512_test()
312 XMEMSET(buf, c1, sizeof(buf)); in sha3_shake_test()
A Dblake2b.c179 XMEMSET(&md->blake2b, 0, sizeof(md->blake2b)); in blake2b_init0()
231 XMEMSET(P, 0, sizeof(P)); in blake2b_init()
244 XMEMSET(block, 0, BLAKE2B_BLOCKBYTES); in blake2b_init()
428XMEMSET(md->blake2b.buf + md->blake2b.curlen, 0, BLAKE2B_BLOCKBYTES - md->blake2b.curlen); /* Padd… in blake2b_done()
A Dblake2s.c171 XMEMSET(&md->blake2s, 0, sizeof(struct blake2s_state)); in blake2s_init0()
225 XMEMSET(P, 0, sizeof(P)); in blake2s_init()
238 XMEMSET(block, 0, BLAKE2S_BLOCKBYTES); in blake2s_init()
416XMEMSET(md->blake2s.buf + md->blake2s.curlen, 0, BLAKE2S_BLOCKBYTES - md->blake2s.curlen); /* Padd… in blake2s_done()
/optee_os/core/lib/libtomcrypt/src/stream/rc4/
A Drc4_stream.c92 XMEMSET(out, 0, outlen); in rc4_stream_keystream()
104 XMEMSET(st, 0, sizeof(rc4_state)); in rc4_stream_done()
/optee_os/core/lib/libtomcrypt/src/stream/chacha/
A Dchacha_done.c23 XMEMSET(st, 0, sizeof(chacha_state)); in chacha_done()
A Dchacha_keystream.c31 XMEMSET(out, 0, outlen); in chacha_keystream()
/optee_os/core/lib/libtomcrypt/src/stream/salsa20/
A Dsalsa20_done.c23 XMEMSET(st, 0, sizeof(salsa20_state)); in salsa20_done()
A Dsalsa20_keystream.c32 XMEMSET(out, 0, outlen); in salsa20_keystream()
/optee_os/core/lib/libtomcrypt/src/stream/rabbit/
A Drabbit.c164 XMEMSET(st, 0, sizeof(rabbit_state)); in rabbit_setup()
220 XMEMSET(&(st->block), 0, sizeof(st->block)); in rabbit_setup()
269 XMEMSET(&(st->block), 0, sizeof(st->block)); in rabbit_setiv()
324 XMEMSET(out, 0, outlen); in rabbit_keystream()
/optee_os/core/lib/libtomcrypt/src/encauth/ccm/
A Dccm_init.c34 XMEMSET(ccm, 0, sizeof(ccm_state)); in ccm_init()
/optee_os/core/lib/libtomcrypt/src/stream/sober128/
A Dsober128_test.c30 XMEMSET(src, 0, len); /* input */ in sober128_stream_test()
A Dsober128_stream.c324 XMEMSET(out, 0, outlen); in sober128_stream_keystream()
336 XMEMSET(st, 0, sizeof(sober128_state)); in sober128_stream_done()
/optee_os/core/lib/libtomcrypt/src/prngs/
A Dsober128.c44 XMEMSET(&prng->u.sober128.ent, 0, sizeof(prng->u.sober128.ent)); in sober128_start()
106 XMEMSET(&prng->u.sober128.ent, 0, sizeof(prng->u.sober128.ent)); in sober128_ready()
A Dchacha20.c42 XMEMSET(&prng->u.chacha.ent, 0, sizeof(prng->u.chacha.ent)); in chacha20_prng_start()
104 XMEMSET(&prng->u.chacha.ent, 0, sizeof(prng->u.chacha.ent)); in chacha20_prng_ready()
A Drc4.c45 XMEMSET(&prng->u.rc4.s.buf, 0, sizeof(prng->u.rc4.s.buf)); in rc4_start()
/optee_os/core/lib/libtomcrypt/src/pk/pkcs1/
A Dpkcs_1_v1_5_encode.c91 XMEMSET(ps, 0xFF, ps_len); in pkcs_1_v1_5_encode()
A Dpkcs_1_oaep_encode.c99 XMEMSET(DB+x, 0, y); in pkcs_1_oaep_encode()
A Dpkcs_1_pss_encode.c114 XMEMSET(DB + x, 0, modulus_len - saltlen - hLen - 2); in pkcs_1_pss_encode()
/optee_os/core/lib/libtomcrypt/src/pk/asn1/pkcs8/
A Dpkcs8_decode_flexi.c56 XMEMSET(&pbes, 0, sizeof(pbes)); in pkcs8_decode_flexi()
/optee_os/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_custom.h28 #ifndef XMEMSET
29 #define XMEMSET memset macro
A Dtomcrypt_cfg.h48 LTC_EXPORT void * LTC_CALL XMEMSET(void *s, int c, size_t n);
/optee_os/core/lib/libtomcrypt/src/stream/sosemanuk/
A Dsosemanuk.c271 XMEMSET(wbuf + keylen + 1, 0, 31 - keylen); in sosemanuk_setup()
796 XMEMSET(out, 0, outlen); in sosemanuk_keystream()
809 XMEMSET(st, 0, sizeof(sosemanuk_state)); in sosemanuk_done()
/optee_os/core/lib/libtomcrypt/src/modes/xts/
A Dxts_test.c244 XMEMSET(Torg + 8, 0, 8); in xts_test()

Completed in 41 milliseconds