/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/ec25519/ |
A D | ec25519_crypto_ctx.c | 23 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 D | ec25519_export.c | 67 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 D | lrw_setiv.c | 38 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 D | lrw_getiv.c | 29 XMEMCPY(IV, lrw->IV, 16); in lrw_getiv()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/headers/ |
A D | tomcrypt_macros.h | 58 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 D | ltc_ecc_export_point.c | 28 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 D | x25519_import_raw.c | 28 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 D | ed25519_import_raw.c | 28 XMEMCPY(key->priv, in, sizeof(key->priv)); in ed25519_import_raw() 31 XMEMCPY(key->pub, in, sizeof(key->pub)); in ed25519_import_raw()
|
A D | ed25519_verify.c | 38 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 D | xts_test.c | 26 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 D | gcm_mult_h.c | 29 XMEMCPY(T, &gcm->PC[0][I[0]][0], 16); in gcm_mult_h() 45 XMEMCPY(I, T, 16); in gcm_mult_h()
|
A D | gcm_add_aad.c | 64 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 D | xcbc_init.c | 50 XMEMCPY(xcbc->K[0], key, k1); in xcbc_init() 51 XMEMCPY(xcbc->K[1], key+k1, cipher_descriptor[cipher]->block_length); in xcbc_init() 52 …XMEMCPY(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 D | pkcs_1_oaep_decode.c | 89 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 D | pkcs_1_oaep_encode.c | 99 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 D | pkcs_1_pss_encode.c | 110 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 D | md2.c | 122 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 D | cbc_setiv.c | 27 XMEMCPY(cbc->IV, IV, len); in cbc_setiv()
|
A D | cbc_getiv.c | 28 XMEMCPY(IV, cbc->IV, cbc->blocklen); in cbc_getiv()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/encauth/ocb3/ |
A D | ocb3_add_aad.c | 58 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 D | cfb_getiv.c | 28 XMEMCPY(IV, cfb->IV, cfb->blocklen); in cfb_getiv()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/modes/ctr/ |
A D | ctr_getiv.c | 28 XMEMCPY(IV, ctr->ctr, ctr->blocklen); in ctr_getiv()
|
A D | ctr_setiv.c | 36 XMEMCPY(ctr->ctr, IV, len); in ctr_setiv()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/modes/ofb/ |
A D | ofb_getiv.c | 28 XMEMCPY(IV, ofb->IV, ofb->blocklen); in ofb_getiv()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/modes/f8/ |
A D | f8_getiv.c | 28 XMEMCPY(IV, f8->IV, f8->blocklen); in f8_getiv()
|