Searched refs:rta (Results 1 – 4 of 4) sorted by relevance
43 if (cfg01.s.rta) { in octeon_pci_poll()45 cfg01.s.rta = 1; /* Reset */ in octeon_pci_poll()
843 struct rtattr *rta = (void *)key; in otx_cpt_aead_cbc_aes_sha_setkey() local846 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() local904 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 …]
898 struct rtattr *rta = (void *)key; in otx2_cpt_aead_cbc_aes_sha_setkey() local900 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() local952 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 …]
2395 struct rtattr *rta; in crypt_copy_authenckey() local2397 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()