/external/dropbear/libtomcrypt/src/headers/ |
D | tomcrypt_macros.h | 135 { ulong32 __t = (x); XMEMCPY(y, &__t, 4); } 138 XMEMCPY(&(x), y, 4); 155 { ulong32 __t = (x); XMEMCPY(y, &__t, 4); } 158 { XMEMCPY(&(x), y, 4); x &= 0xFFFFFFFF; } 161 { ulong64 __t = (x); XMEMCPY(y, &__t, 8); } 164 { XMEMCPY(&(x), y, 8); } 196 { ulong32 __t = (x); XMEMCPY(y, &__t, 4); } 199 XMEMCPY(&(x), y, 4); 216 { ulong32 __t = (x); XMEMCPY(y, &__t, 4); } 219 { XMEMCPY(&(x), y, 4); x &= 0xFFFFFFFF; } [all …]
|
D | tomcrypt_custom.h | 39 #ifndef XMEMCPY 43 #define XMEMCPY memcpy macro
|
/external/dropbear/libtomcrypt/src/modes/lrw/ |
D | lrw_setiv.c | 46 XMEMCPY(lrw->IV, IV, 16); in lrw_setiv() 55 XMEMCPY(T, &lrw->PC[0][IV[0]][0], 16); in lrw_setiv() 67 XMEMCPY(lrw->pad, T, 16); in lrw_setiv()
|
D | lrw_getiv.c | 37 XMEMCPY(IV, lrw->IV, 16); in lrw_getiv()
|
/external/dropbear/libtomcrypt/src/encauth/gcm/ |
D | gcm_add_aad.c | 70 XMEMCPY(gcm->Y, gcm->X, 16); in gcm_add_aad() 73 XMEMCPY(gcm->Y, gcm->buf, 12); in gcm_add_aad() 79 XMEMCPY(gcm->Y_0, gcm->Y, 16); in gcm_add_aad()
|
D | gcm_mult_h.c | 36 XMEMCPY(T, &gcm->PC[0][I[0]][0], 16); in gcm_mult_h() 52 XMEMCPY(I, T, 16); in gcm_mult_h()
|
D | gcm_gf_mult.c | 89 XMEMCPY(V, a, 16); in gcm_gf_mult() 100 XMEMCPY(c, Z, 16); in gcm_gf_mult()
|
/external/dropbear/libtomcrypt/src/pk/pkcs1/ |
D | pkcs_1_oaep_encode.c | 107 XMEMCPY(DB+x, msg, msglen); in pkcs_1_oaep_encode() 146 XMEMCPY(out+x, seed, hLen); in pkcs_1_oaep_encode() 148 XMEMCPY(out+x, DB, modulus_len - hLen - 1); in pkcs_1_oaep_encode()
|
D | pkcs_1_oaep_decode.c | 96 XMEMCPY(seed, msg + x, hLen); in pkcs_1_oaep_decode() 100 XMEMCPY(DB, msg + x, modulus_len - hLen - 1); in pkcs_1_oaep_decode() 164 XMEMCPY(out, DB + x, modulus_len - hLen - 1 - x); in pkcs_1_oaep_decode()
|
D | pkcs_1_pss_encode.c | 117 XMEMCPY(DB + x, salt, saltlen); in pkcs_1_pss_encode() 139 XMEMCPY(out + y, DB, modulus_len - hLen - 1); in pkcs_1_pss_encode() 143 XMEMCPY(out + y, hash, hLen); in pkcs_1_pss_encode()
|
D | pkcs_1_pss_decode.c | 91 XMEMCPY(DB, sig + x, modulus_len - hLen - 1); in pkcs_1_pss_decode() 95 XMEMCPY(hash, sig + x, hLen); in pkcs_1_pss_decode()
|
/external/dropbear/libtomcrypt/src/hashes/ |
D | md2.c | 130 XMEMCPY(md->md2.buf + md->md2.curlen, in, (size_t)n); in md2_process() 174 XMEMCPY(md->md2.buf, md->md2.chksum, 16); in md2_done() 178 XMEMCPY(out, md->md2.X, 16); in md2_done()
|
/external/dropbear/libtomcrypt/src/pk/ecc/ |
D | ecc_ansi_x963_export.c | 57 XMEMCPY(out+1, buf, numlen); in ecc_ansi_x963_export() 62 XMEMCPY(out+1+numlen, buf, numlen); in ecc_ansi_x963_export()
|
/external/dropbear/libtomcrypt/src/pk/asn1/der/set/ |
D | der_encode_setof.c | 139 XMEMCPY(out, buf, hdrlen); in der_encode_setof() 143 XMEMCPY(out+y, edges[x].start, edges[x].size); in der_encode_setof()
|
/external/dropbear/libtomcrypt/src/prngs/ |
D | rc4.c | 93 XMEMCPY(key, s, 256); in rc4_ready() 245 XMEMCPY(dst, tests[x].pt, 8); in rc4_test()
|
/external/dropbear/libtomcrypt/src/hashes/chc/ |
D | chc.c | 145 XMEMCPY(T[1], buf, cipher_blocksize); in chc_compress() 240 XMEMCPY(out, md->chc.state, cipher_blocksize); in chc_done()
|
/external/dropbear/libtomcrypt/src/modes/cbc/ |
D | cbc_setiv.c | 35 XMEMCPY(cbc->IV, IV, len); in cbc_setiv()
|
D | cbc_getiv.c | 36 XMEMCPY(IV, cbc->IV, cbc->blocklen); in cbc_getiv()
|
/external/dropbear/libtomcrypt/src/modes/ofb/ |
D | ofb_getiv.c | 36 XMEMCPY(IV, ofb->IV, ofb->blocklen); in ofb_getiv()
|
/external/dropbear/libtomcrypt/src/modes/cfb/ |
D | cfb_getiv.c | 36 XMEMCPY(IV, cfb->IV, cfb->blocklen); in cfb_getiv()
|
/external/dropbear/libtomcrypt/src/modes/f8/ |
D | f8_getiv.c | 36 XMEMCPY(IV, f8->IV, f8->blocklen); in f8_getiv()
|
/external/dropbear/libtomcrypt/src/modes/ctr/ |
D | ctr_getiv.c | 36 XMEMCPY(IV, ctr->ctr, ctr->blocklen); in ctr_getiv()
|
D | ctr_setiv.c | 44 XMEMCPY(ctr->ctr, IV, len); in ctr_setiv()
|
/external/dropbear/libtomcrypt/src/misc/crypt/ |
D | crypt_register_prng.c | 41 XMEMCPY(&prng_descriptor[x], prng, sizeof(struct ltc_prng_descriptor)); in register_prng()
|
D | crypt_register_hash.c | 41 XMEMCPY(&hash_descriptor[x], hash, sizeof(struct ltc_hash_descriptor)); in register_hash()
|