Home
last modified time | relevance | path

Searched refs:HPRE_X_KEY_SIZE (Results 1 – 2 of 2) sorted by relevance

/optee_os/core/drivers/crypto/hisilicon/
H A Dhpre_montgomery.h18 #define HPRE_X_KEY_SIZE(hsz) ((hsz) * HPRE_X_KEY_PARAM_NUM) macro
H A Dhpre_montgomery.c154 msg->in = msg->key + HPRE_X_KEY_SIZE(msg->key_bytes); in hpre_montgomery_params_alloc()
155 msg->in_dma = msg->key_dma + HPRE_X_KEY_SIZE(msg->key_bytes); in hpre_montgomery_params_alloc()
165 memzero_explicit(msg->key, HPRE_X_KEY_SIZE(msg->key_bytes)); in hpre_montgomery_params_free()