Searched refs:orig (Results 1 – 8 of 8) sorted by relevance
/optee_os/core/drivers/crypto/caam/utils/ |
A D | utils_dmaobj.c | 76 uint8_t *orig; member 184 sgtdata->orig = 0; in add_sgtdata_entry() 213 orig->length); in dmalist_add_entry_head() 237 orig->length); in dmalist_add_entry() 678 ret = check_buffer_boundary(obj, &obj->orig, obj->orig.length); in caam_dmaobj_init_input() 877 if (sgtdata->orig != sgtdata->dma && sgtdata->orig) { in caam_dmaobj_copy_to_orig() 914 if (!sgtdata->orig) in caam_dmaobj_copy_ltrim_to_orig() 927 dst = obj->orig.data; in caam_dmaobj_copy_ltrim_to_orig() 948 if (!sgtdata->orig) in caam_dmaobj_copy_ltrim_to_orig() 986 obj->orig.data, obj->orig.length); in caam_dmaobj_free() [all …]
|
/optee_os/core/drivers/crypto/caam/cipher/ |
A D | caam_cipher_xts.c | 58 tmp->orig.data[idx] = srcbuf->data[idx] ^ enc_tweak->data[idx]; in do_tweak_block() 69 dstbuf->data[idx] = tmp->orig.data[idx] ^ enc_tweak->data[idx]; in do_tweak_block() 167 ret = do_tweak_block(ctx, &enc_tweak.orig, &srcbuf, &dstbuf, in caam_cipher_update_xts() 203 memcpy(tmpsrc.data, enc_tweak.orig.data, in caam_cipher_update_xts() 204 enc_tweak.orig.length); in caam_cipher_update_xts() 208 &tmpdst.orig, &tmpdst); in caam_cipher_update_xts() 210 ret = do_tweak_block(ctx, &enc_tweak.orig, &srcbuf, in caam_cipher_update_xts() 211 &tmpdst.orig, &tmpdst); in caam_cipher_update_xts() 224 tmpdst.orig.data[idx]; in caam_cipher_update_xts() 228 tmpsrc.data[idx] = tmpdst.orig.data[idx]; in caam_cipher_update_xts() [all …]
|
/optee_os/core/lib/libtomcrypt/src/encauth/gcm/ |
A D | gcm_memory.c | 45 void *orig; in gcm_memory() local 67 orig = gcm = XMALLOC(sizeof(*gcm)); in gcm_memory() 69 orig = gcm = XMALLOC(sizeof(*gcm) + 16); in gcm_memory() 116 XFREE(orig); in gcm_memory()
|
/optee_os/core/lib/libtomcrypt/src/modes/xts/ |
A D | xts_test.c | 20 int (*orig)(const unsigned char *, unsigned char *, in _xts_test_accel_xts_encrypt() local 30 orig = cipher_descriptor[xts.cipher]->accel_xts_encrypt; in _xts_test_accel_xts_encrypt() 37 cipher_descriptor[xts.cipher]->accel_xts_encrypt = orig; in _xts_test_accel_xts_encrypt() 47 int (*orig)(const unsigned char *, unsigned char *, in _xts_test_accel_xts_decrypt() local 57 orig = cipher_descriptor[xts.cipher]->accel_xts_decrypt; in _xts_test_accel_xts_decrypt() 64 cipher_descriptor[xts.cipher]->accel_xts_decrypt = orig; in _xts_test_accel_xts_decrypt()
|
/optee_os/core/drivers/crypto/caam/include/ |
A D | caam_utils_dmaobj.h | 22 struct caambuf orig; member
|
/optee_os/core/drivers/crypto/caam/acipher/ |
A D | caam_ecc.c | 431 sign_c.orig.length = 2 * sdata->size_sec; in do_sign()
|
A D | caam_rsa.c | 1459 msg.orig.length = caam_read_val32(size_msg.data); in do_caam_decrypt() 1460 RSA_TRACE("New length %zu", msg.orig.length); in do_caam_decrypt()
|
A D | caam_dsa.c | 594 sign_c.orig.length = 2 * sdata->size_sec; in do_sign()
|
Completed in 18 milliseconds