Lines Matching refs:protkey
82 u8 *protkey, u32 *protkeylen, u32 *protkeytype) in pckmo_clr2protkey() argument
207 memcpy(protkey, paramblock, *protkeylen); in pckmo_clr2protkey()
221 static int pckmo_verify_protkey(const u8 *protkey, u32 protkeylen, in pckmo_verify_protkey() argument
261 memcpy(param.key, protkey, protkeylen); in pckmo_verify_protkey()
279 u8 *protkey, u32 *protkeylen, u32 *protkeytype) in pckmo_key2protkey() argument
301 rc = pckmo_verify_protkey(t->protkey, t->len, in pckmo_key2protkey()
324 memcpy(protkey, t->protkey, 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()
447 get_random_bytes(protkey, keysize); in pckmo_gen_protkey()
475 rc = pckmo_verify_protkey(t->protkey, t->len, t->keytype); in pckmo_verify_key()
496 u8 *protkey, u32 *protkeylen, u32 *keyinfo) in pkey_pckmo_key2protkey() argument
499 protkey, protkeylen, keyinfo); in pkey_pckmo_key2protkey()