Searched refs:data_sz (Results 1 – 3 of 3) sorted by relevance
/optee_os-3.20.0/ta/pkcs11/src/ |
A D | processing.h | 140 void *data, uint32_t data_sz, 144 uint32_t data_sz, void **out_buf, 169 void *data, uint32_t data_sz, 173 uint32_t data_sz, void **out_buf,
|
A D | processing_symm.c | 1031 void *data, uint32_t data_sz, in wrap_data_by_symm_enc() argument 1038 uint32_t in_sz = data_sz; in wrap_data_by_symm_enc() 1045 align = data_sz % TEE_AES_BLOCK_SIZE; in wrap_data_by_symm_enc() 1047 in_sz = data_sz + (TEE_AES_BLOCK_SIZE - align); in wrap_data_by_symm_enc() 1055 if (data_sz > TEE_AES_BLOCK_SIZE) { in wrap_data_by_symm_enc() 1056 in_sz = data_sz - align; in wrap_data_by_symm_enc() 1079 in_sz = data_sz; in wrap_data_by_symm_enc() 1102 uint32_t data_sz, void **out_buf, in unwrap_key_by_symm() argument 1108 if (input_data_size_is_valid(proc, PKCS11_FUNCTION_DECRYPT, data_sz)) in unwrap_key_by_symm() 1115 res = TEE_CipherDoFinal(proc->tee_op_handle, data, data_sz, in unwrap_key_by_symm() [all …]
|
A D | processing_asymm.c | 942 void *data, uint32_t data_sz, in wrap_rsa_aes_key() argument 968 expected_size = aes_wrapped_size + data_sz + kw_semiblock_len; in wrap_rsa_aes_key() 996 data, data_sz, in wrap_rsa_aes_key() 1015 void *data, uint32_t data_sz, in unwrap_rsa_aes_key() argument 1037 wrapped_key_size = data_sz - rsa_key_size; in unwrap_rsa_aes_key() 1079 void *data, uint32_t data_sz, in wrap_data_by_asymm_enc() argument 1087 rc = wrap_rsa_aes_key(proc, data, data_sz, out_buf, out_sz); in wrap_data_by_asymm_enc() 1097 void *data, uint32_t data_sz, in unwrap_key_by_asymm() argument 1105 rc = unwrap_rsa_aes_key(proc, data, data_sz, out_buf, out_sz); in unwrap_key_by_asymm()
|
Completed in 7 milliseconds