Home
last modified time | relevance | path

Searched refs:hmac_mode (Results 1 – 3 of 3) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/crypto/rockchip/cryptodev_linux/
H A Dioctl.c115 int hmac_mode = 1, stream = 0, aead = 0; in crypto_create_session() local
219 hmac_mode = 0; in crypto_create_session()
223 hmac_mode = 0; in crypto_create_session()
227 hmac_mode = 0; in crypto_create_session()
231 hmac_mode = 0; in crypto_create_session()
235 hmac_mode = 0; in crypto_create_session()
239 hmac_mode = 0; in crypto_create_session()
243 hmac_mode = 0; in crypto_create_session()
246 hash_name = rk_get_hash_name(sop->mac, &hmac_mode); in crypto_create_session()
296 ret = cryptodev_hash_init(&ses_new->hdata, hash_name, hmac_mode, in crypto_create_session()
H A Dcryptlib.h105 int hmac_mode, void *mackey, size_t mackeylen);
H A Dcryptlib.c353 int hmac_mode, void *mackey, size_t mackeylen) in cryptodev_hash_init() argument
364 if (hmac_mode != 0) { in cryptodev_hash_init()