Lines Matching refs:protlen
112 u32 protlen, prottype; in pkey_protkey_aes_xts_attr_read() local
117 protlen = 64; in pkey_protkey_aes_xts_attr_read()
120 protlen = 96; in pkey_protkey_aes_xts_attr_read()
126 if (off != 0 || count < sizeof(*t) + protlen) in pkey_protkey_aes_xts_attr_read()
129 memset(t, 0, sizeof(*t) + protlen); in pkey_protkey_aes_xts_attr_read()
135 t->protkey, &protlen, &prottype); in pkey_protkey_aes_xts_attr_read()
139 t->len = protlen; in pkey_protkey_aes_xts_attr_read()
141 return sizeof(*t) + protlen; in pkey_protkey_aes_xts_attr_read()
154 u32 protlen, prottype; in pkey_protkey_hmac_attr_read() local
159 protlen = 96; in pkey_protkey_hmac_attr_read()
162 protlen = 160; in pkey_protkey_hmac_attr_read()
168 if (off != 0 || count < sizeof(*t) + protlen) in pkey_protkey_hmac_attr_read()
171 memset(t, 0, sizeof(*t) + protlen); in pkey_protkey_hmac_attr_read()
177 t->protkey, &protlen, &prottype); in pkey_protkey_hmac_attr_read()
181 t->len = protlen; in pkey_protkey_hmac_attr_read()
183 return sizeof(*t) + protlen; in pkey_protkey_hmac_attr_read()