Lines Matching refs:protkeylen
82 u8 *protkey, u32 *protkeylen, u32 *protkeytype) in pckmo_clr2protkey() argument
176 if (*protkeylen < keysize + AES_WK_VP_SIZE) { in pckmo_clr2protkey()
178 __func__, *protkeylen, keysize + AES_WK_VP_SIZE); in pckmo_clr2protkey()
206 *protkeylen = keysize + AES_WK_VP_SIZE; in pckmo_clr2protkey()
207 memcpy(protkey, paramblock, *protkeylen); in pckmo_clr2protkey()
221 static int pckmo_verify_protkey(const u8 *protkey, u32 protkeylen, in pckmo_verify_protkey() argument
252 if (protkeylen != pkeylen) { in pckmo_verify_protkey()
254 __func__, protkeylen, protkeytype); in pckmo_verify_protkey()
261 memcpy(param.key, protkey, protkeylen); in pckmo_verify_protkey()
279 u8 *protkey, u32 *protkeylen, u32 *protkeytype) in pckmo_key2protkey() argument
325 *protkeylen = t->len; in pckmo_key2protkey()
384 protkey, protkeylen, protkeytype); in pckmo_key2protkey()
404 u8 *protkey, u32 *protkeylen, u32 *protkeytype) in pckmo_gen_protkey() argument
442 protkey, protkeylen, protkeytype); in pckmo_gen_protkey()
496 u8 *protkey, u32 *protkeylen, u32 *keyinfo) in pkey_pckmo_key2protkey() argument
499 protkey, protkeylen, keyinfo); in pkey_pckmo_key2protkey()