Home
last modified time | relevance | path

Searched refs:rta (Results 1 – 4 of 4) sorted by relevance

/drivers/edac/
Docteon_edac-pci.c43 if (cfg01.s.rta) { in octeon_pci_poll()
45 cfg01.s.rta = 1; /* Reset */ in octeon_pci_poll()
/drivers/crypto/marvell/octeontx/
Dotx_cptvf_algs.c843 struct rtattr *rta = (void *)key; in otx_cpt_aead_cbc_aes_sha_setkey() local
846 if (!RTA_OK(rta, keylen)) in otx_cpt_aead_cbc_aes_sha_setkey()
849 if (rta->rta_type != CRYPTO_AUTHENC_KEYA_PARAM) in otx_cpt_aead_cbc_aes_sha_setkey()
852 if (RTA_PAYLOAD(rta) < sizeof(*param)) in otx_cpt_aead_cbc_aes_sha_setkey()
855 param = RTA_DATA(rta); in otx_cpt_aead_cbc_aes_sha_setkey()
857 key += RTA_ALIGN(rta->rta_len); in otx_cpt_aead_cbc_aes_sha_setkey()
858 keylen -= RTA_ALIGN(rta->rta_len); in otx_cpt_aead_cbc_aes_sha_setkey()
901 struct rtattr *rta = (void *)key; in otx_cpt_aead_ecb_null_sha_setkey() local
904 if (!RTA_OK(rta, keylen)) in otx_cpt_aead_ecb_null_sha_setkey()
907 if (rta->rta_type != CRYPTO_AUTHENC_KEYA_PARAM) in otx_cpt_aead_ecb_null_sha_setkey()
[all …]
/drivers/crypto/marvell/octeontx2/
Dotx2_cptvf_algs.c898 struct rtattr *rta = (void *)key; in otx2_cpt_aead_cbc_aes_sha_setkey() local
900 if (!RTA_OK(rta, keylen)) in otx2_cpt_aead_cbc_aes_sha_setkey()
903 if (rta->rta_type != CRYPTO_AUTHENC_KEYA_PARAM) in otx2_cpt_aead_cbc_aes_sha_setkey()
906 if (RTA_PAYLOAD(rta) < sizeof(*param)) in otx2_cpt_aead_cbc_aes_sha_setkey()
909 param = RTA_DATA(rta); in otx2_cpt_aead_cbc_aes_sha_setkey()
911 key += RTA_ALIGN(rta->rta_len); in otx2_cpt_aead_cbc_aes_sha_setkey()
912 keylen -= RTA_ALIGN(rta->rta_len); in otx2_cpt_aead_cbc_aes_sha_setkey()
949 struct rtattr *rta = (void *)key; in otx2_cpt_aead_ecb_null_sha_setkey() local
952 if (!RTA_OK(rta, keylen)) in otx2_cpt_aead_ecb_null_sha_setkey()
955 if (rta->rta_type != CRYPTO_AUTHENC_KEYA_PARAM) in otx2_cpt_aead_ecb_null_sha_setkey()
[all …]
/drivers/md/
Ddm-crypt.c2395 struct rtattr *rta; in crypt_copy_authenckey() local
2397 rta = (struct rtattr *)p; in crypt_copy_authenckey()
2398 param = RTA_DATA(rta); in crypt_copy_authenckey()
2400 rta->rta_len = RTA_LENGTH(sizeof(*param)); in crypt_copy_authenckey()
2401 rta->rta_type = CRYPTO_AUTHENC_KEYA_PARAM; in crypt_copy_authenckey()