You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, in uadk_cipher.c, there is a checking about the underlining hardware platform (Kunpeng920 or Kunpeng930). From a software design view point, such hardware platform checking should be done in lower layers, such as UADK layer. And in UADK Engine, only the available cipher methods are registered.
Refer to uadk_cipher.c
cipher_920_nids[]
cipher_930_nids[]
static int uadk_get_accel_platform(char *alg_name)
{
struct uacce_dev *dev;
dev = wd_get_accel_dev("cipher");
if (dev == NULL)
return 0;
if (!strcmp(dev->api, "hisi_qm_v2"))
platform = KUNPENG920;
else
platform = KUNPENG930;
free(dev);
return 1;
}
The text was updated successfully, but these errors were encountered:
Currently, in uadk_cipher.c, there is a checking about the underlining hardware platform (Kunpeng920 or Kunpeng930). From a software design view point, such hardware platform checking should be done in lower layers, such as UADK layer. And in UADK Engine, only the available cipher methods are registered.
Refer to uadk_cipher.c
The text was updated successfully, but these errors were encountered: