Home
last modified time | relevance | path

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

12

/external/dropbear/libtomcrypt/src/headers/
Dtomcrypt_macros.h135 { 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 …]
Dtomcrypt_custom.h39 #ifndef XMEMCPY
43 #define XMEMCPY memcpy macro
/external/dropbear/libtomcrypt/src/modes/lrw/
Dlrw_setiv.c46 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()
Dlrw_getiv.c37 XMEMCPY(IV, lrw->IV, 16); in lrw_getiv()
/external/dropbear/libtomcrypt/src/encauth/gcm/
Dgcm_add_aad.c70 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()
Dgcm_mult_h.c36 XMEMCPY(T, &gcm->PC[0][I[0]][0], 16); in gcm_mult_h()
52 XMEMCPY(I, T, 16); in gcm_mult_h()
Dgcm_gf_mult.c89 XMEMCPY(V, a, 16); in gcm_gf_mult()
100 XMEMCPY(c, Z, 16); in gcm_gf_mult()
/external/dropbear/libtomcrypt/src/pk/pkcs1/
Dpkcs_1_oaep_encode.c107 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()
Dpkcs_1_oaep_decode.c96 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()
Dpkcs_1_pss_encode.c117 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()
Dpkcs_1_pss_decode.c91 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/
Dmd2.c130 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/
Decc_ansi_x963_export.c57 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/
Dder_encode_setof.c139 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/
Drc4.c93 XMEMCPY(key, s, 256); in rc4_ready()
245 XMEMCPY(dst, tests[x].pt, 8); in rc4_test()
/external/dropbear/libtomcrypt/src/hashes/chc/
Dchc.c145 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/
Dcbc_setiv.c35 XMEMCPY(cbc->IV, IV, len); in cbc_setiv()
Dcbc_getiv.c36 XMEMCPY(IV, cbc->IV, cbc->blocklen); in cbc_getiv()
/external/dropbear/libtomcrypt/src/modes/ofb/
Dofb_getiv.c36 XMEMCPY(IV, ofb->IV, ofb->blocklen); in ofb_getiv()
/external/dropbear/libtomcrypt/src/modes/cfb/
Dcfb_getiv.c36 XMEMCPY(IV, cfb->IV, cfb->blocklen); in cfb_getiv()
/external/dropbear/libtomcrypt/src/modes/f8/
Df8_getiv.c36 XMEMCPY(IV, f8->IV, f8->blocklen); in f8_getiv()
/external/dropbear/libtomcrypt/src/modes/ctr/
Dctr_getiv.c36 XMEMCPY(IV, ctr->ctr, ctr->blocklen); in ctr_getiv()
Dctr_setiv.c44 XMEMCPY(ctr->ctr, IV, len); in ctr_setiv()
/external/dropbear/libtomcrypt/src/misc/crypt/
Dcrypt_register_prng.c41 XMEMCPY(&prng_descriptor[x], prng, sizeof(struct ltc_prng_descriptor)); in register_prng()
Dcrypt_register_hash.c41 XMEMCPY(&hash_descriptor[x], hash, sizeof(struct ltc_hash_descriptor)); in register_hash()

12