/optee_os-3.20.0/core/lib/libtomcrypt/src/misc/padding/ |
A D | padding_pad.c | 115 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 D | chacha_keystream.c | 24 XMEMSET(out, 0, outlen); in chacha_keystream()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/stream/salsa20/ |
A D | salsa20_keystream.c | 25 XMEMSET(out, 0, outlen); in salsa20_keystream()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/hashes/ |
A D | sha3.c | 220 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 D | sha3_test.c | 34 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 D | blake2b.c | 172 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() 421 …XMEMSET(md->blake2b.buf + md->blake2b.curlen, 0, BLAKE2B_BLOCKBYTES - md->blake2b.curlen); /* Padd… in blake2b_done()
|
A D | blake2s.c | 164 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() 409 …XMEMSET(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 D | sober128_test.c | 23 XMEMSET(src, 0, len); /* input */ in sober128_stream_test()
|
A D | sober128_stream.c | 317 XMEMSET(out, 0, outlen); in sober128_stream_keystream()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/encauth/ccm/ |
A D | ccm_init.c | 27 XMEMSET(ccm, 0, sizeof(ccm_state)); in ccm_init()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/pkcs1/ |
A D | pkcs_1_v1_5_encode.c | 84 XMEMSET(ps, 0xFF, ps_len); in pkcs_1_v1_5_encode()
|
A D | pkcs_1_oaep_encode.c | 92 XMEMSET(DB+x, 0, y); in pkcs_1_oaep_encode()
|
A D | pkcs_1_pss_encode.c | 107 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 D | chacha20.c | 35 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 D | sober128.c | 37 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 D | rc4.c | 38 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 D | pkcs8_decode_flexi.c | 49 XMEMSET(&pbes, 0, sizeof(pbes)); in pkcs8_decode_flexi()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/stream/rc4/ |
A D | rc4_stream.c | 85 XMEMSET(out, 0, outlen); in rc4_stream_keystream()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/stream/rabbit/ |
A D | rabbit.c | 157 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 D | tomcrypt_custom.h | 21 #ifndef XMEMSET 22 #define XMEMSET memset macro
|
A D | tomcrypt_cfg.h | 41 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 D | xts_test.c | 237 XMEMSET(Torg + 8, 0, 8); in xts_test()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/stream/sosemanuk/ |
A D | sosemanuk.c | 264 XMEMSET(wbuf + keylen + 1, 0, 31 - keylen); in sosemanuk_setup() 789 XMEMSET(out, 0, outlen); in sosemanuk_keystream()
|