Home
last modified time | relevance | path

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

1234

/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/ec25519/
A Dec25519_crypto_ctx.c23 XMEMCPY(buf, prefix, prefix_len); in ec25519_crypto_ctx()
25 XMEMCPY(buf, &flag, 1); in ec25519_crypto_ctx()
27 XMEMCPY(buf, &ctxlen8, 1); in ec25519_crypto_ctx()
32 XMEMCPY(buf, ctx, ctxlen); in ec25519_crypto_ctx()
A Dec25519_export.c67 XMEMCPY(out, key->priv, sizeof(key->priv)); in ec25519_export()
80 XMEMCPY(out, key->pub, sizeof(key->pub)); in ec25519_export()
/optee_os-3.20.0/core/lib/libtomcrypt/src/modes/lrw/
A Dlrw_setiv.c38 XMEMCPY(lrw->IV, IV, 16); in lrw_setiv()
47 XMEMCPY(T, &lrw->PC[0][IV[0]][0], 16); in lrw_setiv()
59 XMEMCPY(lrw->pad, T, 16); in lrw_setiv()
A Dlrw_getiv.c29 XMEMCPY(IV, lrw->IV, 16); in lrw_getiv()
/optee_os-3.20.0/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_macros.h58 XMEMCPY ((y), &ttt, 4); } while(0)
61 do { XMEMCPY (&(x), (y), 4); \
97 XMEMCPY ((y), &ttt, 8); } while(0)
100 do { XMEMCPY (&(x), (y), 8); \
141 do { XMEMCPY(&(x), y, 4); } while(0)
158 do { ulong32 ttt = (x); XMEMCPY(y, &ttt, 4); } while(0)
161 do { XMEMCPY(&(x), y, 4); x &= 0xFFFFFFFF; } while(0)
167 do { XMEMCPY(&(x), y, 8); } while(0)
201 do { XMEMCPY(&(x), y, 4); } while(0)
221 do { XMEMCPY(&(x), y, 4); x &= 0xFFFFFFFF; } while(0)
[all …]
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/ecc/
A Dltc_ecc_export_point.c28 XMEMCPY(out+1, buf, size); in ltc_ecc_export_point()
42 XMEMCPY(out+1, buf, size); in ltc_ecc_export_point()
46 XMEMCPY(out+1+size, buf, size); in ltc_ecc_export_point()
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/x25519/
A Dx25519_import_raw.c28 XMEMCPY(key->priv, in, sizeof(key->priv)); in x25519_import_raw()
31 XMEMCPY(key->pub, in, sizeof(key->pub)); in x25519_import_raw()
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/ed25519/
A Ded25519_import_raw.c28 XMEMCPY(key->priv, in, sizeof(key->priv)); in ed25519_import_raw()
31 XMEMCPY(key->pub, in, sizeof(key->pub)); in ed25519_import_raw()
A Ded25519_verify.c38 XMEMCPY(m, sig, siglen); in s_ed25519_verify()
39 XMEMCPY(m + siglen, msg, msglen); in s_ed25519_verify()
/optee_os-3.20.0/core/lib/libtomcrypt/src/modes/xts/
A Dxts_test.c26 XMEMCPY(&xts.key1, skey1, sizeof(symmetric_key)); in s_xts_test_accel_xts_encrypt()
27 XMEMCPY(&xts.key2, skey2, sizeof(symmetric_key)); in s_xts_test_accel_xts_encrypt()
53 XMEMCPY(&xts.key1, skey1, sizeof(symmetric_key)); in s_xts_test_accel_xts_decrypt()
54 XMEMCPY(&xts.key2, skey2, sizeof(symmetric_key)); in s_xts_test_accel_xts_decrypt()
239 XMEMCPY(T, Torg, sizeof(T)); in xts_test()
264 XMEMCPY(T, Torg, sizeof(T)); in xts_test()
/optee_os-3.20.0/core/lib/libtomcrypt/src/encauth/gcm/
A Dgcm_mult_h.c29 XMEMCPY(T, &gcm->PC[0][I[0]][0], 16); in gcm_mult_h()
45 XMEMCPY(I, T, 16); in gcm_mult_h()
A Dgcm_add_aad.c64 XMEMCPY(gcm->Y, gcm->X, 16); in gcm_add_aad()
67 XMEMCPY(gcm->Y, gcm->buf, 12); in gcm_add_aad()
73 XMEMCPY(gcm->Y_0, gcm->Y, 16); in gcm_add_aad()
/optee_os-3.20.0/core/lib/libtomcrypt/src/mac/xcbc/
A Dxcbc_init.c50 XMEMCPY(xcbc->K[0], key, k1); in xcbc_init()
51 XMEMCPY(xcbc->K[1], key+k1, cipher_descriptor[cipher]->block_length); in xcbc_init()
52XMEMCPY(xcbc->K[2], key+k1 + cipher_descriptor[cipher]->block_length, cipher_descriptor[cipher]->b… in xcbc_init()
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/pkcs1/
A Dpkcs_1_oaep_decode.c89 XMEMCPY(seed, msg + x, hLen); in pkcs_1_oaep_decode()
93 XMEMCPY(DB, msg + x, modulus_len - hLen - 1); in pkcs_1_oaep_decode()
154 XMEMCPY(out, DB + x, modulus_len - hLen - 1 - x); in pkcs_1_oaep_decode()
A Dpkcs_1_oaep_encode.c99 XMEMCPY(DB+x, msg, msglen); in pkcs_1_oaep_encode()
138 XMEMCPY(out+x, seed, hLen); in pkcs_1_oaep_encode()
140 XMEMCPY(out+x, DB, modulus_len - hLen - 1); in pkcs_1_oaep_encode()
A Dpkcs_1_pss_encode.c110 XMEMCPY(DB + x, salt, saltlen); in pkcs_1_pss_encode()
132 XMEMCPY(out + y, DB, modulus_len - hLen - 1); in pkcs_1_pss_encode()
136 XMEMCPY(out + y, hash, hLen); in pkcs_1_pss_encode()
/optee_os-3.20.0/core/lib/libtomcrypt/src/hashes/
A Dmd2.c122 XMEMCPY(md->md2.buf + md->md2.curlen, in, (size_t)n); in md2_process()
166 XMEMCPY(md->md2.buf, md->md2.chksum, 16); in md2_done()
170 XMEMCPY(out, md->md2.X, 16); in md2_done()
/optee_os-3.20.0/core/lib/libtomcrypt/src/modes/cbc/
A Dcbc_setiv.c27 XMEMCPY(cbc->IV, IV, len); in cbc_setiv()
A Dcbc_getiv.c28 XMEMCPY(IV, cbc->IV, cbc->blocklen); in cbc_getiv()
/optee_os-3.20.0/core/lib/libtomcrypt/src/encauth/ocb3/
A Docb3_add_aad.c58 XMEMCPY(ocb->adata_buffer+ocb->adata_buffer_bytes, aad, l); in ocb3_add_aad()
89 XMEMCPY(ocb->adata_buffer, data+full_blocks_len, last_block_len); in ocb3_add_aad()
/optee_os-3.20.0/core/lib/libtomcrypt/src/modes/cfb/
A Dcfb_getiv.c28 XMEMCPY(IV, cfb->IV, cfb->blocklen); in cfb_getiv()
/optee_os-3.20.0/core/lib/libtomcrypt/src/modes/ctr/
A Dctr_getiv.c28 XMEMCPY(IV, ctr->ctr, ctr->blocklen); in ctr_getiv()
A Dctr_setiv.c36 XMEMCPY(ctr->ctr, IV, len); in ctr_setiv()
/optee_os-3.20.0/core/lib/libtomcrypt/src/modes/ofb/
A Dofb_getiv.c28 XMEMCPY(IV, ofb->IV, ofb->blocklen); in ofb_getiv()
/optee_os-3.20.0/core/lib/libtomcrypt/src/modes/f8/
A Df8_getiv.c28 XMEMCPY(IV, f8->IV, f8->blocklen); in f8_getiv()

Completed in 16 milliseconds

1234