Home
last modified time | relevance | path

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

/optee_os-3.20.0/core/lib/libtomcrypt/src/misc/padding/
A Dpadding_pad.c115 XMEMSET(&data[length], diff, diff); in padding_pad()
126 XMEMSET(&data[length], 0, diff-1); in padding_pad()
136 XMEMSET(&data[length + 1], 0, diff); in padding_pad()
141 XMEMSET(&data[length], 0, diff); in padding_pad()
/optee_os-3.20.0/core/lib/libtomcrypt/src/stream/chacha/
A Dchacha_keystream.c24 XMEMSET(out, 0, outlen); in chacha_keystream()
/optee_os-3.20.0/core/lib/libtomcrypt/src/stream/salsa20/
A Dsalsa20_keystream.c25 XMEMSET(out, 0, outlen); in salsa20_keystream()
/optee_os-3.20.0/core/lib/libtomcrypt/src/hashes/
A Dsha3.c220 XMEMSET(&md->sha3, 0, sizeof(md->sha3)); in sha3_224_init()
228 XMEMSET(&md->sha3, 0, sizeof(md->sha3)); in sha3_256_init()
236 XMEMSET(&md->sha3, 0, sizeof(md->sha3)); in sha3_384_init()
244 XMEMSET(&md->sha3, 0, sizeof(md->sha3)); in sha3_512_init()
254 XMEMSET(&md->sha3, 0, sizeof(md->sha3)); in sha3_shake_init()
A Dsha3_test.c34 XMEMSET(buf, c1, sizeof(buf)); in sha3_224_test()
90 XMEMSET(buf, c1, sizeof(buf)); in sha3_256_test()
180 XMEMSET(buf, c1, sizeof(buf)); in sha3_384_test()
235 XMEMSET(buf, c1, sizeof(buf)); in sha3_512_test()
305 XMEMSET(buf, c1, sizeof(buf)); in sha3_shake_test()
A Dblake2b.c172 XMEMSET(&md->blake2b, 0, sizeof(md->blake2b)); in s_blake2b_init0()
224 XMEMSET(P, 0, sizeof(P)); in blake2b_init()
237 XMEMSET(block, 0, BLAKE2B_BLOCKBYTES); in blake2b_init()
421XMEMSET(md->blake2b.buf + md->blake2b.curlen, 0, BLAKE2B_BLOCKBYTES - md->blake2b.curlen); /* Padd… in blake2b_done()
A Dblake2s.c164 XMEMSET(&md->blake2s, 0, sizeof(struct blake2s_state)); in s_blake2s_init0()
218 XMEMSET(P, 0, sizeof(P)); in blake2s_init()
231 XMEMSET(block, 0, BLAKE2S_BLOCKBYTES); in blake2s_init()
409XMEMSET(md->blake2s.buf + md->blake2s.curlen, 0, BLAKE2S_BLOCKBYTES - md->blake2s.curlen); /* Padd… in blake2s_done()
/optee_os-3.20.0/core/lib/libtomcrypt/src/stream/sober128/
A Dsober128_test.c23 XMEMSET(src, 0, len); /* input */ in sober128_stream_test()
A Dsober128_stream.c317 XMEMSET(out, 0, outlen); in sober128_stream_keystream()
/optee_os-3.20.0/core/lib/libtomcrypt/src/encauth/ccm/
A Dccm_init.c27 XMEMSET(ccm, 0, sizeof(ccm_state)); in ccm_init()
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/pkcs1/
A Dpkcs_1_v1_5_encode.c84 XMEMSET(ps, 0xFF, ps_len); in pkcs_1_v1_5_encode()
A Dpkcs_1_oaep_encode.c92 XMEMSET(DB+x, 0, y); in pkcs_1_oaep_encode()
A Dpkcs_1_pss_encode.c107 XMEMSET(DB + x, 0, modulus_len - saltlen - hLen - 2); in pkcs_1_pss_encode()
/optee_os-3.20.0/core/lib/libtomcrypt/src/prngs/
A Dchacha20.c35 XMEMSET(&prng->u.chacha.ent, 0, sizeof(prng->u.chacha.ent)); in chacha20_prng_start()
97 XMEMSET(&prng->u.chacha.ent, 0, sizeof(prng->u.chacha.ent)); in chacha20_prng_ready()
A Dsober128.c37 XMEMSET(&prng->u.sober128.ent, 0, sizeof(prng->u.sober128.ent)); in sober128_start()
99 XMEMSET(&prng->u.sober128.ent, 0, sizeof(prng->u.sober128.ent)); in sober128_ready()
A Drc4.c38 XMEMSET(&prng->u.rc4.s.buf, 0, sizeof(prng->u.rc4.s.buf)); in rc4_start()
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/asn1/pkcs8/
A Dpkcs8_decode_flexi.c49 XMEMSET(&pbes, 0, sizeof(pbes)); in pkcs8_decode_flexi()
/optee_os-3.20.0/core/lib/libtomcrypt/src/stream/rc4/
A Drc4_stream.c85 XMEMSET(out, 0, outlen); in rc4_stream_keystream()
/optee_os-3.20.0/core/lib/libtomcrypt/src/stream/rabbit/
A Drabbit.c157 XMEMSET(st, 0, sizeof(rabbit_state)); in rabbit_setup()
213 XMEMSET(&(st->block), 0, sizeof(st->block)); in rabbit_setup()
262 XMEMSET(&(st->block), 0, sizeof(st->block)); in rabbit_setiv()
317 XMEMSET(out, 0, outlen); in rabbit_keystream()
/optee_os-3.20.0/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_custom.h21 #ifndef XMEMSET
22 #define XMEMSET memset macro
A Dtomcrypt_cfg.h41 LTC_EXPORT void * LTC_CALL XMEMSET(void *s, int c, size_t n);
/optee_os-3.20.0/core/lib/libtomcrypt/src/modes/xts/
A Dxts_test.c237 XMEMSET(Torg + 8, 0, 8); in xts_test()
/optee_os-3.20.0/core/lib/libtomcrypt/src/stream/sosemanuk/
A Dsosemanuk.c264 XMEMSET(wbuf + keylen + 1, 0, 31 - keylen); in sosemanuk_setup()
789 XMEMSET(out, 0, outlen); in sosemanuk_keystream()

Completed in 20 milliseconds