/optee_os/core/lib/libtomcrypt/src/misc/padding/ |
A D | padding_pad.c | 120 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 D | sha3.c | 227 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 D | sha3_test.c | 41 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 D | blake2b.c | 179 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() 428 …XMEMSET(md->blake2b.buf + md->blake2b.curlen, 0, BLAKE2B_BLOCKBYTES - md->blake2b.curlen); /* Padd… in blake2b_done()
|
A D | blake2s.c | 171 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() 416 …XMEMSET(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 D | rc4_stream.c | 92 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 D | chacha_done.c | 23 XMEMSET(st, 0, sizeof(chacha_state)); in chacha_done()
|
A D | chacha_keystream.c | 31 XMEMSET(out, 0, outlen); in chacha_keystream()
|
/optee_os/core/lib/libtomcrypt/src/stream/salsa20/ |
A D | salsa20_done.c | 23 XMEMSET(st, 0, sizeof(salsa20_state)); in salsa20_done()
|
A D | salsa20_keystream.c | 32 XMEMSET(out, 0, outlen); in salsa20_keystream()
|
/optee_os/core/lib/libtomcrypt/src/stream/rabbit/ |
A D | rabbit.c | 164 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 D | ccm_init.c | 34 XMEMSET(ccm, 0, sizeof(ccm_state)); in ccm_init()
|
/optee_os/core/lib/libtomcrypt/src/stream/sober128/ |
A D | sober128_test.c | 30 XMEMSET(src, 0, len); /* input */ in sober128_stream_test()
|
A D | sober128_stream.c | 324 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 D | sober128.c | 44 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 D | chacha20.c | 42 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 D | rc4.c | 45 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 D | pkcs_1_v1_5_encode.c | 91 XMEMSET(ps, 0xFF, ps_len); in pkcs_1_v1_5_encode()
|
A D | pkcs_1_oaep_encode.c | 99 XMEMSET(DB+x, 0, y); in pkcs_1_oaep_encode()
|
A D | pkcs_1_pss_encode.c | 114 XMEMSET(DB + x, 0, modulus_len - saltlen - hLen - 2); in pkcs_1_pss_encode()
|
/optee_os/core/lib/libtomcrypt/src/pk/asn1/pkcs8/ |
A D | pkcs8_decode_flexi.c | 56 XMEMSET(&pbes, 0, sizeof(pbes)); in pkcs8_decode_flexi()
|
/optee_os/core/lib/libtomcrypt/src/headers/ |
A D | tomcrypt_custom.h | 28 #ifndef XMEMSET 29 #define XMEMSET memset macro
|
A D | tomcrypt_cfg.h | 48 LTC_EXPORT void * LTC_CALL XMEMSET(void *s, int c, size_t n);
|
/optee_os/core/lib/libtomcrypt/src/stream/sosemanuk/ |
A D | sosemanuk.c | 271 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 D | xts_test.c | 244 XMEMSET(Torg + 8, 0, 8); in xts_test()
|